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
74afc4af
Commit
74afc4af
authored
Feb 01, 2008
by
mkindahl@dl145h.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Re-creating binlog_start_comment.test to make sure that changes
are propagated from earlier versions.
parent
22affb33
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
mysql-test/suite/binlog/t/binlog_start_comment.test
mysql-test/suite/binlog/t/binlog_start_comment.test
+6
-4
No files found.
mysql-test/suite/binlog/t/binlog_start_comment.test
View file @
74afc4af
# Test case for bug#32205 Replaying statements from mysqlbinlog fails
# Test case for bug#32205 Replaying statements from mysqlbinlog fails
# with a syntax error, replicates fine
# with a syntax error, replicates fine
--
source
include
/
have_log_bin
.
inc
source
include
/
have_log_bin
.
inc
;
source
include
/
have_local_infile
.
inc
;
reset
master
;
reset
master
;
--
disable_warnings
--
disable_warnings
drop
table
if
exists
t1
,
t2
;
drop
table
if
exists
t1
,
t2
;
...
@@ -12,11 +14,11 @@ load data infile '../std_data_ln/words.dat' into table t1 -- load data to t1;
...
@@ -12,11 +14,11 @@ load data infile '../std_data_ln/words.dat' into table t1 -- load data to t1;
insert
into
t2
values
(
"Ada"
);
insert
into
t2
values
(
"Ada"
);
flush
logs
;
flush
logs
;
select
*
from
t2
;
select
*
from
t2
;
--
exec
$MYSQL_BINLOG
$MYSQLTEST_VARDIR
/
log
/
master
-
bin
.
000001
>
$MYSQLTEST_VARDIR
/
tmp
/
binlog_start_comment
.
binlog
--
exec
$MYSQL_BINLOG
--
short
-
form
--
local
-
load
=
$MYSQLTEST_VARDIR
/
tmp
/
$MYSQLTEST_VARDIR
/
log
/
master
-
bin
.
000001
>
$MYSQLTEST_VARDIR
/
tmp
/
binlog_start_comment
.
binlog
--
exec
$MYSQL
<
$MYSQLTEST_VARDIR
/
tmp
/
binlog_start_comment
.
binlog
--
exec
$MYSQL
--
local
-
infile
=
1
<
$MYSQLTEST_VARDIR
/
tmp
/
binlog_start_comment
.
binlog
flush
logs
;
flush
logs
;
select
*
from
t2
;
select
*
from
t2
;
# clean up
# clean up
drop
table
t1
,
t2
;
drop
table
t1
,
t2
;
--
system
rm
$MYSQLTEST_VARDIR
/
tmp
/
binlog_start_comment
.
binlog
#
--system rm $MYSQLTEST_VARDIR/tmp/binlog_start_comment.binlog
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