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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
24d27e3b
Commit
24d27e3b
authored
Feb 27, 2008
by
kostja@dipika.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Bug#12713 test results to take into account fixed bugs (29157, 33846)
parent
566ca2ba
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
18 deletions
+8
-18
mysql-test/include/commit.inc
mysql-test/include/commit.inc
+4
-9
mysql-test/r/commit_1innodb.result
mysql-test/r/commit_1innodb.result
+4
-9
No files found.
mysql-test/include/commit.inc
View file @
24d27e3b
...
...
@@ -421,15 +421,10 @@ call p_verify_status_increment(2, 2, 2, 2);
--
echo
# 4. Read-write statement: UPDATE, update 0 rows, 1 row matches WHERE
--
echo
#
--
echo
# Note the wrong Handler_prepare/Handler_commit count is due to
--
echo
# Bug#29157 "UPDATE, changed rows incorrect" and
--
echo
# Bug#Bug #33846 UPDATE word:Wrong 'Changed rows' if InnoDB, unique
--
echo
# key and no rows qualify WHERE
--
echo
#
update
t1
set
a
=
2
;
call
p_verify_status_increment
(
2
,
2
,
2
,
2
);
call
p_verify_status_increment
(
2
,
2
,
1
,
0
);
commit
;
call
p_verify_status_increment
(
2
,
2
,
2
,
2
);
call
p_verify_status_increment
(
2
,
2
,
1
,
0
);
--
echo
# 5. Read-write statement: UPDATE, update 0 rows, 0 rows match WHERE
--
echo
#
...
...
@@ -483,9 +478,9 @@ call p_verify_status_increment(2, 2, 2, 2);
--
echo
# 10. Read-write statement: REPLACE, change 0 rows.
--
echo
#
replace
t1
set
a
=
1
;
call
p_verify_status_increment
(
2
,
2
,
2
,
2
);
call
p_verify_status_increment
(
2
,
2
,
1
,
0
);
commit
;
call
p_verify_status_increment
(
2
,
2
,
2
,
2
);
call
p_verify_status_increment
(
2
,
2
,
1
,
0
);
--
echo
# 11. Read-write statement: IODKU, change 1 row.
--
echo
#
...
...
mysql-test/r/commit_1innodb.result
View file @
24d27e3b
...
...
@@ -416,17 +416,12 @@ SUCCESS
# 4. Read-write statement: UPDATE, update 0 rows, 1 row matches WHERE
#
# Note the wrong Handler_prepare/Handler_commit count is due to
# Bug#29157 "UPDATE, changed rows incorrect" and
# Bug#Bug #33846 UPDATE word:Wrong 'Changed rows' if InnoDB, unique
# key and no rows qualify WHERE
#
update t1 set a=2;
call p_verify_status_increment(2, 2,
2, 2
);
call p_verify_status_increment(2, 2,
1, 0
);
SUCCESS
commit;
call p_verify_status_increment(2, 2,
2, 2
);
call p_verify_status_increment(2, 2,
1, 0
);
SUCCESS
# 5. Read-write statement: UPDATE, update 0 rows, 0 rows match WHERE
...
...
@@ -496,11 +491,11 @@ SUCCESS
# 10. Read-write statement: REPLACE, change 0 rows.
#
replace t1 set a=1;
call p_verify_status_increment(2, 2,
2, 2
);
call p_verify_status_increment(2, 2,
1, 0
);
SUCCESS
commit;
call p_verify_status_increment(2, 2,
2, 2
);
call p_verify_status_increment(2, 2,
1, 0
);
SUCCESS
# 11. Read-write statement: IODKU, change 1 row.
...
...
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