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
c3146912
Commit
c3146912
authored
Oct 02, 2006
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge romeo.(none):/home/bkroot/mysql-5.1-new-rpl
into romeo.(none):/home/bk/fix-mysql-5.1-new-rpl
parents
a4098c31
f6e021c3
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
45 additions
and
5 deletions
+45
-5
mysql-test/extra/rpl_tests/rpl_row_basic.test
mysql-test/extra/rpl_tests/rpl_row_basic.test
+0
-0
mysql-test/r/rpl_row_basic_11bugs.result
mysql-test/r/rpl_row_basic_11bugs.result
+21
-1
mysql-test/t/rpl_row_basic_11bugs.test
mysql-test/t/rpl_row_basic_11bugs.test
+21
-1
mysql-test/t/rpl_row_basic_2myisam.test
mysql-test/t/rpl_row_basic_2myisam.test
+1
-1
mysql-test/t/rpl_row_basic_3innodb.test
mysql-test/t/rpl_row_basic_3innodb.test
+1
-1
mysql-test/t/rpl_row_basic_7ndb.test
mysql-test/t/rpl_row_basic_7ndb.test
+1
-1
No files found.
mysql-test/
include/rpl_row_basic.inc
→
mysql-test/
extra/rpl_tests/rpl_row_basic.test
View file @
c3146912
File moved
mysql-test/r/rpl_row_basic_11bugs.result
View file @
c3146912
...
...
@@ -99,4 +99,24 @@ a
7
8
9
DROP TABLE t1;
================ Test for BUG#22550 ================
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
reset master;
reset slave;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
start slave;
CREATE TABLE t1 (a BIT(1), b INT) ENGINE=MYISAM;
INSERT INTO t1 VALUES(1,2);
SELECT HEX(a),b FROM t1;
HEX(a) b
1 2
SELECT HEX(a),b FROM t1;
HEX(a) b
1 2
UPDATE t1 SET a=0 WHERE b=2;
SELECT HEX(a),b FROM t1;
HEX(a) b
0 2
SELECT HEX(a),b FROM t1;
HEX(a) b
0 2
mysql-test/t/rpl_row_basic_11bugs.test
View file @
c3146912
...
...
@@ -93,4 +93,24 @@ INSERT INTO t1 VALUES (7),(8),(9);
sync_slave_with_master
;
SELECT
*
FROM
t1
;
DROP
TABLE
t1
;
# Bug#22550: Replication of BIT columns failing
--
echo
================
Test
for
BUG
#22550 ================
--
disable_query_log
--
source
include
/
master
-
slave
-
reset
.
inc
--
enable_query_log
connection
master
;
CREATE
TABLE
t1
(
a
BIT
(
1
),
b
INT
)
ENGINE
=
MYISAM
;
sync_slave_with_master
;
connection
master
;
INSERT
INTO
t1
VALUES
(
1
,
2
);
SELECT
HEX
(
a
),
b
FROM
t1
;
sync_slave_with_master
;
SELECT
HEX
(
a
),
b
FROM
t1
;
connection
master
;
UPDATE
t1
SET
a
=
0
WHERE
b
=
2
;
SELECT
HEX
(
a
),
b
FROM
t1
;
sync_slave_with_master
;
SELECT
HEX
(
a
),
b
FROM
t1
;
mysql-test/t/rpl_row_basic_2myisam.test
View file @
c3146912
let
$type
=
'MYISAM'
;
let
$extra_index
=
;
--
source
include
/
rpl_row_basic
.
inc
--
source
extra
/
rpl_tests
/
rpl_row_basic
.
test
mysql-test/t/rpl_row_basic_3innodb.test
View file @
c3146912
...
...
@@ -2,5 +2,5 @@
let
$type
=
'INNODB'
;
let
$extra_index
=
;
--
source
include
/
rpl_row_basic
.
inc
--
source
extra
/
rpl_tests
/
rpl_row_basic
.
test
mysql-test/t/rpl_row_basic_7ndb.test
View file @
c3146912
--
source
include
/
have_ndb
.
inc
let
$type
=
'NDB'
;
let
$extra_index
=
;
--
source
include
/
rpl_row_basic
.
inc
--
source
extra
/
rpl_tests
/
rpl_row_basic
.
test
--
source
include
/
master
-
slave
-
end
.
inc
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