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
c53cb718
Commit
c53cb718
authored
May 29, 2020
by
Sachin
Committed by
Sergei Golubchik
Sep 06, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-22722 Assertion "inited==NONE" failed in handler::ha_index_init on the slave during UPDATE
test case only
parent
65b3c894
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
0 deletions
+36
-0
mysql-test/main/long_unique_bugs_replication.result
mysql-test/main/long_unique_bugs_replication.result
+12
-0
mysql-test/main/long_unique_bugs_replication.test
mysql-test/main/long_unique_bugs_replication.test
+24
-0
No files found.
mysql-test/main/long_unique_bugs_replication.result
0 → 100644
View file @
c53cb718
include/master-slave.inc
[connection master]
create table t1 (i1 int, a1 text, unique key i1 (a1)) engine=myisam;
insert into t1 values (1,1);
insert into t1 values (2,2);
update t1 set a1 = 'd' limit 1;
update t1 set a1 = 'd2' where i1= 2;
connection slave;
connection slave;
connection master;
drop table t1;
include/rpl_end.inc
mysql-test/main/long_unique_bugs_replication.test
0 → 100644
View file @
c53cb718
#
# Long unique bugs related to master slave replication
#
#
# MDEV-22722 Assertion "inited==NONE" failed in handler::ha_index_init on the slave during UPDATE
#
--
source
include
/
have_binlog_format_row
.
inc
--
source
include
/
master
-
slave
.
inc
create
table
t1
(
i1
int
,
a1
text
,
unique
key
i1
(
a1
))
engine
=
myisam
;
insert
into
t1
values
(
1
,
1
);
insert
into
t1
values
(
2
,
2
);
update
t1
set
a1
=
'd'
limit
1
;
update
t1
set
a1
=
'd2'
where
i1
=
2
;
sync_slave_with_master
;
connection
slave
;
connection
master
;
drop
table
t1
;
--
source
include
/
rpl_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