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
342235ae
Commit
342235ae
authored
Oct 02, 2008
by
Matthias Leich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for Bug#38762 main.federated_bug_25714 fails sporadically
parent
24fe7470
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
mysql-test/r/federated_bug_25714.result
mysql-test/r/federated_bug_25714.result
+6
-0
mysql-test/t/federated_bug_25714.test
mysql-test/t/federated_bug_25714.test
+11
-0
No files found.
mysql-test/r/federated_bug_25714.result
View file @
342235ae
...
@@ -9,6 +9,10 @@ DROP DATABASE IF EXISTS federated;
...
@@ -9,6 +9,10 @@ DROP DATABASE IF EXISTS federated;
CREATE DATABASE federated;
CREATE DATABASE federated;
DROP DATABASE IF EXISTS federated;
DROP DATABASE IF EXISTS federated;
CREATE DATABASE federated;
CREATE DATABASE federated;
SET @OLD_MASTER_CONCURRENT_INSERT= @@GLOBAL.CONCURRENT_INSERT;
SET @@GLOBAL.CONCURRENT_INSERT= 0;
SET @OLD_SLAVE_CONCURRENT_INSERT= @@GLOBAL.CONCURRENT_INSERT;
SET @@GLOBAL.CONCURRENT_INSERT= 0;
DROP TABLE IF EXISTS federated.bug_13118_table;
DROP TABLE IF EXISTS federated.bug_13118_table;
CREATE TABLE federated.t1 (
CREATE TABLE federated.t1 (
`id` int auto_increment primary key,
`id` int auto_increment primary key,
...
@@ -49,7 +53,9 @@ id value
...
@@ -49,7 +53,9 @@ id value
7 54
7 54
8 55
8 55
DROP TABLE federated.t1;
DROP TABLE federated.t1;
SET @@GLOBAL.CONCURRENT_INSERT= @OLD_MASTER_CONCURRENT_INSERT;
DROP TABLE federated.t1;
DROP TABLE federated.t1;
SET @@GLOBAL.CONCURRENT_INSERT= @OLD_SLAVE_CONCURRENT_INSERT;
DROP TABLE IF EXISTS federated.t1;
DROP TABLE IF EXISTS federated.t1;
DROP DATABASE IF EXISTS federated;
DROP DATABASE IF EXISTS federated;
DROP TABLE IF EXISTS federated.t1;
DROP TABLE IF EXISTS federated.t1;
...
...
mysql-test/t/federated_bug_25714.test
View file @
342235ae
--
source
include
/
have_bug25714
.
inc
--
source
include
/
have_bug25714
.
inc
source
include
/
federated
.
inc
;
source
include
/
federated
.
inc
;
connection
master
;
# Disable concurrent inserts to avoid test failures when reading
# data from concurrent connections (insert might return before
# the data is actually in the table).
SET
@
OLD_MASTER_CONCURRENT_INSERT
=
@@
GLOBAL
.
CONCURRENT_INSERT
;
SET
@@
GLOBAL
.
CONCURRENT_INSERT
=
0
;
connection
slave
;
connection
slave
;
SET
@
OLD_SLAVE_CONCURRENT_INSERT
=
@@
GLOBAL
.
CONCURRENT_INSERT
;
SET
@@
GLOBAL
.
CONCURRENT_INSERT
=
0
;
--
disable_warnings
--
disable_warnings
DROP
TABLE
IF
EXISTS
federated
.
bug_13118_table
;
DROP
TABLE
IF
EXISTS
federated
.
bug_13118_table
;
--
enable_warnings
--
enable_warnings
...
@@ -39,9 +47,12 @@ SELECT LAST_INSERT_ID();
...
@@ -39,9 +47,12 @@ SELECT LAST_INSERT_ID();
SELECT
*
from
federated
.
t1
;
SELECT
*
from
federated
.
t1
;
DROP
TABLE
federated
.
t1
;
DROP
TABLE
federated
.
t1
;
SET
@@
GLOBAL
.
CONCURRENT_INSERT
=
@
OLD_MASTER_CONCURRENT_INSERT
;
connection
slave
;
connection
slave
;
DROP
TABLE
federated
.
t1
;
DROP
TABLE
federated
.
t1
;
SET
@@
GLOBAL
.
CONCURRENT_INSERT
=
@
OLD_SLAVE_CONCURRENT_INSERT
;
source
include
/
federated_cleanup
.
inc
;
source
include
/
federated_cleanup
.
inc
;
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