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
2915b523
Commit
2915b523
authored
Dec 15, 2009
by
Alexander Nozdrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Post-merge fix (binlog_unsafe).
parent
5606aed1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
mysql-test/suite/binlog/r/binlog_unsafe.result
mysql-test/suite/binlog/r/binlog_unsafe.result
+1
-0
mysql-test/suite/binlog/t/binlog_unsafe.test
mysql-test/suite/binlog/t/binlog_unsafe.test
+2
-0
No files found.
mysql-test/suite/binlog/r/binlog_unsafe.result
View file @
2915b523
...
@@ -355,6 +355,7 @@ master-bin.000001 13657 Write_rows 1 13695 table_id: 48
...
@@ -355,6 +355,7 @@ master-bin.000001 13657 Write_rows 1 13695 table_id: 48
master-bin.000001 13695 Write_rows 1 13729 table_id: 47 flags: STMT_END_F
master-bin.000001 13695 Write_rows 1 13729 table_id: 47 flags: STMT_END_F
master-bin.000001 13729 Query 1 13798 COMMIT
master-bin.000001 13729 Query 1 13798 COMMIT
DROP TABLE t1,t2,t3;
DROP TABLE t1,t2,t3;
SET SESSION binlog_format = STATEMENT;
CREATE TABLE t1 (a VARCHAR(1000));
CREATE TABLE t1 (a VARCHAR(1000));
INSERT INTO t1 VALUES (CURRENT_USER());
INSERT INTO t1 VALUES (CURRENT_USER());
Warnings:
Warnings:
...
...
mysql-test/suite/binlog/t/binlog_unsafe.test
View file @
2915b523
...
@@ -434,6 +434,7 @@ SET SESSION binlog_format = STATEMENT;
...
@@ -434,6 +434,7 @@ SET SESSION binlog_format = STATEMENT;
CREATE
TABLE
t1
(
a
INT
);
CREATE
TABLE
t1
(
a
INT
);
CREATE
TABLE
t2
(
a
INT
,
b
INT
PRIMARY
KEY
AUTO_INCREMENT
);
CREATE
TABLE
t2
(
a
INT
,
b
INT
PRIMARY
KEY
AUTO_INCREMENT
);
CREATE
TABLE
t3
(
a
INT
,
b
INT
PRIMARY
KEY
AUTO_INCREMENT
);
CREATE
TABLE
t3
(
a
INT
,
b
INT
PRIMARY
KEY
AUTO_INCREMENT
);
# The purpose of this function is to insert into t1 so that the second
# The purpose of this function is to insert into t1 so that the second
# column is auto_increment'ed.
# column is auto_increment'ed.
delimiter
|
;
delimiter
|
;
...
@@ -463,6 +464,7 @@ DROP TABLE t1,t2,t3;
...
@@ -463,6 +464,7 @@ DROP TABLE t1,t2,t3;
# generate a warning. Each INSERT statement below should generate a
# generate a warning. Each INSERT statement below should generate a
# warning.
# warning.
#
#
SET
SESSION
binlog_format
=
STATEMENT
;
CREATE
TABLE
t1
(
a
VARCHAR
(
1000
));
CREATE
TABLE
t1
(
a
VARCHAR
(
1000
));
INSERT
INTO
t1
VALUES
(
CURRENT_USER
());
#marked unsafe before BUG#47995
INSERT
INTO
t1
VALUES
(
CURRENT_USER
());
#marked unsafe before BUG#47995
...
...
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