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
b981448e
Commit
b981448e
authored
Dec 19, 2007
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update location of binlog
parent
584888ab
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
mysql-test/t/mysqlbinlog_base64.test
mysql-test/t/mysqlbinlog_base64.test
+4
-3
No files found.
mysql-test/t/mysqlbinlog_base64.test
View file @
b981448e
...
@@ -15,8 +15,9 @@ load data infile '../../std_data/words.dat' into table t2;
...
@@ -15,8 +15,9 @@ load data infile '../../std_data/words.dat' into table t2;
#
#
# Save binlog
# Save binlog
#
#
let
$MYSQLD_DATADIR
=
`select @@datadir`
;
flush
logs
;
flush
logs
;
--
exec
$MYSQL_BINLOG
--
hexdump
$MYSQL
TEST_VARDIR
/
log
/
master
-
bin
.
000001
>
$MYSQLTEST_VARDIR
/
tmp
/
mysqlbinlog_base64
.
sql
--
exec
$MYSQL_BINLOG
--
hexdump
$MYSQL
D_DATADIR
/
master
-
bin
.
000001
>
$MYSQLTEST_VARDIR
/
tmp
/
mysqlbinlog_base64
.
sql
#
#
# Clear database and restore from binlog
# Clear database and restore from binlog
...
@@ -51,7 +52,7 @@ insert into t2 select * from t2;
...
@@ -51,7 +52,7 @@ insert into t2 select * from t2;
select
count
(
*
)
from
t2
;
select
count
(
*
)
from
t2
;
flush
logs
;
flush
logs
;
--
exec
$MYSQL_BINLOG
--
hexdump
$MYSQL
TEST_VARDIR
/
log
/
master
-
bin
.
000003
>
$MYSQLTEST_VARDIR
/
tmp
/
mysqlbinlog_base64
.
sql
--
exec
$MYSQL_BINLOG
--
hexdump
$MYSQL
D_DATADIR
/
master
-
bin
.
000003
>
$MYSQLTEST_VARDIR
/
tmp
/
mysqlbinlog_base64
.
sql
--
exec
$MYSQL
test
<
$MYSQLTEST_VARDIR
/
tmp
/
mysqlbinlog_base64
.
sql
--
exec
$MYSQL
test
<
$MYSQLTEST_VARDIR
/
tmp
/
mysqlbinlog_base64
.
sql
#
#
...
@@ -62,6 +63,6 @@ select count(*) from t2;
...
@@ -62,6 +63,6 @@ select count(*) from t2;
#
#
# Test cleanup
# Test cleanup
#
#
--
exec
rm
$MYSQLTEST_VARDIR
/
tmp
/
mysqlbinlog_base64
.
sql
--
remove_file
$MYSQLTEST_VARDIR
/
tmp
/
mysqlbinlog_base64
.
sql
drop
table
t1
;
drop
table
t1
;
drop
table
t2
;
drop
table
t2
;
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