-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDEV-13017 LOCK TABLE fails with irrelevant error while working with …
…tables affected by ANSI_QUOTES
- Loading branch information
Showing
3 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
set sql_mode=ansi_quotes; | ||
create table t1 (i int) partition by range (i) (partition flush values less than maxvalue); | ||
set sql_mode=default; | ||
lock tables t1 read local; | ||
unlock tables; | ||
drop table t1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# | ||
# MDEV-13017 LOCK TABLE fails with irrelevant error while working with tables affected by ANSI_QUOTES | ||
# | ||
--source include/have_partition.inc | ||
set sql_mode=ansi_quotes; | ||
create table t1 (i int) partition by range (i) (partition flush values less than maxvalue); | ||
set sql_mode=default; | ||
lock tables t1 read local; | ||
unlock tables; | ||
drop table t1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters