-
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.
- Loading branch information
Showing
140 changed files
with
2,186 additions
and
2,420 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
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
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
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
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
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
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
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,13 @@ | ||
set global my_cache.key_buffer_size = 1024*1024; | ||
create table t1 (i int) engine=myisam partition by hash (i) partitions 2; | ||
xa start 'xid'; | ||
cache index t1 partition (non_existing_partition) in my_cache; | ||
Table Op Msg_type Msg_text | ||
test.t1 assign_to_keycache error Error in list of partitions to test.t1 | ||
cache index t1 partition (p1) in my_cache; | ||
Table Op Msg_type Msg_text | ||
test.t1 assign_to_keycache status OK | ||
xa end 'xid'; | ||
xa rollback 'xid'; | ||
drop table t1; | ||
set global my_cache.key_buffer_size = 0; |
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,13 @@ | ||
# | ||
# MDEV-15216 Assertion `! is_set() || m_can_overwrite_status' failed in Diagnostics_area::set_error_status upon operation inside XA | ||
# | ||
--source include/have_partition.inc | ||
set global my_cache.key_buffer_size = 1024*1024; | ||
create table t1 (i int) engine=myisam partition by hash (i) partitions 2; | ||
xa start 'xid'; | ||
cache index t1 partition (non_existing_partition) in my_cache; | ||
cache index t1 partition (p1) in my_cache; | ||
xa end 'xid'; | ||
xa rollback 'xid'; | ||
drop table t1; | ||
set global my_cache.key_buffer_size = 0; |
File renamed without changes.
File renamed without changes.
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,5 @@ | ||
set @old_dbug=@@global.debug_dbug; | ||
set global debug_dbug='+d,auth_disconnect'; | ||
create user 'bad' identified by 'worse'; | ||
set global debug_dbug=@old_dbug; | ||
drop user bad; |
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,12 @@ | ||
source include/have_debug.inc; | ||
set @old_dbug=@@global.debug_dbug; | ||
|
||
# | ||
# use after free if need plugin change and auth aborted | ||
# | ||
set global debug_dbug='+d,auth_disconnect'; | ||
create user 'bad' identified by 'worse'; | ||
--error 1 | ||
--exec $MYSQL --default-auth=mysql_old_password --user=bad --password=worse | ||
set global debug_dbug=@old_dbug; | ||
drop user bad; |
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
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
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
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
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
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
Oops, something went wrong.