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
02fb9a88
Commit
02fb9a88
authored
Sep 30, 2014
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DB-724 run bf_create_select_hash_part on PS 5.6.21
parent
753e4f3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
mysql-test/suite/tokudb/t/bf_create_select_hash_part.test
mysql-test/suite/tokudb/t/bf_create_select_hash_part.test
+4
-4
No files found.
mysql-test/suite/tokudb/t/bf_create_select_hash_part.test
View file @
02fb9a88
...
@@ -65,8 +65,8 @@ while ($i < $maxq) {
...
@@ -65,8 +65,8 @@ while ($i < $maxq) {
}
}
let
$time_elapsed_off
=
`select unix_timestamp() - $s`
;
let
$time_elapsed_off
=
`select unix_timestamp() - $s`
;
# check that bulk fetch on is at least
2
times faster than bulk fetch off
# check that bulk fetch on is at least
1.5
times faster than bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >=
2
* $time_elapsed_on`
;
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >=
1.5
* $time_elapsed_on`
;
echo
$verdict
;
echo
$verdict
;
if
(
$debug
)
{
echo
index
$verdict
$time_elapsed_off
$time_elapsed_on
;
}
if
(
$debug
)
{
echo
index
$verdict
$time_elapsed_off
$time_elapsed_on
;
}
if
(
!
$verdict
)
{
echo
index
$time_elapsed_off
$time_elapsed_on
;
}
if
(
!
$verdict
)
{
echo
index
$time_elapsed_off
$time_elapsed_on
;
}
...
@@ -93,8 +93,8 @@ while ($i < $maxq) {
...
@@ -93,8 +93,8 @@ while ($i < $maxq) {
}
}
let
$time_elapsed_off
=
`select unix_timestamp() - $s`
;
let
$time_elapsed_off
=
`select unix_timestamp() - $s`
;
# check that bulk fetch on is at least
2
times faster than bulk fetch off
# check that bulk fetch on is at least
1.5
times faster than bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >=
2
* $time_elapsed_on`
;
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >=
1.5
* $time_elapsed_on`
;
echo
$verdict
;
echo
$verdict
;
if
(
$debug
)
{
echo
range
$verdict
$time_elapsed_off
$time_elapsed_on
;
}
if
(
$debug
)
{
echo
range
$verdict
$time_elapsed_off
$time_elapsed_on
;
}
if
(
!
$verdict
)
{
echo
range
$time_elapsed_off
$time_elapsed_on
;
}
if
(
!
$verdict
)
{
echo
range
$time_elapsed_off
$time_elapsed_on
;
}
...
...
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