1
0
Fork 0

Merging upstream version 26.28.1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-06-15 10:36:04 +02:00
parent 893214206a
commit c79efa667c
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
96 changed files with 58442 additions and 56422 deletions

View file

@ -89,6 +89,20 @@ class TestMySQL(Validator):
self.validate_identity(
"CREATE TABLE test_table (id INT AUTO_INCREMENT, PRIMARY KEY (id) USING HASH)"
)
self.validate_identity(
"CREATE TABLE test (a INT, b INT GENERATED ALWAYS AS (a + a) STORED)"
)
self.validate_identity(
"CREATE TABLE test (a INT, b INT GENERATED ALWAYS AS (a + a) VIRTUAL)"
)
self.validate_identity(
"CREATE TABLE test (a INT, b INT AS (a + a) STORED)",
"CREATE TABLE test (a INT, b INT GENERATED ALWAYS AS (a + a) STORED)",
)
self.validate_identity(
"CREATE TABLE test (a INT, b INT AS (a + a) VIRTUAL)",
"CREATE TABLE test (a INT, b INT GENERATED ALWAYS AS (a + a) VIRTUAL)",
)
self.validate_identity(
"/*left*/ EXPLAIN SELECT /*hint*/ col FROM t1 /*right*/",
"/* left */ DESCRIBE /* hint */ SELECT col FROM t1 /* right */",