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
44ef390d
Commit
44ef390d
authored
Mar 14, 2008
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert extra debug printouts
parent
a98e7818
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
16 deletions
+0
-16
mysql-test/suite/rpl_ndb/r/rpl_ndb_circular.result
mysql-test/suite/rpl_ndb/r/rpl_ndb_circular.result
+0
-3
mysql-test/suite/rpl_ndb/t/rpl_ndb_circular.test
mysql-test/suite/rpl_ndb/t/rpl_ndb_circular.test
+0
-13
No files found.
mysql-test/suite/rpl_ndb/r/rpl_ndb_circular.result
View file @
44ef390d
...
...
@@ -5,15 +5,12 @@ reset slave;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
start slave;
RESET MASTER;
Last errno after reset master on slave: 0
CHANGE MASTER TO master_host="127.0.0.1",master_port=SLAVE_PORT,master_user="root";
START SLAVE;
Last errno after start slave: 0
CREATE TABLE t1 (a int key, b int) ENGINE=ndb;
SHOW TABLES;
Tables_in_test
t1
Last errno after table on both: 0
INSERT INTO t1 VALUES (1,2);
INSERT INTO t1 VALUES (2,3);
SELECT * FROM t1 ORDER BY a;
...
...
mysql-test/suite/rpl_ndb/t/rpl_ndb_circular.test
View file @
44ef390d
...
...
@@ -6,21 +6,12 @@
--
connection
slave
RESET
MASTER
;
# Check Last_IO_Errno
let
$the_last_errno
=
query_get_value
(
SHOW
SLAVE
STATUS
,
Last_IO_Errno
,
1
);
echo
Last
errno
after
reset
master
on
slave
:
$the_last_errno
;
--
connection
master
--
replace_result
$SLAVE_MYPORT
SLAVE_PORT
--
eval
CHANGE
MASTER
TO
master_host
=
"127.0.0.1"
,
master_port
=
$SLAVE_MYPORT
,
master_user
=
"root"
START
SLAVE
;
# Check Last_errno
let
$the_last_errno
=
query_get_value
(
SHOW
SLAVE
STATUS
,
Last_IO_Errno
,
1
);
echo
Last
errno
after
start
slave
:
$the_last_errno
;
# create the table on the "slave"
--
connection
slave
CREATE
TABLE
t1
(
a
int
key
,
b
int
)
ENGINE
=
ndb
;
...
...
@@ -31,10 +22,6 @@ CREATE TABLE t1 (a int key, b int) ENGINE=ndb;
# now we should have a table on the master as well
SHOW
TABLES
;
# Check Last_errno
let
$the_last_errno
=
query_get_value
(
SHOW
SLAVE
STATUS
,
Last_IO_Errno
,
1
);
echo
Last
errno
after
table
on
both
:
$the_last_errno
;
# insert some values on the slave and master
--
connection
master
INSERT
INTO
t1
VALUES
(
1
,
2
);
...
...
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