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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
82403c0b
Commit
82403c0b
authored
Jul 11, 2013
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix truncate_coverage.test: update from 5.6
parent
bcbdf5d6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
mysql-test/r/truncate_coverage.result
mysql-test/r/truncate_coverage.result
+3
-3
mysql-test/t/truncate_coverage.test
mysql-test/t/truncate_coverage.test
+2
-2
No files found.
mysql-test/r/truncate_coverage.result
View file @
82403c0b
...
@@ -11,7 +11,7 @@ HANDLER t1 OPEN;
...
@@ -11,7 +11,7 @@ HANDLER t1 OPEN;
#
#
# connection default
# connection default
LOCK TABLE t1 WRITE;
LOCK TABLE t1 WRITE;
SET DEBUG_SYNC='mdl_upgrade_
shared_lock_to_exclusive
SIGNAL waiting';
SET DEBUG_SYNC='mdl_upgrade_
lock
SIGNAL waiting';
TRUNCATE TABLE t1;
TRUNCATE TABLE t1;
#
#
# connection con2
# connection con2
...
@@ -37,7 +37,7 @@ HANDLER t1 OPEN;
...
@@ -37,7 +37,7 @@ HANDLER t1 OPEN;
#
#
# connection default
# connection default
LOCK TABLE t1 WRITE;
LOCK TABLE t1 WRITE;
SET DEBUG_SYNC='mdl_upgrade_
shared_lock_to_exclusive
SIGNAL waiting';
SET DEBUG_SYNC='mdl_upgrade_
lock
SIGNAL waiting';
TRUNCATE TABLE t1;
TRUNCATE TABLE t1;
#
#
# connection con2
# connection con2
...
@@ -50,7 +50,7 @@ HANDLER t1 CLOSE;
...
@@ -50,7 +50,7 @@ HANDLER t1 CLOSE;
ERROR 42S02: Table 'test.t1' doesn't exist
ERROR 42S02: Table 'test.t1' doesn't exist
UNLOCK TABLES;
UNLOCK TABLES;
DROP TABLE t1;
DROP TABLE t1;
ERROR 42S02: Unknown table 't1'
ERROR 42S02: Unknown table 't
est.t
1'
SET DEBUG_SYNC='RESET';
SET DEBUG_SYNC='RESET';
CREATE TABLE t1 (c1 INT);
CREATE TABLE t1 (c1 INT);
INSERT INTO t1 VALUES (1);
INSERT INTO t1 VALUES (1);
...
...
mysql-test/t/truncate_coverage.test
View file @
82403c0b
...
@@ -40,7 +40,7 @@ HANDLER t1 OPEN;
...
@@ -40,7 +40,7 @@ HANDLER t1 OPEN;
--
connection
default
--
connection
default
let
$ID
=
`SELECT @id := CONNECTION_ID()`
;
let
$ID
=
`SELECT @id := CONNECTION_ID()`
;
LOCK
TABLE
t1
WRITE
;
LOCK
TABLE
t1
WRITE
;
SET
DEBUG_SYNC
=
'mdl_upgrade_
shared_lock_to_exclusive
SIGNAL waiting'
;
SET
DEBUG_SYNC
=
'mdl_upgrade_
lock
SIGNAL waiting'
;
send
TRUNCATE
TABLE
t1
;
send
TRUNCATE
TABLE
t1
;
#
#
# Get the default connection ID into a variable in an invisible statement.
# Get the default connection ID into a variable in an invisible statement.
...
@@ -92,7 +92,7 @@ HANDLER t1 OPEN;
...
@@ -92,7 +92,7 @@ HANDLER t1 OPEN;
--
echo
# connection default
--
echo
# connection default
--
connection
default
--
connection
default
LOCK
TABLE
t1
WRITE
;
LOCK
TABLE
t1
WRITE
;
SET
DEBUG_SYNC
=
'mdl_upgrade_
shared_lock_to_exclusive
SIGNAL waiting'
;
SET
DEBUG_SYNC
=
'mdl_upgrade_
lock
SIGNAL waiting'
;
send
TRUNCATE
TABLE
t1
;
send
TRUNCATE
TABLE
t1
;
#
#
# Remove datafile.
# Remove datafile.
...
...
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