Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
1035a16a
Commit
1035a16a
authored
Apr 16, 2013
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove a sleep from the test
parent
821db380
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
6 deletions
+0
-6
mysql-test/r/partition_debug_sync.result
mysql-test/r/partition_debug_sync.result
+0
-2
mysql-test/t/partition_debug_sync.test
mysql-test/t/partition_debug_sync.test
+0
-2
sql/sql_table.cc
sql/sql_table.cc
+0
-2
No files found.
mysql-test/r/partition_debug_sync.result
View file @
1035a16a
...
...
@@ -18,7 +18,6 @@ ENGINE = MYISAM
PARTITION p1 VALUES LESS THAN (20),
PARTITION p2 VALUES LESS THAN (100),
PARTITION p3 VALUES LESS THAN MAXVALUE ) */;
SET SESSION debug_dbug= "+d,sleep_before_create_table_no_lock";
SET DEBUG_SYNC= 'alter_table_before_create_table_no_lock SIGNAL removing_partitioning WAIT_FOR waiting_for_alter';
SET DEBUG_SYNC= 'alter_table_before_main_binlog SIGNAL partitioning_removed';
ALTER TABLE t1 REMOVE PARTITIONING;
...
...
@@ -28,7 +27,6 @@ SET DEBUG_SYNC= 'mdl_acquire_lock_wait SIGNAL waiting_for_alter';
SET DEBUG_SYNC= 'rm_table_no_locks_before_delete_table WAIT_FOR partitioning_removed';
DROP TABLE IF EXISTS t1;
# Con 1
SET SESSION debug_dbug= "-d,sleep_before_create_table_no_lock";
SET DEBUG_SYNC= 'RESET';
SET DEBUG_SYNC= 'RESET';
#
...
...
mysql-test/t/partition_debug_sync.test
View file @
1035a16a
...
...
@@ -30,7 +30,6 @@ ENGINE = MYISAM
PARTITION p1 VALUES LESS THAN (20),
PARTITION p2 VALUES LESS THAN (100),
PARTITION p3 VALUES LESS THAN MAXVALUE ) */
;
SET
SESSION
debug_dbug
=
"+d,sleep_before_create_table_no_lock"
;
SET
DEBUG_SYNC
=
'alter_table_before_create_table_no_lock SIGNAL removing_partitioning WAIT_FOR waiting_for_alter'
;
SET
DEBUG_SYNC
=
'alter_table_before_main_binlog SIGNAL partitioning_removed'
;
--
send
ALTER
TABLE
t1
REMOVE
PARTITIONING
...
...
@@ -43,7 +42,6 @@ DROP TABLE IF EXISTS t1;
--
echo
# Con 1
connection
con1
;
--
reap
SET
SESSION
debug_dbug
=
"-d,sleep_before_create_table_no_lock"
;
connection
default
;
SET
DEBUG_SYNC
=
'RESET'
;
connection
con1
;
...
...
sql/sql_table.cc
View file @
1035a16a
...
...
@@ -6985,8 +6985,6 @@ bool mysql_alter_table(THD *thd,char *new_db, char *new_name,
create_info
->
data_file_name
=
create_info
->
index_file_name
=
0
;
DEBUG_SYNC
(
thd
,
"alter_table_before_create_table_no_lock"
);
DBUG_EXECUTE_IF
(
"sleep_before_create_table_no_lock"
,
my_sleep
(
100000
););
/*
Create a table with a temporary name.
With C_ALTER_TABLE_FRM_ONLY this creates a .frm file only and
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment