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
efb93f8a
Commit
efb93f8a
authored
Oct 08, 2008
by
Magnus Svensson
Browse files
Options
Browse Files
Download
Plain Diff
Merge
parents
e75daedf
6d120d98
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
10 additions
and
13 deletions
+10
-13
mysql-test/extra/rpl_tests/rpl_log.test
mysql-test/extra/rpl_tests/rpl_log.test
+2
-6
mysql-test/suite/rpl/r/rpl_misc_functions.result
mysql-test/suite/rpl/r/rpl_misc_functions.result
+1
-1
mysql-test/suite/rpl/r/rpl_row_log.result
mysql-test/suite/rpl/r/rpl_row_log.result
+1
-1
mysql-test/suite/rpl/r/rpl_row_log_innodb.result
mysql-test/suite/rpl/r/rpl_row_log_innodb.result
+1
-1
mysql-test/suite/rpl/r/rpl_stm_log.result
mysql-test/suite/rpl/r/rpl_stm_log.result
+1
-1
mysql-test/suite/rpl/t/rpl_binlog_query_filter_rules.test
mysql-test/suite/rpl/t/rpl_binlog_query_filter_rules.test
+2
-1
mysql-test/suite/rpl/t/rpl_misc_functions.test
mysql-test/suite/rpl/t/rpl_misc_functions.test
+1
-1
mysql-test/suite/rpl/t/rpl_ps.test
mysql-test/suite/rpl/t/rpl_ps.test
+1
-1
No files found.
mysql-test/extra/rpl_tests/rpl_log.test
View file @
efb93f8a
...
@@ -70,11 +70,7 @@ eval create table t3 (a int)ENGINE=$engine_type;
...
@@ -70,11 +70,7 @@ eval create table t3 (a int)ENGINE=$engine_type;
connection
master
;
connection
master
;
select
*
from
t1
order
by
1
asc
;
select
*
from
t1
order
by
1
asc
;
save_master_pos
;
sync_slave_with_master
;
connection
slave
;
source
include
/
start_slave
.
inc
;
sync_with_master
;
#check t1 on slave to ensure whether it's identical with on master
#check t1 on slave to ensure whether it's identical with on master
select
*
from
t1
order
by
1
asc
;
select
*
from
t1
order
by
1
asc
;
flush
logs
;
flush
logs
;
...
@@ -142,4 +138,4 @@ drop table t1;
...
@@ -142,4 +138,4 @@ drop table t1;
# End of 4.1 tests
# End of 4.1 tests
sync_slave_with_master
;
sync_slave_with_master
;
drop
table
t1
;
mysql-test/suite/rpl/r/rpl_misc_functions.result
View file @
efb93f8a
...
@@ -14,7 +14,7 @@ set sql_log_bin=1;
...
@@ -14,7 +14,7 @@ set sql_log_bin=1;
insert into t1 values(3, 0, 0, 0, password('does_this_work?'));
insert into t1 values(3, 0, 0, 0, password('does_this_work?'));
insert into t1 values(4, connection_id(), rand()*1000, rand()*1000, password('does_this_still_work?'));
insert into t1 values(4, connection_id(), rand()*1000, rand()*1000, password('does_this_still_work?'));
select * into outfile 'rpl_misc_functions.outfile' from t1;
select * into outfile 'rpl_misc_functions.outfile' from t1;
create table t2 like t1;
create t
emporary t
able t2 like t1;
load data local infile 'MYSQLD_DATADIR/test/rpl_misc_functions.outfile' into table t2;
load data local infile 'MYSQLD_DATADIR/test/rpl_misc_functions.outfile' into table t2;
select * from t1, t2 where (t1.id=t2.id) and not(t1.i=t2.i and t1.r1=t2.r1 and t1.r2=t2.r2 and t1.p=t2.p);
select * from t1, t2 where (t1.id=t2.id) and not(t1.i=t2.i and t1.r1=t2.r1 and t1.r2=t2.r2 and t1.p=t2.p);
id i r1 r2 p id i r1 r2 p
id i r1 r2 p id i r1 r2 p
...
...
mysql-test/suite/rpl/r/rpl_row_log.result
View file @
efb93f8a
...
@@ -113,7 +113,6 @@ Aberdeen
...
@@ -113,7 +113,6 @@ Aberdeen
Abernathy
Abernathy
aberrant
aberrant
aberration
aberration
include/start_slave.inc
select * from t1 order by 1 asc;
select * from t1 order by 1 asc;
word
word
Aarhus
Aarhus
...
@@ -306,3 +305,4 @@ a b
...
@@ -306,3 +305,4 @@ a b
5 1
5 1
6 1
6 1
drop table t1;
drop table t1;
drop table t1;
mysql-test/suite/rpl/r/rpl_row_log_innodb.result
View file @
efb93f8a
...
@@ -113,7 +113,6 @@ Aberdeen
...
@@ -113,7 +113,6 @@ Aberdeen
Abernathy
Abernathy
aberrant
aberrant
aberration
aberration
include/start_slave.inc
select * from t1 order by 1 asc;
select * from t1 order by 1 asc;
word
word
Aarhus
Aarhus
...
@@ -306,3 +305,4 @@ a b
...
@@ -306,3 +305,4 @@ a b
5 1
5 1
6 1
6 1
drop table t1;
drop table t1;
drop table t1;
mysql-test/suite/rpl/r/rpl_stm_log.result
View file @
efb93f8a
...
@@ -109,7 +109,6 @@ Aberdeen
...
@@ -109,7 +109,6 @@ Aberdeen
Abernathy
Abernathy
aberrant
aberrant
aberration
aberration
include/start_slave.inc
select * from t1 order by 1 asc;
select * from t1 order by 1 asc;
word
word
Aarhus
Aarhus
...
@@ -287,3 +286,4 @@ a b
...
@@ -287,3 +286,4 @@ a b
5 1
5 1
6 1
6 1
drop table t1;
drop table t1;
drop table t1;
mysql-test/suite/rpl/t/rpl_binlog_query_filter_rules.test
View file @
efb93f8a
...
@@ -16,8 +16,9 @@ reset master;
...
@@ -16,8 +16,9 @@ reset master;
create
table
t1
(
a
int
);
create
table
t1
(
a
int
);
insert
into
t1
values
(
1
);
insert
into
t1
values
(
1
);
let
$MYSQLD_DATADIR
=
`select @@datadir`
;
flush
logs
;
flush
logs
;
--
exec
$MYSQL_BINLOG
$MYSQL
TEST_VARDIR
/
log
/
master
-
bin
.
000001
>
$MYSQLTEST_VARDIR
/
tmp
/
bug36099
.
sql
--
exec
$MYSQL_BINLOG
$MYSQL
D_DATADIR
/
master
-
bin
.
000001
>
$MYSQLTEST_VARDIR
/
tmp
/
bug36099
.
sql
drop
table
t1
;
drop
table
t1
;
--
exec
$MYSQL
-
e
"source
$MYSQLTEST_VARDIR
/tmp/bug36099.sql"
--
exec
$MYSQL
-
e
"source
$MYSQLTEST_VARDIR
/tmp/bug36099.sql"
...
...
mysql-test/suite/rpl/t/rpl_misc_functions.test
View file @
efb93f8a
...
@@ -23,7 +23,7 @@ insert into t1 values(4, connection_id(), rand()*1000, rand()*1000, password('do
...
@@ -23,7 +23,7 @@ insert into t1 values(4, connection_id(), rand()*1000, rand()*1000, password('do
select
*
into
outfile
'rpl_misc_functions.outfile'
from
t1
;
select
*
into
outfile
'rpl_misc_functions.outfile'
from
t1
;
let
$MYSQLD_DATADIR
=
`select @@datadir`
;
let
$MYSQLD_DATADIR
=
`select @@datadir`
;
sync_slave_with_master
;
sync_slave_with_master
;
create
table
t2
like
t1
;
create
t
emporary
t
able
t2
like
t1
;
# read the values from the master table
# read the values from the master table
--
replace_result
$MYSQLD_DATADIR
MYSQLD_DATADIR
--
replace_result
$MYSQLD_DATADIR
MYSQLD_DATADIR
eval
load
data
local
infile
'$MYSQLD_DATADIR/test/rpl_misc_functions.outfile'
into
table
t2
;
eval
load
data
local
infile
'$MYSQLD_DATADIR/test/rpl_misc_functions.outfile'
into
table
t2
;
...
...
mysql-test/suite/rpl/t/rpl_ps.test
View file @
efb93f8a
...
@@ -123,7 +123,7 @@ DROP DATABASE mysqltest1;
...
@@ -123,7 +123,7 @@ DROP DATABASE mysqltest1;
--
echo
--
echo
use
test
;
use
test
;
DROP
TABLE
t1
;
--
echo
--
echo
--
save_master_pos
--
save_master_pos
...
...
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