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
779a055e
Commit
779a055e
authored
May 31, 2007
by
df@pippilotta.erinye.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some test cases cannot run with --skip-log-bin
parent
3beef02b
Changes
16
Show whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
35 additions
and
17 deletions
+35
-17
mysql-test/r/mix_innodb_myisam_binlog.result
mysql-test/r/mix_innodb_myisam_binlog.result
+15
-15
mysql-test/t/binlog.test
mysql-test/t/binlog.test
+1
-0
mysql-test/t/blackhole.test
mysql-test/t/blackhole.test
+1
-0
mysql-test/t/ctype_cp932_binlog.test
mysql-test/t/ctype_cp932_binlog.test
+1
-0
mysql-test/t/ctype_cp932_notembedded.test
mysql-test/t/ctype_cp932_notembedded.test
+1
-0
mysql-test/t/ctype_ucs_binlog.test
mysql-test/t/ctype_ucs_binlog.test
+1
-0
mysql-test/t/drop_temp_table.test
mysql-test/t/drop_temp_table.test
+1
-0
mysql-test/t/flush_block_commit_notembedded.test
mysql-test/t/flush_block_commit_notembedded.test
+2
-0
mysql-test/t/insert_select-binlog.test
mysql-test/t/insert_select-binlog.test
+1
-0
mysql-test/t/mix_innodb_myisam_binlog.test
mysql-test/t/mix_innodb_myisam_binlog.test
+1
-1
mysql-test/t/mysqlbinlog-cp932.test
mysql-test/t/mysqlbinlog-cp932.test
+2
-1
mysql-test/t/mysqlbinlog.test
mysql-test/t/mysqlbinlog.test
+2
-0
mysql-test/t/mysqlbinlog2.test
mysql-test/t/mysqlbinlog2.test
+2
-0
mysql-test/t/mysqltest.test
mysql-test/t/mysqltest.test
+2
-0
mysql-test/t/sp_trans.test
mysql-test/t/sp_trans.test
+1
-0
mysql-test/t/user_var-binlog.test
mysql-test/t/user_var-binlog.test
+1
-0
No files found.
mysql-test/r/mix_innodb_myisam_binlog.result
View file @
779a055e
...
@@ -11,7 +11,7 @@ Log_name Pos Event_type Server_id End_log_pos Info
...
@@ -11,7 +11,7 @@ Log_name Pos Event_type Server_id End_log_pos Info
master-bin.000001 98 Query 1 # use `test`; BEGIN
master-bin.000001 98 Query 1 # use `test`; BEGIN
master-bin.000001 166 Query 1 # use `test`; insert into t1 values(1)
master-bin.000001 166 Query 1 # use `test`; insert into t1 values(1)
master-bin.000001 253 Query 1 # use `test`; insert into t2 select * from t1
master-bin.000001 253 Query 1 # use `test`; insert into t2 select * from t1
master-bin.000001 347 Xid 1 # COMMIT /* xid=
8
*/
master-bin.000001 347 Xid 1 # COMMIT /* xid=
9
*/
delete from t1;
delete from t1;
delete from t2;
delete from t2;
reset master;
reset master;
...
@@ -47,7 +47,7 @@ master-bin.000001 253 Query 1 # use `test`; savepoint my_savepoint
...
@@ -47,7 +47,7 @@ master-bin.000001 253 Query 1 # use `test`; savepoint my_savepoint
master-bin.000001 338 Query 1 # use `test`; insert into t1 values(4)
master-bin.000001 338 Query 1 # use `test`; insert into t1 values(4)
master-bin.000001 425 Query 1 # use `test`; insert into t2 select * from t1
master-bin.000001 425 Query 1 # use `test`; insert into t2 select * from t1
master-bin.000001 519 Query 1 # use `test`; rollback to savepoint my_savepoint
master-bin.000001 519 Query 1 # use `test`; rollback to savepoint my_savepoint
master-bin.000001 616 Xid 1 # COMMIT /* xid=2
5
*/
master-bin.000001 616 Xid 1 # COMMIT /* xid=2
6
*/
delete from t1;
delete from t1;
delete from t2;
delete from t2;
reset master;
reset master;
...
@@ -74,7 +74,7 @@ master-bin.000001 338 Query 1 # use `test`; insert into t1 values(6)
...
@@ -74,7 +74,7 @@ master-bin.000001 338 Query 1 # use `test`; insert into t1 values(6)
master-bin.000001 425 Query 1 # use `test`; insert into t2 select * from t1
master-bin.000001 425 Query 1 # use `test`; insert into t2 select * from t1
master-bin.000001 519 Query 1 # use `test`; rollback to savepoint my_savepoint
master-bin.000001 519 Query 1 # use `test`; rollback to savepoint my_savepoint
master-bin.000001 616 Query 1 # use `test`; insert into t1 values(7)
master-bin.000001 616 Query 1 # use `test`; insert into t1 values(7)
master-bin.000001 703 Xid 1 # COMMIT /* xid=3
7
*/
master-bin.000001 703 Xid 1 # COMMIT /* xid=3
8
*/
delete from t1;
delete from t1;
delete from t2;
delete from t2;
reset master;
reset master;
...
@@ -101,7 +101,7 @@ insert into t2 select * from t1;
...
@@ -101,7 +101,7 @@ insert into t2 select * from t1;
show binlog events from 98;
show binlog events from 98;
Log_name Pos Event_type Server_id End_log_pos Info
Log_name Pos Event_type Server_id End_log_pos Info
master-bin.000001 98 Query 1 # use `test`; insert into t1 values(9)
master-bin.000001 98 Query 1 # use `test`; insert into t1 values(9)
master-bin.000001 185 Xid 1 # COMMIT /* xid=6
0
*/
master-bin.000001 185 Xid 1 # COMMIT /* xid=6
1
*/
master-bin.000001 212 Query 1 # use `test`; insert into t2 select * from t1
master-bin.000001 212 Query 1 # use `test`; insert into t2 select * from t1
delete from t1;
delete from t1;
delete from t2;
delete from t2;
...
@@ -112,18 +112,18 @@ insert into t2 select * from t1;
...
@@ -112,18 +112,18 @@ insert into t2 select * from t1;
show binlog events from 98;
show binlog events from 98;
Log_name Pos Event_type Server_id End_log_pos Info
Log_name Pos Event_type Server_id End_log_pos Info
master-bin.000001 98 Query 1 # use `test`; insert into t1 values(10)
master-bin.000001 98 Query 1 # use `test`; insert into t1 values(10)
master-bin.000001 186 Xid 1 # COMMIT /* xid=6
6
*/
master-bin.000001 186 Xid 1 # COMMIT /* xid=6
7
*/
master-bin.000001 213 Query 1 # use `test`; insert into t2 select * from t1
master-bin.000001 213 Query 1 # use `test`; insert into t2 select * from t1
insert into t1 values(11);
insert into t1 values(11);
commit;
commit;
show binlog events from 98;
show binlog events from 98;
Log_name Pos Event_type Server_id End_log_pos Info
Log_name Pos Event_type Server_id End_log_pos Info
master-bin.000001 98 Query 1 # use `test`; insert into t1 values(10)
master-bin.000001 98 Query 1 # use `test`; insert into t1 values(10)
master-bin.000001 186 Xid 1 # COMMIT /* xid=6
6
*/
master-bin.000001 186 Xid 1 # COMMIT /* xid=6
7
*/
master-bin.000001 213 Query 1 # use `test`; insert into t2 select * from t1
master-bin.000001 213 Query 1 # use `test`; insert into t2 select * from t1
master-bin.000001 307 Query 1 # use `test`; BEGIN
master-bin.000001 307 Query 1 # use `test`; BEGIN
master-bin.000001 375 Query 1 # use `test`; insert into t1 values(11)
master-bin.000001 375 Query 1 # use `test`; insert into t1 values(11)
master-bin.000001 463 Xid 1 # COMMIT /* xid=6
8
*/
master-bin.000001 463 Xid 1 # COMMIT /* xid=6
9
*/
alter table t2 engine=INNODB;
alter table t2 engine=INNODB;
delete from t1;
delete from t1;
delete from t2;
delete from t2;
...
@@ -137,7 +137,7 @@ Log_name Pos Event_type Server_id End_log_pos Info
...
@@ -137,7 +137,7 @@ Log_name Pos Event_type Server_id End_log_pos Info
master-bin.000001 98 Query 1 # use `test`; BEGIN
master-bin.000001 98 Query 1 # use `test`; BEGIN
master-bin.000001 166 Query 1 # use `test`; insert into t1 values(12)
master-bin.000001 166 Query 1 # use `test`; insert into t1 values(12)
master-bin.000001 254 Query 1 # use `test`; insert into t2 select * from t1
master-bin.000001 254 Query 1 # use `test`; insert into t2 select * from t1
master-bin.000001 348 Xid 1 # COMMIT /* xid=7
8
*/
master-bin.000001 348 Xid 1 # COMMIT /* xid=7
9
*/
delete from t1;
delete from t1;
delete from t2;
delete from t2;
reset master;
reset master;
...
@@ -161,7 +161,7 @@ show binlog events from 98;
...
@@ -161,7 +161,7 @@ show binlog events from 98;
Log_name Pos Event_type Server_id End_log_pos Info
Log_name Pos Event_type Server_id End_log_pos Info
master-bin.000001 98 Query 1 # use `test`; BEGIN
master-bin.000001 98 Query 1 # use `test`; BEGIN
master-bin.000001 166 Query 1 # use `test`; insert into t1 values(14)
master-bin.000001 166 Query 1 # use `test`; insert into t1 values(14)
master-bin.000001 254 Xid 1 # COMMIT /* xid=9
4
*/
master-bin.000001 254 Xid 1 # COMMIT /* xid=9
5
*/
delete from t1;
delete from t1;
delete from t2;
delete from t2;
reset master;
reset master;
...
@@ -182,7 +182,7 @@ Log_name Pos Event_type Server_id End_log_pos Info
...
@@ -182,7 +182,7 @@ Log_name Pos Event_type Server_id End_log_pos Info
master-bin.000001 98 Query 1 # use `test`; BEGIN
master-bin.000001 98 Query 1 # use `test`; BEGIN
master-bin.000001 166 Query 1 # use `test`; insert into t1 values(16)
master-bin.000001 166 Query 1 # use `test`; insert into t1 values(16)
master-bin.000001 254 Query 1 # use `test`; insert into t1 values(18)
master-bin.000001 254 Query 1 # use `test`; insert into t1 values(18)
master-bin.000001 342 Xid 1 # COMMIT /* xid=10
5
*/
master-bin.000001 342 Xid 1 # COMMIT /* xid=10
6
*/
delete from t1;
delete from t1;
delete from t2;
delete from t2;
alter table t2 type=MyISAM;
alter table t2 type=MyISAM;
...
@@ -234,19 +234,19 @@ Log_name Pos Event_type Server_id End_log_pos Info
...
@@ -234,19 +234,19 @@ Log_name Pos Event_type Server_id End_log_pos Info
master-bin.000001 98 Query 1 # use `test`; BEGIN
master-bin.000001 98 Query 1 # use `test`; BEGIN
master-bin.000001 166 Query 1 # use `test`; insert into t1 values(16)
master-bin.000001 166 Query 1 # use `test`; insert into t1 values(16)
master-bin.000001 254 Query 1 # use `test`; insert into t1 values(18)
master-bin.000001 254 Query 1 # use `test`; insert into t1 values(18)
master-bin.000001 342 Xid 1 # COMMIT /* xid=10
5
*/
master-bin.000001 342 Xid 1 # COMMIT /* xid=10
6
*/
master-bin.000001 369 Query 1 # use `test`; delete from t1
master-bin.000001 369 Query 1 # use `test`; delete from t1
master-bin.000001 446 Xid 1 # COMMIT /* xid=11
4
*/
master-bin.000001 446 Xid 1 # COMMIT /* xid=11
5
*/
master-bin.000001 473 Query 1 # use `test`; delete from t2
master-bin.000001 473 Query 1 # use `test`; delete from t2
master-bin.000001 550 Xid 1 # COMMIT /* xid=11
5
*/
master-bin.000001 550 Xid 1 # COMMIT /* xid=11
6
*/
master-bin.000001 577 Query 1 # use `test`; alter table t2 type=MyISAM
master-bin.000001 577 Query 1 # use `test`; alter table t2 type=MyISAM
master-bin.000001 666 Query 1 # use `test`; insert into t1 values (1)
master-bin.000001 666 Query 1 # use `test`; insert into t1 values (1)
master-bin.000001 754 Xid 1 # COMMIT /* xid=11
7
*/
master-bin.000001 754 Xid 1 # COMMIT /* xid=11
8
*/
master-bin.000001 781 Query 1 # use `test`; insert into t2 values (20)
master-bin.000001 781 Query 1 # use `test`; insert into t2 values (20)
master-bin.000001 870 Query 1 # use `test`; drop table t1,t2
master-bin.000001 870 Query 1 # use `test`; drop table t1,t2
master-bin.000001 949 Query 1 # use `test`; create temporary table ti (a int) engine=innodb
master-bin.000001 949 Query 1 # use `test`; create temporary table ti (a int) engine=innodb
master-bin.000001 1059 Query 1 # use `test`; insert into ti values(1)
master-bin.000001 1059 Query 1 # use `test`; insert into ti values(1)
master-bin.000001 1146 Xid 1 # COMMIT /* xid=13
2
*/
master-bin.000001 1146 Xid 1 # COMMIT /* xid=13
3
*/
master-bin.000001 1173 Query 1 # use `test`; create temporary table t1 (a int) engine=myisam
master-bin.000001 1173 Query 1 # use `test`; create temporary table t1 (a int) engine=myisam
master-bin.000001 1283 Query 1 # use `test`; insert t1 values (1)
master-bin.000001 1283 Query 1 # use `test`; insert t1 values (1)
master-bin.000001 1366 Query 1 # use `test`; create table t0 (n int)
master-bin.000001 1366 Query 1 # use `test`; create table t0 (n int)
...
...
mysql-test/t/binlog.test
View file @
779a055e
#
#
# misc binlogging tests that do not require a slave running
# misc binlogging tests that do not require a slave running
#
#
--
source
include
/
have_log_bin
.
inc
--
source
include
/
not_embedded
.
inc
--
source
include
/
not_embedded
.
inc
--
source
include
/
have_bdb
.
inc
--
source
include
/
have_bdb
.
inc
--
source
include
/
have_innodb
.
inc
--
source
include
/
have_innodb
.
inc
...
...
mysql-test/t/blackhole.test
View file @
779a055e
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
#
#
--
source
include
/
not_embedded
.
inc
--
source
include
/
not_embedded
.
inc
--
source
include
/
have_blackhole
.
inc
--
source
include
/
have_blackhole
.
inc
--
source
include
/
have_log_bin
.
inc
--
disable_warnings
--
disable_warnings
drop
table
if
exists
t1
,
t2
;
drop
table
if
exists
t1
,
t2
;
...
...
mysql-test/t/ctype_cp932_binlog.test
View file @
779a055e
--
source
include
/
not_embedded
.
inc
--
source
include
/
not_embedded
.
inc
--
source
include
/
have_cp932
.
inc
--
source
include
/
have_cp932
.
inc
--
source
include
/
have_log_bin
.
inc
--
character_set
cp932
--
character_set
cp932
--
disable_warnings
--
disable_warnings
...
...
mysql-test/t/ctype_cp932_notembedded.test
View file @
779a055e
--
source
include
/
not_embedded
.
inc
--
source
include
/
not_embedded
.
inc
--
source
include
/
have_cp932
.
inc
--
source
include
/
have_cp932
.
inc
--
source
include
/
have_log_bin
.
inc
--
character_set
cp932
--
character_set
cp932
--
disable_warnings
--
disable_warnings
...
...
mysql-test/t/ctype_ucs_binlog.test
View file @
779a055e
--
source
include
/
not_embedded
.
inc
--
source
include
/
not_embedded
.
inc
--
source
include
/
have_ucs2
.
inc
--
source
include
/
have_ucs2
.
inc
--
source
include
/
have_log_bin
.
inc
#
#
# Check correct binlogging of UCS2 user variables (BUG#3875)
# Check correct binlogging of UCS2 user variables (BUG#3875)
...
...
mysql-test/t/drop_temp_table.test
View file @
779a055e
# Embedded server doesn't support binlog
# Embedded server doesn't support binlog
--
source
include
/
not_embedded
.
inc
--
source
include
/
not_embedded
.
inc
--
source
include
/
have_log_bin
.
inc
--
disable_warnings
--
disable_warnings
drop
database
if
exists
`drop-temp+table-test`
;
drop
database
if
exists
`drop-temp+table-test`
;
...
...
mysql-test/t/flush_block_commit_notembedded.test
View file @
779a055e
...
@@ -3,6 +3,8 @@
...
@@ -3,6 +3,8 @@
# We verify that we did not introduce a deadlock.
# We verify that we did not introduce a deadlock.
# This is intended to mimick how mysqldump and innobackup work.
# This is intended to mimick how mysqldump and innobackup work.
--
source
include
/
have_log_bin
.
inc
# And it requires InnoDB
# And it requires InnoDB
--
source
include
/
not_embedded
.
inc
--
source
include
/
not_embedded
.
inc
--
source
include
/
have_innodb
.
inc
--
source
include
/
have_innodb
.
inc
...
...
mysql-test/t/insert_select-binlog.test
View file @
779a055e
# Embedded server doesn't support binlog
# Embedded server doesn't support binlog
--
source
include
/
not_embedded
.
inc
--
source
include
/
not_embedded
.
inc
--
source
include
/
have_log_bin
.
inc
# Check if a partly-completed INSERT SELECT in a MyISAM table goes into the
# Check if a partly-completed INSERT SELECT in a MyISAM table goes into the
# binlog
# binlog
...
...
mysql-test/t/mix_innodb_myisam_binlog.test
View file @
779a055e
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
# slave is always with --skip-innodb in the testsuite. I (Guilhem) however
# slave is always with --skip-innodb in the testsuite. I (Guilhem) however
# did some tests manually on a slave; tables are replicated fine and
# did some tests manually on a slave; tables are replicated fine and
# Exec_Master_Log_Pos advances as expected.
# Exec_Master_Log_Pos advances as expected.
--
source
include
/
have_log_bin
.
inc
# Embedded server doesn't support binlogging
# Embedded server doesn't support binlogging
--
source
include
/
not_embedded
.
inc
--
source
include
/
not_embedded
.
inc
...
...
mysql-test/t/mysqlbinlog-cp932.test
View file @
779a055e
# disabled in embedded until tools running is fixed with embedded
# disabled in embedded until tools running is fixed with embedded
--
source
include
/
not_embedded
.
inc
--
source
include
/
not_embedded
.
inc
--
source
include
/
have_cp932
.
inc
--
source
include
/
have_cp932
.
inc
--
source
include
/
have_log_bin
.
inc
# Bug#16217 (mysql client did not know how not switch its internal charset)
# Bug#16217 (mysql client did not know how not switch its internal charset)
flush
logs
;
flush
logs
;
...
...
mysql-test/t/mysqlbinlog.test
View file @
779a055e
# We are using .opt file since we need small binlog size
# We are using .opt file since we need small binlog size
--
source
include
/
have_log_bin
.
inc
# Embedded server doesn't support binlogging
# Embedded server doesn't support binlogging
--
source
include
/
not_embedded
.
inc
--
source
include
/
not_embedded
.
inc
...
...
mysql-test/t/mysqlbinlog2.test
View file @
779a055e
# Test for the new options --start-datetime, stop-datetime,
# Test for the new options --start-datetime, stop-datetime,
# and a few others.
# and a few others.
--
source
include
/
have_log_bin
.
inc
# Embedded server doesn't support binlogging
# Embedded server doesn't support binlogging
--
source
include
/
not_embedded
.
inc
--
source
include
/
not_embedded
.
inc
...
...
mysql-test/t/mysqltest.test
View file @
779a055e
--
source
include
/
have_log_bin
.
inc
# This test should work in embedded server after mysqltest is fixed
# This test should work in embedded server after mysqltest is fixed
--
source
include
/
not_embedded
.
inc
--
source
include
/
not_embedded
.
inc
...
...
mysql-test/t/sp_trans.test
View file @
779a055e
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
# tests that require InnoDB...
# tests that require InnoDB...
#
#
--
source
include
/
have_log_bin
.
inc
--
source
include
/
have_innodb
.
inc
--
source
include
/
have_innodb
.
inc
--
disable_warnings
--
disable_warnings
...
...
mysql-test/t/user_var-binlog.test
View file @
779a055e
# Embedded server does not support binlogging
# Embedded server does not support binlogging
--
source
include
/
not_embedded
.
inc
--
source
include
/
not_embedded
.
inc
--
source
include
/
have_log_bin
.
inc
# Check that user variables are binlogged correctly (BUG#3875)
# Check that user variables are binlogged correctly (BUG#3875)
create
table
t1
(
a
varchar
(
50
));
create
table
t1
(
a
varchar
(
50
));
...
...
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