Skip to content

Commit 92c11c2

Browse files
committed
pre-commit
1 parent f26afeb commit 92c11c2

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

sqlglot/dialects/mysql.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,6 @@ class Generator(generator.Generator):
756756
VARCHAR_REQUIRES_SIZE = True
757757
SUPPORTS_MEDIAN = False
758758

759-
760759
def chr_sql(self, expression: exp.Chr) -> str:
761760
this = self.expressions(sqls=[expression.this] + expression.expressions)
762761
charset = expression.args.get("charset")
@@ -1312,8 +1311,6 @@ def _oldstyle_limit_sql(self, expression: exp.Show) -> str:
13121311
return f" LIMIT {limit_offset}"
13131312
return ""
13141313

1315-
1316-
13171314
def timestamptrunc_sql(self, expression: exp.TimestampTrunc) -> str:
13181315
unit = expression.args.get("unit")
13191316

sqlglot/dialects/singlestore.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,6 @@ def _unicode_substitute(m: re.Match[str]) -> str:
342342
exp.JSONPathSubscript,
343343
}
344344

345-
346345
TRANSFORMS = {
347346
**MySQL.Generator.TRANSFORMS,
348347
# exp.Chr set below to ensure override

0 commit comments

Comments
 (0)