You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mysql-test/r/parser.result
-45
Original file line number
Diff line number
Diff line change
@@ -618,48 +618,3 @@ DROP TABLE t1, t2, t3;
618
618
#
619
619
# End of 5.1 tests
620
620
#
621
-
# Bug#46527 "COMMIT AND CHAIN RELEASE does not make sense"
622
-
#
623
-
COMMIT AND CHAIN RELEASE;
624
-
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'RELEASE' at line 1
625
-
COMMIT AND NO CHAIN RELEASE;
626
-
COMMIT RELEASE;
627
-
COMMIT CHAIN RELEASE;
628
-
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CHAIN RELEASE' at line 1
629
-
COMMIT NO CHAIN RELEASE;
630
-
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CHAIN RELEASE' at line 1
631
-
COMMIT AND NO RELEASE;
632
-
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'RELEASE' at line 1
633
-
COMMIT AND RELEASE;
634
-
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'RELEASE' at line 1
635
-
COMMIT NO RELEASE;
636
-
COMMIT CHAIN NO RELEASE;
637
-
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CHAIN NO RELEASE' at line 1
638
-
COMMIT NO CHAIN NO RELEASE;
639
-
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CHAIN NO RELEASE' at line 1
640
-
COMMIT AND RELEASE CHAIN;
641
-
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'RELEASE CHAIN' at line 1
642
-
COMMIT AND NO CHAIN NO RELEASE;
643
-
ROLLBACK AND CHAIN RELEASE;
644
-
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'RELEASE' at line 1
645
-
ROLLBACK AND NO CHAIN RELEASE;
646
-
ROLLBACK RELEASE;
647
-
ROLLBACK CHAIN RELEASE;
648
-
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CHAIN RELEASE' at line 1
649
-
ROLLBACK NO CHAIN RELEASE;
650
-
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CHAIN RELEASE' at line 1
651
-
ROLLBACK AND NO RELEASE;
652
-
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'RELEASE' at line 1
653
-
ROLLBACK AND RELEASE;
654
-
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'RELEASE' at line 1
655
-
ROLLBACK NO RELEASE;
656
-
ROLLBACK CHAIN NO RELEASE;
657
-
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CHAIN NO RELEASE' at line 1
658
-
ROLLBACK NO CHAIN NO RELEASE;
659
-
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CHAIN NO RELEASE' at line 1
660
-
ROLLBACK AND RELEASE CHAIN;
661
-
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'RELEASE CHAIN' at line 1
Copy file name to clipboardExpand all lines: mysql-test/r/parser_not_embedded.result
+45
Original file line number
Diff line number
Diff line change
@@ -47,3 +47,48 @@
47
47
+----------+--------+
48
48
| 4 | 4 |
49
49
+----------+--------+
50
+
# Bug#46527 "COMMIT AND CHAIN RELEASE does not make sense"
51
+
#
52
+
COMMIT AND CHAIN RELEASE;
53
+
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'RELEASE' at line 1
54
+
COMMIT AND NO CHAIN RELEASE;
55
+
COMMIT RELEASE;
56
+
COMMIT CHAIN RELEASE;
57
+
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CHAIN RELEASE' at line 1
58
+
COMMIT NO CHAIN RELEASE;
59
+
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CHAIN RELEASE' at line 1
60
+
COMMIT AND NO RELEASE;
61
+
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'RELEASE' at line 1
62
+
COMMIT AND RELEASE;
63
+
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'RELEASE' at line 1
64
+
COMMIT NO RELEASE;
65
+
COMMIT CHAIN NO RELEASE;
66
+
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CHAIN NO RELEASE' at line 1
67
+
COMMIT NO CHAIN NO RELEASE;
68
+
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CHAIN NO RELEASE' at line 1
69
+
COMMIT AND RELEASE CHAIN;
70
+
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'RELEASE CHAIN' at line 1
71
+
COMMIT AND NO CHAIN NO RELEASE;
72
+
ROLLBACK AND CHAIN RELEASE;
73
+
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'RELEASE' at line 1
74
+
ROLLBACK AND NO CHAIN RELEASE;
75
+
ROLLBACK RELEASE;
76
+
ROLLBACK CHAIN RELEASE;
77
+
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CHAIN RELEASE' at line 1
78
+
ROLLBACK NO CHAIN RELEASE;
79
+
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CHAIN RELEASE' at line 1
80
+
ROLLBACK AND NO RELEASE;
81
+
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'RELEASE' at line 1
82
+
ROLLBACK AND RELEASE;
83
+
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'RELEASE' at line 1
84
+
ROLLBACK NO RELEASE;
85
+
ROLLBACK CHAIN NO RELEASE;
86
+
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CHAIN NO RELEASE' at line 1
87
+
ROLLBACK NO CHAIN NO RELEASE;
88
+
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CHAIN NO RELEASE' at line 1
89
+
ROLLBACK AND RELEASE CHAIN;
90
+
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'RELEASE CHAIN' at line 1
0 commit comments