summaryrefslogtreecommitdiffstats
path: root/tests/dialects/test_mysql.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-11-30 08:52:04 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-11-30 08:52:04 +0000
commit039c84b803ab8cc2705435763255ceb8ff05d6e9 (patch)
tree9688bff8e7d42f3e4cd328fc0dd12ffc920a83e6 /tests/dialects/test_mysql.py
parentReleasing debian version 25.32.0-1. (diff)
downloadsqlglot-039c84b803ab8cc2705435763255ceb8ff05d6e9.tar.xz
sqlglot-039c84b803ab8cc2705435763255ceb8ff05d6e9.zip
Merging upstream version 25.32.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--tests/dialects/test_mysql.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/dialects/test_mysql.py b/tests/dialects/test_mysql.py
index fd6b36f..9e5b74e 100644
--- a/tests/dialects/test_mysql.py
+++ b/tests/dialects/test_mysql.py
@@ -119,6 +119,13 @@ class TestMySQL(Validator):
)
self.validate_all(
+ "insert into t(i) values (default)",
+ write={
+ "duckdb": "INSERT INTO t (i) VALUES (DEFAULT)",
+ "mysql": "INSERT INTO t (i) VALUES (DEFAULT)",
+ },
+ )
+ self.validate_all(
"CREATE TABLE t (id INT UNSIGNED)",
write={
"duckdb": "CREATE TABLE t (id UINTEGER)",