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
a66d8a5b
Commit
a66d8a5b
authored
Feb 09, 2006
by
jmiller@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test updates
parent
3c426cd7
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
8 deletions
+15
-8
mysql-test/r/rpl_multi_delete.result
mysql-test/r/rpl_multi_delete.result
+1
-1
mysql-test/r/rpl_multi_delete2.result
mysql-test/r/rpl_multi_delete2.result
+1
-1
mysql-test/r/rpl_ps.result
mysql-test/r/rpl_ps.result
+2
-2
mysql-test/t/rpl_loadfile.test
mysql-test/t/rpl_loadfile.test
+3
-0
mysql-test/t/rpl_multi_delete.test
mysql-test/t/rpl_multi_delete.test
+2
-1
mysql-test/t/rpl_multi_delete2.test
mysql-test/t/rpl_multi_delete2.test
+1
-1
mysql-test/t/rpl_ps.test
mysql-test/t/rpl_ps.test
+5
-2
No files found.
mysql-test/r/rpl_multi_delete.result
View file @
a66d8a5b
...
@@ -4,7 +4,7 @@ reset master;
...
@@ -4,7 +4,7 @@ reset master;
reset slave;
reset slave;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
start slave;
start slave;
create table t1 (a int);
create table t1 (a int
primary key
);
create table t2 (a int);
create table t2 (a int);
insert into t1 values (1);
insert into t1 values (1);
insert into t2 values (1);
insert into t2 values (1);
...
...
mysql-test/r/rpl_multi_delete2.result
View file @
a66d8a5b
...
@@ -24,7 +24,7 @@ use mysqltest_to;
...
@@ -24,7 +24,7 @@ use mysqltest_to;
select * from a;
select * from a;
i
i
3
3
create table t1 (a int);
create table t1 (a int
primary key
);
create table t2 (a int);
create table t2 (a int);
insert into t1 values (1);
insert into t1 values (1);
insert into t2 values (1);
insert into t2 values (1);
...
...
mysql-test/r/rpl_ps.result
View file @
a66d8a5b
...
@@ -11,7 +11,7 @@ set @var1= "from-master-1";
...
@@ -11,7 +11,7 @@ set @var1= "from-master-1";
execute stmt1 using @var1;
execute stmt1 using @var1;
set @var1= "from-master-2-'',";
set @var1= "from-master-2-'',";
execute stmt1 using @var1;
execute stmt1 using @var1;
select * from t1
;
SELECT * FROM t1 ORDER BY n
;
n
n
from-master-1
from-master-1
from-master-2-'',
from-master-2-'',
...
@@ -19,7 +19,7 @@ set @var2= 'insert into t1 values (concat("from-var-", ?))';
...
@@ -19,7 +19,7 @@ set @var2= 'insert into t1 values (concat("from-var-", ?))';
prepare stmt2 from @var2;
prepare stmt2 from @var2;
set @var1='from-master-3';
set @var1='from-master-3';
execute stmt2 using @var1;
execute stmt2 using @var1;
select * from t1
;
SELECT * FROM t1 ORDER BY n
;
n
n
from-master-1
from-master-1
from-master-2-'',
from-master-2-'',
...
...
mysql-test/t/rpl_loadfile.test
View file @
a66d8a5b
...
@@ -36,6 +36,9 @@ delimiter ;|
...
@@ -36,6 +36,9 @@ delimiter ;|
CALL
test
.
p1
();
CALL
test
.
p1
();
SELECT
*
FROM
test
.
t1
ORDER
BY
blob_column
;
SELECT
*
FROM
test
.
t1
ORDER
BY
blob_column
;
save_master_pos
;
save_master_pos
;
# Need to allow some time when NDB engine is used for
# the injector thread to have time to populate binlog
sleep
10
;
sync_slave_with_master
;
sync_slave_with_master
;
connection
slave
;
connection
slave
;
SELECT
*
FROM
test
.
t1
ORDER
BY
blob_column
;
SELECT
*
FROM
test
.
t1
ORDER
BY
blob_column
;
...
...
mysql-test/t/rpl_multi_delete.test
View file @
a66d8a5b
source
include
/
master
-
slave
.
inc
;
source
include
/
master
-
slave
.
inc
;
create
table
t1
(
a
int
);
create
table
t1
(
a
int
primary
key
);
create
table
t2
(
a
int
);
create
table
t2
(
a
int
);
insert
into
t1
values
(
1
);
insert
into
t1
values
(
1
);
insert
into
t2
values
(
1
);
insert
into
t2
values
(
1
);
delete
t1
.*
from
t1
,
t2
where
t1
.
a
=
t2
.
a
;
delete
t1
.*
from
t1
,
t2
where
t1
.
a
=
t2
.
a
;
save_master_pos
;
save_master_pos
;
...
...
mysql-test/t/rpl_multi_delete2.test
View file @
a66d8a5b
...
@@ -36,7 +36,7 @@ select * from a;
...
@@ -36,7 +36,7 @@ select * from a;
# BUG#3461
# BUG#3461
connection
master
;
connection
master
;
create
table
t1
(
a
int
);
create
table
t1
(
a
int
primary
key
);
create
table
t2
(
a
int
);
create
table
t2
(
a
int
);
insert
into
t1
values
(
1
);
insert
into
t1
values
(
1
);
...
...
mysql-test/t/rpl_ps.test
View file @
a66d8a5b
#
#
# Test of replicating user variables
# Test of replicating user variables
#
#
###########################################################
# 2006-02-08 By JBM added order by for use w/ NDB engine
###########################################################
source
include
/
master
-
slave
.
inc
;
source
include
/
master
-
slave
.
inc
;
#save_master_pos;
#save_master_pos;
...
@@ -20,7 +23,7 @@ set @var1= "from-master-1";
...
@@ -20,7 +23,7 @@ set @var1= "from-master-1";
execute
stmt1
using
@
var1
;
execute
stmt1
using
@
var1
;
set
@
var1
=
"from-master-2-'',"
;
set
@
var1
=
"from-master-2-'',"
;
execute
stmt1
using
@
var1
;
execute
stmt1
using
@
var1
;
select
*
from
t1
;
SELECT
*
FROM
t1
ORDER
BY
n
;
set
@
var2
=
'insert into t1 values (concat("from-var-", ?))'
;
set
@
var2
=
'insert into t1 values (concat("from-var-", ?))'
;
prepare
stmt2
from
@
var2
;
prepare
stmt2
from
@
var2
;
...
@@ -30,7 +33,7 @@ execute stmt2 using @var1;
...
@@ -30,7 +33,7 @@ execute stmt2 using @var1;
save_master_pos
;
save_master_pos
;
connection
slave
;
connection
slave
;
sync_with_master
;
sync_with_master
;
select
*
from
t1
;
SELECT
*
FROM
t1
ORDER
BY
n
;
connection
master
;
connection
master
;
...
...
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