diff --git a/Qsi.Tests/Vendor/MySql/Driver/MySqlRepositoryProvider.cs b/Qsi.Tests/Vendor/MySql/Driver/MySqlRepositoryProvider.cs index c5ef579d..5523bc89 100644 --- a/Qsi.Tests/Vendor/MySql/Driver/MySqlRepositoryProvider.cs +++ b/Qsi.Tests/Vendor/MySql/Driver/MySqlRepositoryProvider.cs @@ -77,7 +77,7 @@ from information_schema.COLUMNS column.IsNullable = reader.GetString(1) == "YES"; column.Default = isAutoIncrement - ? "" + ? "AUTO_INCREMENT" : reader.IsDBNull(2) ? null : reader.GetString(2); diff --git a/Qsi.Tests/Vendor/MySql/MySqlTest.Data.cs b/Qsi.Tests/Vendor/MySql/MySqlTest.Data.cs index 3c9ad401..e089e175 100644 --- a/Qsi.Tests/Vendor/MySql/MySqlTest.Data.cs +++ b/Qsi.Tests/Vendor/MySql/MySqlTest.Data.cs @@ -53,7 +53,7 @@ public partial class MySqlTest new("INSERT INTO actor SELECT 1, 'MORRIS', 'BABO', null"), - new("INSERT INTO actor (actor_id, last_name) SELECT city_id, city FROM city LIMIT 2"), + new("INSERT INTO actor (actor_id, first_name, last_name) SELECT city_id, city, city FROM city LIMIT 2"), new("UPDATE actor SET first_name = 'MORRIS', last_name = 'BABO' WHERE actor_id = 1"), diff --git a/Qsi.Tests/Vendor/MySql/MySqlTest.cs b/Qsi.Tests/Vendor/MySql/MySqlTest.cs index 5139d47c..7100218b 100644 --- a/Qsi.Tests/Vendor/MySql/MySqlTest.cs +++ b/Qsi.Tests/Vendor/MySql/MySqlTest.cs @@ -165,13 +165,13 @@ public async Task Test_SELECT_ColumnNames(string sql) } [TestCase("INSERT INTO actor VALUES (1, 2, 3, 4), (5, 6, 7, 8)", new string[0], 1)] - [TestCase("INSERT INTO actor (actor_id) VALUES (1)", new string[0], 1)] - [TestCase("INSERT INTO actor (actor_id, last_name) SELECT city_id, city FROM city", new[] { "SELECT city_id, city FROM city" }, 1)] + [TestCase("INSERT INTO actor (first_name, last_name) VALUES ('a', 'b')", new string[0], 1)] + [TestCase("INSERT INTO actor (actor_id, first_name, last_name) SELECT city_id, city, city FROM city", new[] { "SELECT city_id, city, city FROM city" }, 1)] [TestCase("INSERT INTO actor SELECT * FROM actor LIMIT 0", new[] { "SELECT * FROM actor LIMIT 0" }, 1)] [TestCase("INSERT INTO actor SELECT * FROM actor LIMIT 1", new[] { "SELECT * FROM actor LIMIT 1" }, 1)] [TestCase("INSERT INTO actor SELECT * FROM actor LIMIT 2", new[] { "SELECT * FROM actor LIMIT 2" }, 1)] - [TestCase("INSERT INTO actor SET actor_id = 1", new string[0], 1)] - [TestCase("INSERT INTO actor SET actor.actor_id = 1", new string[0], 1)] + [TestCase("INSERT INTO actor SET first_name = 'a', last_name = 'b'", new string[0], 1)] + [TestCase("INSERT INTO actor SET actor.first_name = 'a', actor.last_name = 'b'", new string[0], 1)] [TestCase("INSERT INTO actor VALUES (1, 2, 3, 4) ON DUPLICATE KEY UPDATE last_update = now()", new string[0], 1)] public async Task Test_INSERT(string sql, string[] expectedSqls, int expectedResultCount) { diff --git a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_Print_BindParam_sql=INSERT INTO actor (first_name, last_name) VALUES (-, -)_parameters=System.Object[].verified.txt b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_Print_BindParam_sql=INSERT INTO actor (first_name, last_name) VALUES (-, -)_parameters=System.Object[].verified.txt index b55d6532..8df1c8c5 100644 --- a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_Print_BindParam_sql=INSERT INTO actor (first_name, last_name) VALUES (-, -)_parameters=System.Object[].verified.txt +++ b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_Print_BindParam_sql=INSERT INTO actor (first_name, last_name) VALUES (-, -)_parameters=System.Object[].verified.txt @@ -1,8 +1,8 @@  -+-------------------------------------------------+ -| qsi_unit_tests.actor - INSERT | -+----------+------------+-----------+-------------+ -| actor_id | first_name | last_name | last_update | -+----------+------------+-----------+-------------+ -| default | MORRIS | BABO | default | -+-------------------------------------------------+ ++-------------------------------------------------------------+ +| qsi_unit_tests.actor - INSERT | ++----------------+------------+-----------+-------------------+ +| actor_id | first_name | last_name | last_update | ++----------------+------------+-----------+-------------------+ +| AUTO_INCREMENT | MORRIS | BABO | CURRENT_TIMESTAMP | ++-------------------------------------------------------------+ diff --git a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_Print_BindParam_sql=INSERT INTO actor SET first_name = -, last_name = -_parameters=System.Object[].verified.txt b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_Print_BindParam_sql=INSERT INTO actor SET first_name = -, last_name = -_parameters=System.Object[].verified.txt index b55d6532..8df1c8c5 100644 --- a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_Print_BindParam_sql=INSERT INTO actor SET first_name = -, last_name = -_parameters=System.Object[].verified.txt +++ b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_Print_BindParam_sql=INSERT INTO actor SET first_name = -, last_name = -_parameters=System.Object[].verified.txt @@ -1,8 +1,8 @@  -+-------------------------------------------------+ -| qsi_unit_tests.actor - INSERT | -+----------+------------+-----------+-------------+ -| actor_id | first_name | last_name | last_update | -+----------+------------+-----------+-------------+ -| default | MORRIS | BABO | default | -+-------------------------------------------------+ ++-------------------------------------------------------------+ +| qsi_unit_tests.actor - INSERT | ++----------------+------------+-----------+-------------------+ +| actor_id | first_name | last_name | last_update | ++----------------+------------+-----------+-------------------+ +| AUTO_INCREMENT | MORRIS | BABO | CURRENT_TIMESTAMP | ++-------------------------------------------------------------+ diff --git a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_Print_sql=INSERT INTO actor (actor_id, first_name, last_name) SELECT city_id, city, city FROM city LIMIT 2.verified.txt b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_Print_sql=INSERT INTO actor (actor_id, first_name, last_name) SELECT city_id, city, city FROM city LIMIT 2.verified.txt new file mode 100644 index 00000000..c862a413 --- /dev/null +++ b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_Print_sql=INSERT INTO actor (actor_id, first_name, last_name) SELECT city_id, city, city FROM city LIMIT 2.verified.txt @@ -0,0 +1,9 @@ + ++------------------------------------------------------------------------+ +| qsi_unit_tests.actor - INSERT | ++----------+--------------------+--------------------+-------------------+ +| actor_id | first_name | last_name | last_update | ++----------+--------------------+--------------------+-------------------+ +| 1 | A Corua (La Corua) | A Corua (La Corua) | CURRENT_TIMESTAMP | +| 2 | Abha | Abha | CURRENT_TIMESTAMP | ++------------------------------------------------------------------------+ diff --git a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_Print_sql=INSERT INTO actor (actor_id, last_name) SELECT city_id, city FROM city LIMIT 2.verified.txt b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_Print_sql=INSERT INTO actor (actor_id, last_name) SELECT city_id, city FROM city LIMIT 2.verified.txt deleted file mode 100644 index 92461135..00000000 --- a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_Print_sql=INSERT INTO actor (actor_id, last_name) SELECT city_id, city FROM city LIMIT 2.verified.txt +++ /dev/null @@ -1,9 +0,0 @@ - -+----------------------------------------------------------+ -| qsi_unit_tests.actor - INSERT | -+----------+------------+--------------------+-------------+ -| actor_id | first_name | last_name | last_update | -+----------+------------+--------------------+-------------+ -| 1 | default | A Corua (La Corua) | default | -| 2 | default | Abha | default | -+----------------------------------------------------------+ diff --git a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_Print_sql=INSERT INTO actor (first_name, last_name) VALUES ('MORRIS', 'BABO').verified.txt b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_Print_sql=INSERT INTO actor (first_name, last_name) VALUES ('MORRIS', 'BABO').verified.txt index b55d6532..8df1c8c5 100644 --- a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_Print_sql=INSERT INTO actor (first_name, last_name) VALUES ('MORRIS', 'BABO').verified.txt +++ b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_Print_sql=INSERT INTO actor (first_name, last_name) VALUES ('MORRIS', 'BABO').verified.txt @@ -1,8 +1,8 @@  -+-------------------------------------------------+ -| qsi_unit_tests.actor - INSERT | -+----------+------------+-----------+-------------+ -| actor_id | first_name | last_name | last_update | -+----------+------------+-----------+-------------+ -| default | MORRIS | BABO | default | -+-------------------------------------------------+ ++-------------------------------------------------------------+ +| qsi_unit_tests.actor - INSERT | ++----------------+------------+-----------+-------------------+ +| actor_id | first_name | last_name | last_update | ++----------------+------------+-----------+-------------------+ +| AUTO_INCREMENT | MORRIS | BABO | CURRENT_TIMESTAMP | ++-------------------------------------------------------------+ diff --git a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_Print_sql=INSERT INTO actor SET first_name = 'MORRIS', last_name = 'BABO'.verified.txt b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_Print_sql=INSERT INTO actor SET first_name = 'MORRIS', last_name = 'BABO'.verified.txt index b55d6532..8df1c8c5 100644 --- a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_Print_sql=INSERT INTO actor SET first_name = 'MORRIS', last_name = 'BABO'.verified.txt +++ b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_Print_sql=INSERT INTO actor SET first_name = 'MORRIS', last_name = 'BABO'.verified.txt @@ -1,8 +1,8 @@  -+-------------------------------------------------+ -| qsi_unit_tests.actor - INSERT | -+----------+------------+-----------+-------------+ -| actor_id | first_name | last_name | last_update | -+----------+------------+-----------+-------------+ -| default | MORRIS | BABO | default | -+-------------------------------------------------+ ++-------------------------------------------------------------+ +| qsi_unit_tests.actor - INSERT | ++----------------+------------+-----------+-------------------+ +| actor_id | first_name | last_name | last_update | ++----------------+------------+-----------+-------------------+ +| AUTO_INCREMENT | MORRIS | BABO | CURRENT_TIMESTAMP | ++-------------------------------------------------------------+ diff --git a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT (SELECT a.actor_id FROM actor LIMIT 1) from actor a.verified.txt b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT (SELECT a.actor_id FROM actor LIMIT 1) from actor a.verified.txt index 8011625f..fcc6f53c 100644 --- a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT (SELECT a.actor_id FROM actor LIMIT 1) from actor a.verified.txt +++ b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT (SELECT a.actor_id FROM actor LIMIT 1) from actor a.verified.txt @@ -25,6 +25,7 @@ Parent: $tbl_17, Name: actor_id, IsVisible: true, + Default: AUTO_INCREMENT, RefId: $col_18 }, { @@ -43,6 +44,7 @@ Parent: $tbl_17, Name: last_update, IsVisible: true, + Default: CURRENT_TIMESTAMP, RefId: $col_21 } ], @@ -121,6 +123,7 @@ Parent: $tbl_8, Name: actor_id, IsVisible: true, + Default: AUTO_INCREMENT, RefId: $col_5 }, { @@ -139,6 +142,7 @@ Parent: $tbl_8, Name: last_update, IsVisible: true, + Default: CURRENT_TIMESTAMP, RefId: $col_16 } ], @@ -162,4 +166,4 @@ ], RefId: $tbl_9 } -] +] \ No newline at end of file diff --git a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT (SELECT actor.actor_id FROM city AS actor LIMIT 1) FROM actor.verified.txt b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT (SELECT actor.actor_id FROM city AS actor LIMIT 1) FROM actor.verified.txt index 951ae713..0416d4a2 100644 --- a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT (SELECT actor.actor_id FROM city AS actor LIMIT 1) FROM actor.verified.txt +++ b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT (SELECT actor.actor_id FROM city AS actor LIMIT 1) FROM actor.verified.txt @@ -53,6 +53,7 @@ Parent: $tbl_13, Name: city_id, IsVisible: true, + Default: AUTO_INCREMENT, RefId: $col_15 }, { @@ -71,6 +72,7 @@ Parent: $tbl_13, Name: last_update, IsVisible: true, + Default: CURRENT_TIMESTAMP, RefId: $col_21 } ], @@ -103,6 +105,7 @@ Parent: $tbl_6, Name: actor_id, IsVisible: true, + Default: AUTO_INCREMENT, RefId: $col_4 }, { @@ -121,6 +124,7 @@ Parent: $tbl_6, Name: last_update, IsVisible: true, + Default: CURRENT_TIMESTAMP, RefId: $col_11 } ], @@ -162,4 +166,4 @@ ], RefId: $tbl_8 } -] +] \ No newline at end of file diff --git a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT (SELECT actor_id FROM city LIMIT 1) FROM actor.verified.txt b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT (SELECT actor_id FROM city LIMIT 1) FROM actor.verified.txt index df0e0efc..b0f8033a 100644 --- a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT (SELECT actor_id FROM city LIMIT 1) FROM actor.verified.txt +++ b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT (SELECT actor_id FROM city LIMIT 1) FROM actor.verified.txt @@ -7,6 +7,7 @@ Parent: $tbl_12, Name: city_id, IsVisible: true, + Default: AUTO_INCREMENT, RefId: $col_13 }, { @@ -25,6 +26,7 @@ Parent: $tbl_12, Name: last_update, IsVisible: true, + Default: CURRENT_TIMESTAMP, RefId: $col_16 } ], @@ -57,6 +59,7 @@ Parent: $tbl_6, Name: actor_id, IsVisible: true, + Default: AUTO_INCREMENT, RefId: $col_4 }, { @@ -75,6 +78,7 @@ Parent: $tbl_6, Name: last_update, IsVisible: true, + Default: CURRENT_TIMESTAMP, RefId: $col_11 } ], @@ -116,4 +120,4 @@ ], RefId: $tbl_8 } -] +] \ No newline at end of file diff --git a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT (SELECT actor_id from actor) from actor_info.verified.txt b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT (SELECT actor_id from actor) from actor_info.verified.txt index fd6f6004..7cf32b08 100644 --- a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT (SELECT actor_id from actor) from actor_info.verified.txt +++ b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT (SELECT actor_id from actor) from actor_info.verified.txt @@ -53,6 +53,7 @@ Parent: $tbl_11, Name: actor_id, IsVisible: true, + Default: AUTO_INCREMENT, RefId: $col_72 }, { @@ -71,6 +72,7 @@ Parent: $tbl_11, Name: last_update, IsVisible: true, + Default: CURRENT_TIMESTAMP, RefId: $col_75 } ], @@ -133,6 +135,7 @@ Parent: $tbl_13, Name: last_update, IsVisible: true, + Default: CURRENT_TIMESTAMP, RefId: $col_78 } ], @@ -146,6 +149,7 @@ Parent: $tbl_133, Name: film_id, IsVisible: true, + Default: AUTO_INCREMENT, RefId: $col_135 }, { @@ -182,12 +186,14 @@ Parent: $tbl_133, Name: rental_duration, IsVisible: true, + Default: 3, RefId: $col_145 }, { Parent: $tbl_133, Name: rental_rate, IsVisible: true, + Default: 4.99, RefId: $col_147 }, { @@ -200,12 +206,14 @@ Parent: $tbl_133, Name: replacement_cost, IsVisible: true, + Default: 19.99, RefId: $col_151 }, { Parent: $tbl_133, Name: rating, IsVisible: true, + Default: G, RefId: $col_153 }, { @@ -218,6 +226,7 @@ Parent: $tbl_133, Name: last_update, IsVisible: true, + Default: CURRENT_TIMESTAMP, RefId: $col_157 } ], @@ -280,6 +289,7 @@ Parent: $tbl_15, Name: last_update, IsVisible: true, + Default: CURRENT_TIMESTAMP, RefId: $col_81 } ], @@ -379,6 +389,7 @@ Parent: $tbl_162, Name: last_update, IsVisible: true, + Default: CURRENT_TIMESTAMP, RefId: $col_165 } ], @@ -404,6 +415,7 @@ Parent: $tbl_166, Name: last_update, IsVisible: true, + Default: CURRENT_TIMESTAMP, RefId: $col_169 } ], @@ -417,6 +429,7 @@ Parent: $tbl_17, Name: category_id, IsVisible: true, + Default: AUTO_INCREMENT, RefId: $col_82 }, { @@ -429,6 +442,7 @@ Parent: $tbl_17, Name: last_update, IsVisible: true, + Default: CURRENT_TIMESTAMP, RefId: $col_84 } ], @@ -460,6 +474,7 @@ Parent: $tbl_19, Name: actor_id, IsVisible: true, + Default: AUTO_INCREMENT, RefId: $col_3 }, { @@ -478,6 +493,7 @@ Parent: $tbl_19, Name: last_update, IsVisible: true, + Default: CURRENT_TIMESTAMP, RefId: $col_87 } ], @@ -516,6 +532,7 @@ $col_21 ], IsVisible: true, + Default: 0, RefId: $col_20 }, { diff --git a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT (SELECT actor_id from city) from actor.verified.txt b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT (SELECT actor_id from city) from actor.verified.txt index 5dca9e78..9104c4be 100644 --- a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT (SELECT actor_id from city) from actor.verified.txt +++ b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT (SELECT actor_id from city) from actor.verified.txt @@ -7,6 +7,7 @@ Parent: $tbl_10, Name: city_id, IsVisible: true, + Default: AUTO_INCREMENT, RefId: $col_11 }, { @@ -25,6 +26,7 @@ Parent: $tbl_10, Name: last_update, IsVisible: true, + Default: CURRENT_TIMESTAMP, RefId: $col_14 } ], @@ -57,6 +59,7 @@ Parent: $tbl_5, Name: actor_id, IsVisible: true, + Default: AUTO_INCREMENT, RefId: $col_3 }, { @@ -75,6 +78,7 @@ Parent: $tbl_5, Name: last_update, IsVisible: true, + Default: CURRENT_TIMESTAMP, RefId: $col_9 } ], diff --git a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT (SELECT actor_id) FROM actor.verified.txt b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT (SELECT actor_id) FROM actor.verified.txt index ba247fb4..2f3fe5c4 100644 --- a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT (SELECT actor_id) FROM actor.verified.txt +++ b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT (SELECT actor_id) FROM actor.verified.txt @@ -26,6 +26,7 @@ Parent: $tbl_5, Name: actor_id, IsVisible: true, + Default: AUTO_INCREMENT, RefId: $col_3 }, { @@ -44,6 +45,7 @@ Parent: $tbl_5, Name: last_update, IsVisible: true, + Default: CURRENT_TIMESTAMP, RefId: $col_9 } ], @@ -64,4 +66,4 @@ ], RefId: $tbl_6 } -] +] \ No newline at end of file diff --git a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT (SELECT actor_id, city_id) FROM actor, city.verified.txt b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT (SELECT actor_id, city_id) FROM actor, city.verified.txt index 599eace3..2549efa5 100644 --- a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT (SELECT actor_id, city_id) FROM actor, city.verified.txt +++ b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT (SELECT actor_id, city_id) FROM actor, city.verified.txt @@ -7,6 +7,7 @@ Parent: $tbl_10, Name: actor_id, IsVisible: true, + Default: AUTO_INCREMENT, RefId: $col_4 }, { @@ -25,6 +26,7 @@ Parent: $tbl_10, Name: last_update, IsVisible: true, + Default: CURRENT_TIMESTAMP, RefId: $col_18 } ], @@ -38,6 +40,7 @@ Parent: $tbl_11, Name: city_id, IsVisible: true, + Default: AUTO_INCREMENT, RefId: $col_7 }, { @@ -56,6 +59,7 @@ Parent: $tbl_11, Name: last_update, IsVisible: true, + Default: CURRENT_TIMESTAMP, RefId: $col_24 } ], @@ -187,4 +191,4 @@ ], RefId: $tbl_9 } -] +] \ No newline at end of file diff --git a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT - FROM (SELECT actor_id FROM actor) a.verified.txt b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT - FROM (SELECT actor_id FROM actor) a.verified.txt index d9914aa6..de48d05c 100644 --- a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT - FROM (SELECT actor_id FROM actor) a.verified.txt +++ b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT - FROM (SELECT actor_id FROM actor) a.verified.txt @@ -62,6 +62,7 @@ Parent: $tbl_8, Name: actor_id, IsVisible: true, + Default: AUTO_INCREMENT, RefId: $col_4 }, { @@ -80,9 +81,10 @@ Parent: $tbl_8, Name: last_update, IsVisible: true, + Default: CURRENT_TIMESTAMP, RefId: $col_11 } ], RefId: $tbl_8 } -] +] \ No newline at end of file diff --git a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT - FROM (SELECT actor_id FROM actor, city) ac.verified.txt b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT - FROM (SELECT actor_id FROM actor, city) ac.verified.txt index 6c441f76..3924607a 100644 --- a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT - FROM (SELECT actor_id FROM actor, city) ac.verified.txt +++ b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT - FROM (SELECT actor_id FROM actor, city) ac.verified.txt @@ -7,6 +7,7 @@ Parent: $tbl_10, Name: actor_id, IsVisible: true, + Default: AUTO_INCREMENT, RefId: $col_5 }, { @@ -25,6 +26,7 @@ Parent: $tbl_10, Name: last_update, IsVisible: true, + Default: CURRENT_TIMESTAMP, RefId: $col_17 } ], @@ -38,6 +40,7 @@ Parent: $tbl_11, Name: city_id, IsVisible: true, + Default: AUTO_INCREMENT, RefId: $col_19 }, { @@ -56,6 +59,7 @@ Parent: $tbl_11, Name: last_update, IsVisible: true, + Default: CURRENT_TIMESTAMP, RefId: $col_25 } ], @@ -198,4 +202,4 @@ ], RefId: $tbl_9 } -] +] \ No newline at end of file diff --git a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT - FROM actor UNION SELECT - FROM city.verified.txt b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT - FROM actor UNION SELECT - FROM city.verified.txt index d8bea8b4..b37b2560 100644 --- a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT - FROM actor UNION SELECT - FROM city.verified.txt +++ b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT - FROM actor UNION SELECT - FROM city.verified.txt @@ -102,6 +102,7 @@ Parent: $tbl_23, Name: actor_id, IsVisible: true, + Default: AUTO_INCREMENT, RefId: $col_3 }, { @@ -120,6 +121,7 @@ Parent: $tbl_23, Name: last_update, IsVisible: true, + Default: CURRENT_TIMESTAMP, RefId: $col_18 } ], @@ -178,6 +180,7 @@ Parent: $tbl_25, Name: city_id, IsVisible: true, + Default: AUTO_INCREMENT, RefId: $col_5 }, { @@ -196,9 +199,10 @@ Parent: $tbl_25, Name: last_update, IsVisible: true, + Default: CURRENT_TIMESTAMP, RefId: $col_20 } ], RefId: $tbl_25 } -] +] \ No newline at end of file diff --git a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT - FROM actor a JOIN city c.verified.txt b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT - FROM actor a JOIN city c.verified.txt index 4f9e1584..9195680f 100644 --- a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT - FROM actor a JOIN city c.verified.txt +++ b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT - FROM actor a JOIN city c.verified.txt @@ -216,6 +216,7 @@ Parent: $tbl_36, Name: actor_id, IsVisible: true, + Default: AUTO_INCREMENT, RefId: $col_4 }, { @@ -234,6 +235,7 @@ Parent: $tbl_36, Name: last_update, IsVisible: true, + Default: CURRENT_TIMESTAMP, RefId: $col_16 } ], @@ -293,6 +295,7 @@ Parent: $tbl_38, Name: city_id, IsVisible: true, + Default: AUTO_INCREMENT, RefId: $col_20 }, { @@ -311,9 +314,10 @@ Parent: $tbl_38, Name: last_update, IsVisible: true, + Default: CURRENT_TIMESTAMP, RefId: $col_32 } ], RefId: $tbl_38 } -] +] \ No newline at end of file diff --git a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT - FROM actor.verified.txt b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT - FROM actor.verified.txt index 15fd0caf..36445956 100644 --- a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT - FROM actor.verified.txt +++ b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT - FROM actor.verified.txt @@ -7,6 +7,7 @@ Parent: $tbl_10, Name: actor_id, IsVisible: true, + Default: AUTO_INCREMENT, RefId: $col_2 }, { @@ -25,6 +26,7 @@ Parent: $tbl_10, Name: last_update, IsVisible: true, + Default: CURRENT_TIMESTAMP, RefId: $col_8 } ], @@ -75,4 +77,4 @@ ], RefId: $tbl_9 } -] +] \ No newline at end of file diff --git a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT - FROM city.verified.txt b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT - FROM city.verified.txt index 3e6258d9..2194bce6 100644 --- a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT - FROM city.verified.txt +++ b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_SELECT_sql=SELECT - FROM city.verified.txt @@ -7,6 +7,7 @@ Parent: $tbl_10, Name: city_id, IsVisible: true, + Default: AUTO_INCREMENT, RefId: $col_2 }, { @@ -25,6 +26,7 @@ Parent: $tbl_10, Name: last_update, IsVisible: true, + Default: CURRENT_TIMESTAMP, RefId: $col_8 } ], @@ -75,4 +77,4 @@ ], RefId: $tbl_9 } -] +] \ No newline at end of file diff --git a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_TABLE_sql=TABLE actor.verified.txt b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_TABLE_sql=TABLE actor.verified.txt index 70a5b7aa..39dd4749 100644 --- a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_TABLE_sql=TABLE actor.verified.txt +++ b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_TABLE_sql=TABLE actor.verified.txt @@ -7,6 +7,7 @@ Parent: $tbl_5, Name: actor_id, IsVisible: true, + Default: AUTO_INCREMENT, RefId: $col_1 }, { @@ -25,9 +26,10 @@ Parent: $tbl_5, Name: last_update, IsVisible: true, + Default: CURRENT_TIMESTAMP, RefId: $col_4 } ], RefId: $tbl_5 } -] +] \ No newline at end of file diff --git a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_TABLE_sql=TABLE city.verified.txt b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_TABLE_sql=TABLE city.verified.txt index 1ec252bb..747d8fde 100644 --- a/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_TABLE_sql=TABLE city.verified.txt +++ b/Qsi.Tests/Vendor/MySql/verified/MySqlTest.Test_TABLE_sql=TABLE city.verified.txt @@ -7,6 +7,7 @@ Parent: $tbl_5, Name: city_id, IsVisible: true, + Default: AUTO_INCREMENT, RefId: $col_1 }, { @@ -25,9 +26,10 @@ Parent: $tbl_5, Name: last_update, IsVisible: true, + Default: CURRENT_TIMESTAMP, RefId: $col_4 } ], RefId: $tbl_5 } -] +] \ No newline at end of file