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
767f0a9f
Commit
767f0a9f
authored
May 20, 2003
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-4.1
into rurik.mysql.com:/home/igor/mysql-4.1
parents
ef7a0938
90c95b96
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
+8
-5
mysql-test/r/isam.result
mysql-test/r/isam.result
+3
-3
mysql-test/r/rpl_flush_tables.result
mysql-test/r/rpl_flush_tables.result
+2
-2
mysql-test/t/rpl_flush_tables.test
mysql-test/t/rpl_flush_tables.test
+3
-0
No files found.
mysql-test/r/isam.result
View file @
767f0a9f
...
@@ -49,14 +49,14 @@ test.t1 optimize status OK
...
@@ -49,14 +49,14 @@ test.t1 optimize status OK
check table t1,t2;
check table t1,t2;
Table Op Msg_type Msg_text
Table Op Msg_type Msg_text
test.t1 check status OK
test.t1 check status OK
test.t2 check error The
handler
for the table doesn't support check
test.t2 check error The
storage enginge
for the table doesn't support check
repair table t1,t2;
repair table t1,t2;
Table Op Msg_type Msg_text
Table Op Msg_type Msg_text
test.t1 repair status OK
test.t1 repair status OK
test.t2 repair error The
handler
for the table doesn't support repair
test.t2 repair error The
storage enginge
for the table doesn't support repair
check table t2,t1;
check table t2,t1;
Table Op Msg_type Msg_text
Table Op Msg_type Msg_text
test.t2 check error The
handler
for the table doesn't support check
test.t2 check error The
storage enginge
for the table doesn't support check
test.t1 check status OK
test.t1 check status OK
lock tables t1 write;
lock tables t1 write;
check table t2,t1;
check table t2,t1;
...
...
mysql-test/r/rpl_flush_tables.result
View file @
767f0a9f
...
@@ -14,7 +14,7 @@ rename table t1 to t5, t2 to t1;
...
@@ -14,7 +14,7 @@ rename table t1 to t5, t2 to t1;
flush no_write_to_binlog tables;
flush no_write_to_binlog tables;
show binlog events;
show binlog events;
Log_name Pos Event_type Server_id Orig_log_pos Info
Log_name Pos Event_type Server_id Orig_log_pos Info
master-bin.000001 4 Start 1 4 Server ver:
4.1.1-alpha-debug-log
, Binlog ver: 3
master-bin.000001 4 Start 1 4 Server ver:
VERSION
, Binlog ver: 3
master-bin.000001 79 Query 1 79 use `test`; create table t1 (a int)
master-bin.000001 79 Query 1 79 use `test`; create table t1 (a int)
master-bin.000001 137 Query 1 137 use `test`; insert into t1 values (10)
master-bin.000001 137 Query 1 137 use `test`; insert into t1 values (10)
master-bin.000001 198 Query 1 198 use `test`; create table t2 (a int)
master-bin.000001 198 Query 1 198 use `test`; create table t2 (a int)
...
@@ -27,7 +27,7 @@ a
...
@@ -27,7 +27,7 @@ a
flush tables;
flush tables;
show binlog events;
show binlog events;
Log_name Pos Event_type Server_id Orig_log_pos Info
Log_name Pos Event_type Server_id Orig_log_pos Info
master-bin.000001 4 Start 1 4 Server ver:
4.1.1-alpha-debug-log
, Binlog ver: 3
master-bin.000001 4 Start 1 4 Server ver:
VERSION
, Binlog ver: 3
master-bin.000001 79 Query 1 79 use `test`; create table t1 (a int)
master-bin.000001 79 Query 1 79 use `test`; create table t1 (a int)
master-bin.000001 137 Query 1 137 use `test`; insert into t1 values (10)
master-bin.000001 137 Query 1 137 use `test`; insert into t1 values (10)
master-bin.000001 198 Query 1 198 use `test`; create table t2 (a int)
master-bin.000001 198 Query 1 198 use `test`; create table t2 (a int)
...
...
mysql-test/t/rpl_flush_tables.test
View file @
767f0a9f
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
#
#
source
include
/
master
-
slave
.
inc
;
source
include
/
master
-
slave
.
inc
;
let
$VERSION
=
`select version()`
;
create
table
t1
(
a
int
);
create
table
t1
(
a
int
);
insert
into
t1
values
(
10
);
insert
into
t1
values
(
10
);
create
table
t2
(
a
int
);
create
table
t2
(
a
int
);
...
@@ -17,12 +18,14 @@ rename table t1 to t5, t2 to t1;
...
@@ -17,12 +18,14 @@ rename table t1 to t5, t2 to t1;
# first don't write it to the binlog, to test the NO_WRITE_TO_BINLOG keyword.
# first don't write it to the binlog, to test the NO_WRITE_TO_BINLOG keyword.
flush
no_write_to_binlog
tables
;
flush
no_write_to_binlog
tables
;
# Check that it's not in the binlog.
# Check that it's not in the binlog.
--
replace_result
$VERSION
VERSION
show
binlog
events
;
show
binlog
events
;
# Check that the master is not confused.
# Check that the master is not confused.
select
*
from
t3
;
select
*
from
t3
;
# This FLUSH should go into the binlog to not confuse the slave.
# This FLUSH should go into the binlog to not confuse the slave.
flush
tables
;
flush
tables
;
# Check that it's in the binlog.
# Check that it's in the binlog.
--
replace_result
$VERSION
VERSION
show
binlog
events
;
show
binlog
events
;
save_master_pos
;
save_master_pos
;
connection
slave
;
connection
slave
;
...
...
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