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
2985ec2d
Commit
2985ec2d
authored
Oct 31, 2012
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add a forgotten debug sync point, that a test case was referring to
parent
937ae82a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
mysql-test/suite/innodb/r/auto_increment_dup.result
mysql-test/suite/innodb/r/auto_increment_dup.result
+1
-1
mysql-test/suite/innodb/t/auto_increment_dup.test
mysql-test/suite/innodb/t/auto_increment_dup.test
+1
-1
sql/handler.cc
sql/handler.cc
+1
-0
No files found.
mysql-test/suite/innodb/r/auto_increment_dup.result
View file @
2985ec2d
...
@@ -13,7 +13,7 @@ INSERT INTO t1(k) VALUES (1), (2), (3) ON DUPLICATE KEY UPDATE c='1';
...
@@ -13,7 +13,7 @@ INSERT INTO t1(k) VALUES (1), (2), (3) ON DUPLICATE KEY UPDATE c='1';
#
#
# Connection 2
# Connection 2
#
#
SET DEBUG_SYNC='
start_ha_write_row
WAIT_FOR continue2';
SET DEBUG_SYNC='
ha_write_row_start
WAIT_FOR continue2';
affected rows: 0
affected rows: 0
SET DEBUG_SYNC='after_mysql_insert SIGNAL continue1';
SET DEBUG_SYNC='after_mysql_insert SIGNAL continue1';
affected rows: 0
affected rows: 0
...
...
mysql-test/suite/innodb/t/auto_increment_dup.test
View file @
2985ec2d
...
@@ -33,7 +33,7 @@ SET DEBUG_SYNC='ha_write_row_end SIGNAL continue2 WAIT_FOR continue1';
...
@@ -33,7 +33,7 @@ SET DEBUG_SYNC='ha_write_row_end SIGNAL continue2 WAIT_FOR continue1';
--
echo
#
--
echo
#
--
echo
# Connection 2
--
echo
# Connection 2
--
echo
#
--
echo
#
SET
DEBUG_SYNC
=
'
start_ha_write_row
WAIT_FOR continue2'
;
SET
DEBUG_SYNC
=
'
ha_write_row_start
WAIT_FOR continue2'
;
SET
DEBUG_SYNC
=
'after_mysql_insert SIGNAL continue1'
;
SET
DEBUG_SYNC
=
'after_mysql_insert SIGNAL continue1'
;
INSERT
INTO
t1
(
k
)
VALUES
(
2
),
(
4
),
(
5
)
ON
DUPLICATE
KEY
UPDATE
c
=
'2'
;
INSERT
INTO
t1
(
k
)
VALUES
(
2
),
(
4
),
(
5
)
ON
DUPLICATE
KEY
UPDATE
c
=
'2'
;
...
...
sql/handler.cc
View file @
2985ec2d
...
@@ -5335,6 +5335,7 @@ int handler::ha_write_row(uchar *buf)
...
@@ -5335,6 +5335,7 @@ int handler::ha_write_row(uchar *buf)
int
error
;
int
error
;
Log_func
*
log_func
=
Write_rows_log_event
::
binlog_row_logging_function
;
Log_func
*
log_func
=
Write_rows_log_event
::
binlog_row_logging_function
;
DBUG_ENTER
(
"handler::ha_write_row"
);
DBUG_ENTER
(
"handler::ha_write_row"
);
DEBUG_SYNC_C
(
"ha_write_row_start"
);
/* If we have a timestamp column, update it to the current time */
/* If we have a timestamp column, update it to the current time */
if
(
table
->
timestamp_field_type
&
TIMESTAMP_AUTO_SET_ON_INSERT
)
if
(
table
->
timestamp_field_type
&
TIMESTAMP_AUTO_SET_ON_INSERT
)
...
...
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