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
47599b5d
Commit
47599b5d
authored
Sep 30, 2009
by
Alfranio Correia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Post-fix for BUG#43789
NOTE: Backporting the patch to next-mr.
parent
19e6d1c5
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
43 additions
and
42 deletions
+43
-42
mysql-test/collections/default.experimental
mysql-test/collections/default.experimental
+1
-0
mysql-test/extra/rpl_tests/rpl_not_null.test
mysql-test/extra/rpl_tests/rpl_not_null.test
+18
-18
mysql-test/suite/rpl/r/rpl_not_null_innodb.result
mysql-test/suite/rpl/r/rpl_not_null_innodb.result
+12
-12
mysql-test/suite/rpl/r/rpl_not_null_myisam.result
mysql-test/suite/rpl/r/rpl_not_null_myisam.result
+12
-12
No files found.
mysql-test/collections/default.experimental
View file @
47599b5d
...
...
@@ -6,3 +6,4 @@ rpl.rpl_row_create_table* # Bug#45576: rpl_row_create_table fails
rpl_ndb.rpl_ndb_log # Bug#38998
rpl.rpl_innodb_bug28430* @solaris # Bug#46029
rpl.rpl_get_master_version_and_clock* # Bug#46931 2009-08-26 alik rpl.rpl_get_master_version_and_clock fails on hpux11.31
rpl_ndb.rpl_ndb_extraCol* # BUG#41369 2008-12-10 alik, BUG#47741 2009-09-30 alfranio
mysql-test/extra/rpl_tests/rpl_not_null.test
View file @
47599b5d
...
...
@@ -81,13 +81,13 @@ source include/diff_tables.inc;
--
echo
TABLES
t2
and
t3
must
be
different
.
connection
master
;
SELECT
*
FROM
t3
;
SELECT
*
FROM
t3
ORDER
BY
a
;
connection
slave
;
SELECT
*
FROM
t3
;
SELECT
*
FROM
t3
ORDER
BY
a
;
connection
master
;
SELECT
*
FROM
t4
;
SELECT
*
FROM
t4
ORDER
BY
a
;
connection
slave
;
SELECT
*
FROM
t4
;
SELECT
*
FROM
t4
ORDER
BY
a
;
--
echo
*************
EXECUTION
WITH
UPDATES
and
REPLACES
*************
connection
master
;
...
...
@@ -139,9 +139,9 @@ INSERT INTO t1(a) VALUES (5);
--
echo
TABLES
t1
and
t2
must
be
different
.
sync_slave_with_master
;
connection
master
;
SELECT
a
,
b
+
0
,
c
+
0
FROM
t1
;
SELECT
a
,
b
+
0
,
c
+
0
FROM
t1
ORDER
BY
a
;
connection
slave
;
SELECT
a
,
b
+
0
,
c
+
0
FROM
t1
;
SELECT
a
,
b
+
0
,
c
+
0
FROM
t1
ORDER
BY
a
;
--
echo
*************
EXECUTION
WITH
UPDATES
and
REPLACES
*************
connection
master
;
...
...
@@ -262,17 +262,17 @@ sync_slave_with_master;
# connection slave;
# --source include/wait_for_slave_sql_to_stop.inc
# connection master;
# SELECT * FROM t1;
# SELECT * FROM t1
ORDER BY a
;
# connection slave;
# SELECT * FROM t1;
# SELECT * FROM t1
ORDER BY a
;
# connection master;
# SELECT * FROM t2;
# SELECT * FROM t2
ORDER BY a
;
# connection slave;
# SELECT * FROM t2;
# SELECT * FROM t2
ORDER BY a
;
# connection master;
# SELECT * FROM t3;
# SELECT * FROM t3
ORDER BY a
;
# connection slave;
# SELECT * FROM t3;
# SELECT * FROM t3
ORDER BY a
;
# --source include/reset_master_and_slave.inc
#
# connection master;
...
...
@@ -343,17 +343,17 @@ connection master;
sync_slave_with_master
;
connection
master
;
SELECT
*
FROM
t1
;
SELECT
*
FROM
t1
ORDER
BY
a
;
connection
slave
;
SELECT
*
FROM
t1
;
SELECT
*
FROM
t1
ORDER
BY
a
;
connection
master
;
SELECT
*
FROM
t2
;
SELECT
*
FROM
t2
ORDER
BY
a
;
connection
slave
;
SELECT
*
FROM
t2
;
SELECT
*
FROM
t2
ORDER
BY
a
;
connection
master
;
SELECT
*
FROM
t3
;
SELECT
*
FROM
t3
ORDER
BY
a
;
connection
slave
;
SELECT
*
FROM
t3
;
SELECT
*
FROM
t3
ORDER
BY
a
;
connection
master
;
...
...
mysql-test/suite/rpl/r/rpl_not_null_innodb.result
View file @
47599b5d
...
...
@@ -48,24 +48,24 @@ TABLES t1 and t2 must be equal otherwise an error will be thrown.
Comparing tables master:test.t1 and slave:test.t1
Comparing tables master:test.t2 and slave:test.t2
TABLES t2 and t3 must be different.
SELECT * FROM t3;
SELECT * FROM t3
ORDER BY a
;
a b
1 NULL
2 1111-11-11
3 NULL
SELECT * FROM t3;
SELECT * FROM t3
ORDER BY a
;
a b c
1 NULL 500
2 1111-11-11 500
3 NULL 500
SELECT * FROM t4;
SELECT * FROM t4
ORDER BY a
;
a b c
1 NULL 1
2 1111-11-11 2
3 NULL NULL
4 NULL 4
5 NULL NULL
SELECT * FROM t4;
SELECT * FROM t4
ORDER BY a
;
a b
1 NULL
2 1111-11-11
...
...
@@ -100,14 +100,14 @@ INSERT INTO t1(a,c) VALUES (4, b'01');
INSERT INTO t1(a) VALUES (5);
************* SHOWING THE RESULT SETS WITH INSERTS *************
TABLES t1 and t2 must be different.
SELECT a,b+0,c+0 FROM t1;
SELECT a,b+0,c+0 FROM t1
ORDER BY a
;
a b+0 c+0
1 NULL 1
2 0 1
3 NULL NULL
4 NULL 1
5 NULL NULL
SELECT a,b+0,c+0 FROM t1;
SELECT a,b+0,c+0 FROM t1
ORDER BY a
;
a b+0 c+0
1 NULL 1
2 0 1
...
...
@@ -163,34 +163,34 @@ REPLACE INTO t3(a, b) VALUES (5, null);
REPLACE INTO t3(a, b) VALUES (3, null);
UPDATE t3 SET b = NULL where a = 4;
************* SHOWING THE RESULT SETS *************
SELECT * FROM t1;
SELECT * FROM t1
ORDER BY a
;
a b
1 NULL
2 NULL
3 1
SELECT * FROM t1;
SELECT * FROM t1
ORDER BY a
;
a b c
1 0 0
2 0 0
3 1 0
SELECT * FROM t2;
SELECT * FROM t2
ORDER BY a
;
a b
1 NULL
2 NULL
3 1
SELECT * FROM t2;
SELECT * FROM t2
ORDER BY a
;
a b c
1 0 NULL
2 0 NULL
3 1 NULL
SELECT * FROM t3;
SELECT * FROM t3
ORDER BY a
;
a b
1 NULL
2 NULL
3 NULL
4 NULL
5 NULL
SELECT * FROM t3;
SELECT * FROM t3
ORDER BY a
;
a b c
1 0 500
2 0 500
...
...
mysql-test/suite/rpl/r/rpl_not_null_myisam.result
View file @
47599b5d
...
...
@@ -48,24 +48,24 @@ TABLES t1 and t2 must be equal otherwise an error will be thrown.
Comparing tables master:test.t1 and slave:test.t1
Comparing tables master:test.t2 and slave:test.t2
TABLES t2 and t3 must be different.
SELECT * FROM t3;
SELECT * FROM t3
ORDER BY a
;
a b
1 NULL
2 1111-11-11
3 NULL
SELECT * FROM t3;
SELECT * FROM t3
ORDER BY a
;
a b c
1 NULL 500
2 1111-11-11 500
3 NULL 500
SELECT * FROM t4;
SELECT * FROM t4
ORDER BY a
;
a b c
1 NULL 1
2 1111-11-11 2
3 NULL NULL
4 NULL 4
5 NULL NULL
SELECT * FROM t4;
SELECT * FROM t4
ORDER BY a
;
a b
1 NULL
2 1111-11-11
...
...
@@ -100,14 +100,14 @@ INSERT INTO t1(a,c) VALUES (4, b'01');
INSERT INTO t1(a) VALUES (5);
************* SHOWING THE RESULT SETS WITH INSERTS *************
TABLES t1 and t2 must be different.
SELECT a,b+0,c+0 FROM t1;
SELECT a,b+0,c+0 FROM t1
ORDER BY a
;
a b+0 c+0
1 NULL 1
2 0 1
3 NULL NULL
4 NULL 1
5 NULL NULL
SELECT a,b+0,c+0 FROM t1;
SELECT a,b+0,c+0 FROM t1
ORDER BY a
;
a b+0 c+0
1 NULL 1
2 0 1
...
...
@@ -163,34 +163,34 @@ REPLACE INTO t3(a, b) VALUES (5, null);
REPLACE INTO t3(a, b) VALUES (3, null);
UPDATE t3 SET b = NULL where a = 4;
************* SHOWING THE RESULT SETS *************
SELECT * FROM t1;
SELECT * FROM t1
ORDER BY a
;
a b
1 NULL
2 NULL
3 1
SELECT * FROM t1;
SELECT * FROM t1
ORDER BY a
;
a b c
1 0 0
2 0 0
3 1 0
SELECT * FROM t2;
SELECT * FROM t2
ORDER BY a
;
a b
1 NULL
2 NULL
3 1
SELECT * FROM t2;
SELECT * FROM t2
ORDER BY a
;
a b c
1 0 NULL
2 0 NULL
3 1 NULL
SELECT * FROM t3;
SELECT * FROM t3
ORDER BY a
;
a b
1 NULL
2 NULL
3 NULL
4 NULL
5 NULL
SELECT * FROM t3;
SELECT * FROM t3
ORDER BY a
;
a b c
1 0 500
2 0 500
...
...
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