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
9a56d67c
Commit
9a56d67c
authored
Feb 13, 2006
by
ingo@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WL#1563 - Modify MySQL to support fast CREATE/DROP INDEX
Fixes for row level logging.
parent
8efa06bd
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+10
-10
mysql-test/r/binlog_row_insert_select.result
mysql-test/r/binlog_row_insert_select.result
+2
-2
mysql-test/r/rpl_row_basic_2myisam.result
mysql-test/r/rpl_row_basic_2myisam.result
+3
-3
mysql-test/r/rpl_row_basic_3innodb.result
mysql-test/r/rpl_row_basic_3innodb.result
+3
-3
mysql-test/r/rpl_row_create_table.result
mysql-test/r/rpl_row_create_table.result
+2
-2
No files found.
mysql-test/r/binlog_row_insert_select.result
View file @
9a56d67c
...
@@ -4,7 +4,7 @@ create table t2(a int);
...
@@ -4,7 +4,7 @@ create table t2(a int);
insert into t2 values(1),(2);
insert into t2 values(1),(2);
reset master;
reset master;
insert into t1 select * from t2;
insert into t1 select * from t2;
ERROR 23000: Duplicate entry '2' for key
1
ERROR 23000: Duplicate entry '2' for key
'a'
show binlog events;
show binlog events;
Log_name Pos Event_type Server_id End_log_pos Info
Log_name Pos Event_type Server_id End_log_pos Info
master-bin.000001 4 Format_desc 1 102 Server ver: VERSION, Binlog ver: 4
master-bin.000001 4 Format_desc 1 102 Server ver: VERSION, Binlog ver: 4
...
@@ -19,7 +19,7 @@ create table t1(a int);
...
@@ -19,7 +19,7 @@ create table t1(a int);
insert into t1 values(1),(1);
insert into t1 values(1),(1);
reset master;
reset master;
create table t2(unique(a)) select a from t1;
create table t2(unique(a)) select a from t1;
ERROR 23000: Duplicate entry '1' for key
1
ERROR 23000: Duplicate entry '1' for key
'a'
show binlog events;
show binlog events;
Log_name Pos Event_type Server_id End_log_pos Info
Log_name Pos Event_type Server_id End_log_pos Info
master-bin.000001 4 Format_desc 1 102 Server ver: VERSION, Binlog ver: 4
master-bin.000001 4 Format_desc 1 102 Server ver: VERSION, Binlog ver: 4
...
...
mysql-test/r/rpl_row_basic_2myisam.result
View file @
9a56d67c
...
@@ -392,11 +392,11 @@ DROP TABLE t7;
...
@@ -392,11 +392,11 @@ DROP TABLE t7;
CREATE TABLE t7 (a INT PRIMARY KEY, b INT UNIQUE, c INT UNIQUE) ENGINE = 'MYISAM' ;
CREATE TABLE t7 (a INT PRIMARY KEY, b INT UNIQUE, c INT UNIQUE) ENGINE = 'MYISAM' ;
INSERT INTO t7 VALUES (99,99,99);
INSERT INTO t7 VALUES (99,99,99);
INSERT INTO t7 VALUES (99,22,33);
INSERT INTO t7 VALUES (99,22,33);
ERROR 23000: Duplicate entry '99' for key
1
ERROR 23000: Duplicate entry '99' for key
'PRIMARY'
INSERT INTO t7 VALUES (11,99,33);
INSERT INTO t7 VALUES (11,99,33);
ERROR 23000: Duplicate entry '99' for key
2
ERROR 23000: Duplicate entry '99' for key
'b'
INSERT INTO t7 VALUES (11,22,99);
INSERT INTO t7 VALUES (11,22,99);
ERROR 23000: Duplicate entry '99' for key
3
ERROR 23000: Duplicate entry '99' for key
'c'
SELECT * FROM t7 ORDER BY a;
SELECT * FROM t7 ORDER BY a;
a b c
a b c
99 99 99
99 99 99
...
...
mysql-test/r/rpl_row_basic_3innodb.result
View file @
9a56d67c
...
@@ -392,11 +392,11 @@ DROP TABLE t7;
...
@@ -392,11 +392,11 @@ DROP TABLE t7;
CREATE TABLE t7 (a INT PRIMARY KEY, b INT UNIQUE, c INT UNIQUE) ENGINE = 'INNODB' ;
CREATE TABLE t7 (a INT PRIMARY KEY, b INT UNIQUE, c INT UNIQUE) ENGINE = 'INNODB' ;
INSERT INTO t7 VALUES (99,99,99);
INSERT INTO t7 VALUES (99,99,99);
INSERT INTO t7 VALUES (99,22,33);
INSERT INTO t7 VALUES (99,22,33);
ERROR 23000: Duplicate entry '99' for key
1
ERROR 23000: Duplicate entry '99' for key
'PRIMARY'
INSERT INTO t7 VALUES (11,99,33);
INSERT INTO t7 VALUES (11,99,33);
ERROR 23000: Duplicate entry '99' for key
2
ERROR 23000: Duplicate entry '99' for key
'b'
INSERT INTO t7 VALUES (11,22,99);
INSERT INTO t7 VALUES (11,22,99);
ERROR 23000: Duplicate entry '99' for key
3
ERROR 23000: Duplicate entry '99' for key
'c'
SELECT * FROM t7 ORDER BY a;
SELECT * FROM t7 ORDER BY a;
a b c
a b c
99 99 99
99 99 99
...
...
mysql-test/r/rpl_row_create_table.result
View file @
9a56d67c
...
@@ -126,12 +126,12 @@ NULL 4 2
...
@@ -126,12 +126,12 @@ NULL 4 2
NULL 5 10
NULL 5 10
NULL 6 12
NULL 6 12
CREATE TABLE t7 (UNIQUE(b)) SELECT a,b FROM tt3;
CREATE TABLE t7 (UNIQUE(b)) SELECT a,b FROM tt3;
ERROR 23000: Duplicate entry '2' for key
1
ERROR 23000: Duplicate entry '2' for key
'b'
SHOW BINLOG EVENTS FROM 1256;
SHOW BINLOG EVENTS FROM 1256;
Log_name Pos Event_type Server_id End_log_pos Info
Log_name Pos Event_type Server_id End_log_pos Info
CREATE TABLE t7 (a INT, b INT UNIQUE);
CREATE TABLE t7 (a INT, b INT UNIQUE);
INSERT INTO t7 SELECT a,b FROM tt3;
INSERT INTO t7 SELECT a,b FROM tt3;
ERROR 23000: Duplicate entry '2' for key
1
ERROR 23000: Duplicate entry '2' for key
'b'
SELECT * FROM t7 ORDER BY a,b;
SELECT * FROM t7 ORDER BY a,b;
a b
a b
1 2
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