diff options
Diffstat (limited to 'tests/dialects/test_mysql.py')
-rw-r--r-- | tests/dialects/test_mysql.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/dialects/test_mysql.py b/tests/dialects/test_mysql.py index 591b5dd..fdb7e91 100644 --- a/tests/dialects/test_mysql.py +++ b/tests/dialects/test_mysql.py @@ -222,6 +222,9 @@ class TestMySQL(Validator): self.validate_identity("CHAR(77, 121, 83, 81, '76')") self.validate_identity("CHAR(77, 77.3, '77.3' USING utf8mb4)") self.validate_identity("SELECT * FROM t1 PARTITION(p0)") + self.validate_identity("SELECT @var1 := 1, @var2") + self.validate_identity("SELECT @var1, @var2 := @var1") + self.validate_identity("SELECT @var1 := COUNT(*) FROM t1") def test_types(self): for char_type in MySQL.Generator.CHAR_CAST_MAPPING: |