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
325540b5
Commit
325540b5
authored
Jan 20, 2010
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
1c645ef9
c99be56d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
mysql-test/suite/sys_vars/r/delayed_insert_limit_func.result
mysql-test/suite/sys_vars/r/delayed_insert_limit_func.result
+4
-4
mysql-test/suite/sys_vars/t/delayed_insert_limit_func.test
mysql-test/suite/sys_vars/t/delayed_insert_limit_func.test
+3
-1
No files found.
mysql-test/suite/sys_vars/r/delayed_insert_limit_func.result
View file @
325540b5
...
...
@@ -100,19 +100,19 @@ INSERT DELAYED INTO t1 VALUES('21');
INSERT DELAYED INTO t1 VALUES('22');|
** Connection con0 **
Asynchronous execute
SELECT COUNT(*)
=
22 FROM t1;
SELECT COUNT(*)
BETWEEN 6 AND
22 FROM t1;
** Connection default **
** Wait till con0 is blocked **
UNLOCK TABLES;
** Connection con1 **
** Connection con0 **
Asynchronous "reap" result
COUNT(*)
=
22
COUNT(*)
BETWEEN 6 AND
22
1
** Connection default**
Checking if the delayed insert gives the same result afterwards
SELECT COUNT(*)
=
22 FROM t1;
COUNT(*)
=
22
SELECT COUNT(*)
BETWEEN 6 AND
22 FROM t1;
COUNT(*)
BETWEEN 6 AND
22
1
** Connection default**
DROP TABLE t1;
...
...
mysql-test/suite/sys_vars/t/delayed_insert_limit_func.test
View file @
325540b5
...
...
@@ -205,7 +205,9 @@ let $wait_condition=
WHERE
variable_name
like
'Not_flushed_delayed_rows'
;
--
source
include
/
wait_condition
.
inc
--
echo
Asynchronous
execute
let
$my_select
=
SELECT
COUNT
(
*
)
=
22
FROM
t1
;
# Due to performance and server behaveiour the test observes values between 6 and 22.
# In any case the value must not be outside of that range.
let
$my_select
=
SELECT
COUNT
(
*
)
BETWEEN
6
AND
22
FROM
t1
;
send
;
eval
$my_select
;
...
...
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