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
8b6572d3
Commit
8b6572d3
authored
Dec 20, 2007
by
sven@riska.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed errors in pushbuild by updating test and result files.
parent
fabaa50c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
46 deletions
+36
-46
mysql-test/suite/binlog/r/binlog_row_binlog.result
mysql-test/suite/binlog/r/binlog_row_binlog.result
+4
-0
mysql-test/suite/rpl_ndb/r/rpl_ndb_transaction.result
mysql-test/suite/rpl_ndb/r/rpl_ndb_transaction.result
+13
-39
mysql-test/suite/rpl_ndb/t/rpl_ndb_transaction.test
mysql-test/suite/rpl_ndb/t/rpl_ndb_transaction.test
+19
-7
No files found.
mysql-test/suite/binlog/r/binlog_row_binlog.result
View file @
8b6572d3
...
@@ -1099,9 +1099,11 @@ master-bin.000001 # Table_map # # table_id: # (test.t1)
...
@@ -1099,9 +1099,11 @@ master-bin.000001 # Table_map # # table_id: # (test.t1)
master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F
master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F
master-bin.000001 # Query # # use `test`; drop table t1
master-bin.000001 # Query # # use `test`; drop table t1
master-bin.000001 # Query # # use `test`; create table t1 (a int)
master-bin.000001 # Query # # use `test`; create table t1 (a int)
master-bin.000001 # Query # # use `test`; BEGIN
master-bin.000001 # Query # # use `test`; CREATE TABLE IF NOT EXISTS `t2` (
master-bin.000001 # Query # # use `test`; CREATE TABLE IF NOT EXISTS `t2` (
`a` int(11) DEFAULT NULL
`a` int(11) DEFAULT NULL
)
)
master-bin.000001 # Query # # use `test`; COMMIT
master-bin.000001 # Query # # use `test`; CREATE TABLE IF NOT EXISTS `t3` (
master-bin.000001 # Query # # use `test`; CREATE TABLE IF NOT EXISTS `t3` (
`a` int(11) DEFAULT NULL
`a` int(11) DEFAULT NULL
)
)
...
@@ -1124,9 +1126,11 @@ master-bin.000001 # Table_map # # table_id: # (test.t1)
...
@@ -1124,9 +1126,11 @@ master-bin.000001 # Table_map # # table_id: # (test.t1)
master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F
master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F
master-bin.000001 # Query # # use `test`; drop table t1
master-bin.000001 # Query # # use `test`; drop table t1
master-bin.000001 # Query # # use `test`; create table t1 (a int)
master-bin.000001 # Query # # use `test`; create table t1 (a int)
master-bin.000001 # Query # # use `test`; BEGIN
master-bin.000001 # Query # # use `test`; CREATE TABLE IF NOT EXISTS `t2` (
master-bin.000001 # Query # # use `test`; CREATE TABLE IF NOT EXISTS `t2` (
`a` int(11) DEFAULT NULL
`a` int(11) DEFAULT NULL
)
)
master-bin.000001 # Query # # use `test`; COMMIT
master-bin.000001 # Query # # use `test`; CREATE TABLE IF NOT EXISTS `t3` (
master-bin.000001 # Query # # use `test`; CREATE TABLE IF NOT EXISTS `t3` (
`a` int(11) DEFAULT NULL
`a` int(11) DEFAULT NULL
)
)
...
...
mysql-test/suite/rpl_ndb/r/rpl_ndb_transaction.result
View file @
8b6572d3
...
@@ -94,47 +94,21 @@ a
...
@@ -94,47 +94,21 @@ a
1
1
--- on slave ---
--- on slave ---
STOP SLAVE;
STOP SLAVE;
SHOW SLAVE STATUS;
SELECT "" AS Last_IO_Error;
Slave_IO_State #
Last_IO_Error
Master_Host 127.0.0.1
Master_User root
SELECT "" AS Last_SQL_Error;
Master_Port MASTER_PORT
Last_SQL_Error
Connect_Retry 1
Master_Log_File master-bin.000001
SELECT "" AS Last_IO_Error;
Read_Master_Log_Pos 1740
Last_IO_Error
Relay_Log_File #
Relay_Log_Pos #
Relay_Master_Log_File master-bin.000001
Slave_IO_Running No
Slave_SQL_Running No
Replicate_Do_DB
Replicate_Ignore_DB
Replicate_Do_Table
Replicate_Ignore_Table #
Replicate_Wild_Do_Table
Replicate_Wild_Ignore_Table
Last_Errno 0
Last_Error
Skip_Counter 0
Exec_Master_Log_Pos 1579
Relay_Log_Space #
Until_Condition None
Until_Log_File
Until_Log_Pos 0
Master_SSL_Allowed No
Master_SSL_CA_File
Master_SSL_CA_Path
Master_SSL_Cert
Master_SSL_Cipher
Master_SSL_Key
Seconds_Behind_Master #
Master_SSL_Verify_Server_Cert No
Last_IO_Errno #
Last_IO_Error #
Last_SQL_Errno 0
Last_SQL_Error
SELECT * FROM tinnodb ORDER BY a;
SELECT * FROM tinnodb ORDER BY a;
a
a
DROP TABLE tmyisam;
DROP TABLE tmyisam;
DROP TABLE tinnodb;
DROP TABLE tinnodb;
DROP TABLE tndb;
DROP TABLE tndb;
--- on master ---
DROP TABLE tmyisam;
DROP TABLE tinnodb;
DROP TABLE tndb;
mysql-test/suite/rpl_ndb/t/rpl_ndb_transaction.test
View file @
8b6572d3
...
@@ -82,10 +82,10 @@ SELECT * FROM tmyisam ORDER BY a;
...
@@ -82,10 +82,10 @@ SELECT * FROM tmyisam ORDER BY a;
# the statement, and slave should roll back later when master is
# the statement, and slave should roll back later when master is
# restarted.
# restarted.
# However, we
the master to be alive so that we are sure it replicates
# However, we
want the master to be alive so that we are sure it
#
the statement to the slave. So in the test case, we must therefore
#
replicates the statement to the slave. So in the test case, we must
#
not crash the master. Instead, we fake the crash by just not writing
#
therefore not crash the master. Instead, we fake the crash by just
# the XID event to the binlog. This is done by the
#
not writing
the XID event to the binlog. This is done by the
# --debug=d,do_not_write_xid flag in the .opt file.
# --debug=d,do_not_write_xid flag in the .opt file.
# So, unlike if the master had crashed, the master *will* execute the
# So, unlike if the master had crashed, the master *will* execute the
...
@@ -111,12 +111,24 @@ SELECT * FROM tinnodb ORDER BY a;
...
@@ -111,12 +111,24 @@ SELECT * FROM tinnodb ORDER BY a;
--
connection
slave
--
connection
slave
--
sleep
3
--
sleep
3
STOP
SLAVE
;
STOP
SLAVE
;
--
source
include
/
show_slave_status
.
inc
source
include
/
wait_for_slave_to_stop
.
inc
;
# the following statement should show that nothing has been replicated
let
$tmp
=
query_get_value
(
"SHOW SLAVE STATUS"
,
Slave_IO_State
,
1
);
eval
SELECT
"
$tmp
"
AS
Slave_IO_State
;
let
$tmp
=
query_get_value
(
"SHOW SLAVE STATUS"
,
Last_SQL_Error
,
1
);
eval
SELECT
"
$tmp
"
AS
Last_SQL_Error
;
let
$tmp
=
query_get_value
(
"SHOW SLAVE STATUS"
,
Last_IO_Error
,
1
);
eval
SELECT
"
$tmp
"
AS
Last_IO_Error
;
SELECT
*
FROM
tinnodb
ORDER
BY
a
;
SELECT
*
FROM
tinnodb
ORDER
BY
a
;
# clean up
# Clean up. We cannot do it on master and replicate over, because
# master binlog is in a bad state after last test. So we do it both on
# master and on slave.
DROP
TABLE
tmyisam
;
DROP
TABLE
tinnodb
;
DROP
TABLE
tndb
;
--
echo
---
on
master
---
connection
master
;
DROP
TABLE
tmyisam
;
DROP
TABLE
tmyisam
;
DROP
TABLE
tinnodb
;
DROP
TABLE
tinnodb
;
DROP
TABLE
tndb
;
DROP
TABLE
tndb
;
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