Skip to content

Commit 8b3f816

Browse files
committed
Adjusted test results after the fix for MDEV-20411
1 parent 12c80df commit 8b3f816

File tree

4 files changed

+14
-15
lines changed

4 files changed

+14
-15
lines changed

mysql-test/suite/funcs_1/r/innodb_views.result

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3551,11 +3551,11 @@ CREATE VIEW v1 or REPLACE AS Select * from tb2 my_table;
35513551
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'or REPLACE AS Select * from tb2 my_table' at line 1
35523552
CREATE VIEW v1 WITH CASCADED CHECK OPTION AS Select *
35533553
from tb2 my_table limit 50;
3554-
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'CASCADED CHECK OPTION AS Select *
3554+
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WITH CASCADED CHECK OPTION AS Select *
35553555
from tb2 my_table limit 50' at line 1
35563556
CREATE VIEW v1 WITH LOCAL CHECK OPTION AS Select *
35573557
from tb2 my_table limit 50;
3558-
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'LOCAL CHECK OPTION AS Select *
3558+
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WITH LOCAL CHECK OPTION AS Select *
35593559
from tb2 my_table limit 50' at line 1
35603560
SELECT * FROM tb2 my_table CREATE VIEW As v1;
35613561
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'CREATE VIEW As v1' at line 1
@@ -3585,7 +3585,7 @@ FROM test.tb2 my_table CHECK OPTION WITH CASCADED;
35853585
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'CHECK OPTION WITH CASCADED' at line 2
35863586
CREATE OR REPLACE VIEW v1 WITH CASCADED CHECK OPTION
35873587
AS SELECT F59, F60 FROM test.tb2 my_table;
3588-
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'CASCADED CHECK OPTION
3588+
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WITH CASCADED CHECK OPTION
35893589
AS SELECT F59, F60 FROM test.tb2 my_table' at line 1
35903590
CREATE OR REPLACE AS SELECT F59, F60
35913591
FROM test.tb2 my_table VIEW v1 WITH CASCADED CHECK OPTION;
@@ -3614,7 +3614,7 @@ FROM test.tb2 my_table CHECK OPTION WITH LOCAL;
36143614
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'CHECK OPTION WITH LOCAL' at line 2
36153615
CREATE OR REPLACE VIEW v1 WITH CASCADED CHECK OPTION
36163616
AS SELECT F59, F60 FROM test.tb2 my_table;
3617-
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'CASCADED CHECK OPTION
3617+
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WITH CASCADED CHECK OPTION
36183618
AS SELECT F59, F60 FROM test.tb2 my_table' at line 1
36193619
CREATE OR REPLACE AS SELECT F59, F60
36203620
FROM test.tb2 my_table VIEW v1 WITH LOCAL CHECK OPTION;

mysql-test/suite/funcs_1/r/memory_views.result

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3552,11 +3552,11 @@ CREATE VIEW v1 or REPLACE AS Select * from tb2 my_table;
35523552
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'or REPLACE AS Select * from tb2 my_table' at line 1
35533553
CREATE VIEW v1 WITH CASCADED CHECK OPTION AS Select *
35543554
from tb2 my_table limit 50;
3555-
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'CASCADED CHECK OPTION AS Select *
3555+
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WITH CASCADED CHECK OPTION AS Select *
35563556
from tb2 my_table limit 50' at line 1
35573557
CREATE VIEW v1 WITH LOCAL CHECK OPTION AS Select *
35583558
from tb2 my_table limit 50;
3559-
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'LOCAL CHECK OPTION AS Select *
3559+
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WITH LOCAL CHECK OPTION AS Select *
35603560
from tb2 my_table limit 50' at line 1
35613561
SELECT * FROM tb2 my_table CREATE VIEW As v1;
35623562
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'CREATE VIEW As v1' at line 1
@@ -3586,7 +3586,7 @@ FROM test.tb2 my_table CHECK OPTION WITH CASCADED;
35863586
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'CHECK OPTION WITH CASCADED' at line 2
35873587
CREATE OR REPLACE VIEW v1 WITH CASCADED CHECK OPTION
35883588
AS SELECT F59, F60 FROM test.tb2 my_table;
3589-
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'CASCADED CHECK OPTION
3589+
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WITH CASCADED CHECK OPTION
35903590
AS SELECT F59, F60 FROM test.tb2 my_table' at line 1
35913591
CREATE OR REPLACE AS SELECT F59, F60
35923592
FROM test.tb2 my_table VIEW v1 WITH CASCADED CHECK OPTION;
@@ -3615,7 +3615,7 @@ FROM test.tb2 my_table CHECK OPTION WITH LOCAL;
36153615
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'CHECK OPTION WITH LOCAL' at line 2
36163616
CREATE OR REPLACE VIEW v1 WITH CASCADED CHECK OPTION
36173617
AS SELECT F59, F60 FROM test.tb2 my_table;
3618-
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'CASCADED CHECK OPTION
3618+
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WITH CASCADED CHECK OPTION
36193619
AS SELECT F59, F60 FROM test.tb2 my_table' at line 1
36203620
CREATE OR REPLACE AS SELECT F59, F60
36213621
FROM test.tb2 my_table VIEW v1 WITH LOCAL CHECK OPTION;

mysql-test/suite/funcs_1/r/storedproc.result

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2807,7 +2807,7 @@ ERROR 42000: You have an error in your SQL syntax; check the manual that corresp
28072807
SELECT * from t1 where f2=f1' at line 1
28082808
CREATE PROCEDURE with()
28092809
SELECT * from t1 where f2=f1;
2810-
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '()
2810+
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'with()
28112811
SELECT * from t1 where f2=f1' at line 1
28122812
CREATE PROCEDURE write()
28132813
SELECT * from t1 where f2=f1;
@@ -9219,7 +9219,7 @@ CREATE PROCEDURE sp1()
92199219
BEGIN
92209220
declare with char;
92219221
END//
9222-
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'char;
9222+
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'with char;
92239223
END' at line 3
92249224
DROP PROCEDURE IF EXISTS sp1;
92259225
Warnings:
@@ -11547,9 +11547,8 @@ BEGIN
1154711547
declare with condition for sqlstate '02000';
1154811548
declare exit handler for with set @var2 = 1;
1154911549
END//
11550-
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'condition for sqlstate '02000';
11551-
declare exit handler for with set @var2 = 1;
11552-
END' at line 3
11550+
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'with condition for sqlstate '02000';
11551+
declare exit handler for with set @var2 ...' at line 3
1155311552
DROP PROCEDURE IF EXISTS sp1;
1155411553
Warnings:
1155511554
Note 1305 PROCEDURE db_storedproc.sp1 does not exist
@@ -13649,7 +13648,7 @@ CREATE PROCEDURE sp1( )
1364913648
BEGIN
1365013649
declare with handler for sqlstate '02000' set @var2 = 1;
1365113650
END//
13652-
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'handler for sqlstate '02000' set @var2 = 1;
13651+
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'with handler for sqlstate '02000' set @var2 = 1;
1365313652
END' at line 3
1365413653
DROP PROCEDURE IF EXISTS sp1;
1365513654
Warnings:

mysql-test/suite/innodb_fts/r/fulltext.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Only MyISAM tables support collections
5656
MySQL has now support for full-text search
5757
Full-text search in MySQL implements vector space model
5858
select * from t1 where MATCH(a,b) AGAINST ("indexes" IN BOOLEAN MODE WITH QUERY EXPANSION);
59-
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'QUERY EXPANSION)' at line 1
59+
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WITH QUERY EXPANSION)' at line 1
6060
explain select * from t1 where MATCH(a,b) AGAINST ("collections");
6161
id select_type table type possible_keys key key_len ref rows Extra
6262
1 SIMPLE t1 fulltext a a 0 1 Using where

0 commit comments

Comments
 (0)