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
4bc4a696
Commit
4bc4a696
authored
Jan 14, 2011
by
Mikael Ronstrom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates tests to handle thread pool correctly
parent
fc12800c
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
34 additions
and
7 deletions
+34
-7
BUILD/build_mccge.sh
BUILD/build_mccge.sh
+2
-1
mysql-test/include/have_archive_plugin.inc
mysql-test/include/have_archive_plugin.inc
+5
-0
mysql-test/include/have_blackhole_plugin.inc
mysql-test/include/have_blackhole_plugin.inc
+6
-0
mysql-test/include/not_threadpool.inc
mysql-test/include/not_threadpool.inc
+5
-0
mysql-test/r/status.result
mysql-test/r/status.result
+0
-6
mysql-test/r/status_bug17954.result
mysql-test/r/status_bug17954.result
+13
-0
mysql-test/suite/sys_vars/t/slow_launch_time_func.test
mysql-test/suite/sys_vars/t/slow_launch_time_func.test
+1
-0
mysql-test/suite/sys_vars/t/thread_cache_size_func.test
mysql-test/suite/sys_vars/t/thread_cache_size_func.test
+1
-0
mysql-test/suite/sys_vars/t/wait_timeout_func.test
mysql-test/suite/sys_vars/t/wait_timeout_func.test
+1
-0
No files found.
BUILD/build_mccge.sh
View file @
4bc4a696
...
...
@@ -293,7 +293,8 @@ extended_usage()
version string suffix: [none]
All packages except Classic include support for user-defined
partitioning.
partitioning. All packages include support for Performance
Schema.
If --with-debug is used, an additional "-debug" is appended to the
version string.
...
...
mysql-test/include/have_archive_plugin.inc
View file @
4bc4a696
disable_query_log
;
if
(
`select plugin_library IS NULL from information_schema.plugins where plugin_name LIKE '%archive%'`
)
{
--
skip
archive
plugin
not
available
}
if
(
`SELECT @@plugin_dir != '$ARCHIVE_PLUGIN_DIR'`
)
{
--
skip
Archive
plugin
requires
that
--
plugin
-
dir
is
set
to
the
archive
plugin
dir
(
either
the
.
opt
file
does
not
contain
\
$ARCHIVE_PLUGIN_OPT
or
another
plugin
is
in
use
)
}
enable_query_log
;
\ No newline at end of file
mysql-test/include/have_blackhole_plugin.inc
View file @
4bc4a696
disable_query_log
;
if
(
`select plugin_library IS NULL from information_schema.plugins where plugin_name LIKE '%blackhole%'`
)
{
--
skip
blackhole
plugin
not
available
;
}
if
(
`SELECT @@plugin_dir != '$BLACKHOLE_PLUGIN_DIR'`
)
{
--
skip
Blackhole
plugin
requires
that
--
plugin
-
dir
is
set
to
the
blackhole
plugin
dir
(
either
the
.
opt
file
does
not
contain
\
$BLACKHOLE_PLUGIN_OPT
or
another
plugin
is
in
use
)
}
enable_query_log
;
mysql-test/include/not_threadpool.inc
0 → 100644
View file @
4bc4a696
if
(
`SELECT count(*) FROM information_schema.GLOBAL_VARIABLES WHERE
VARIABLE_NAME = 'THREAD_HANDLING' AND
VARIABLE_VALUE = 'loaded-dynamically'`
){
skip
Test
requires
:
'not_threadpool'
;
}
mysql-test/r/status.result
View file @
4bc4a696
...
...
@@ -238,11 +238,5 @@ SELECT 9;
9
DROP PROCEDURE p1;
DROP FUNCTION f1;
DROP VIEW IF EXISTS v1;
CREATE VIEW v1 AS SELECT VARIABLE_NAME AS NAME, CONVERT(VARIABLE_VALUE, UNSIGNED) AS VALUE FROM INFORMATION_SCHEMA.GLOBAL_STATUS;
SELECT VALUE INTO @tc FROM v1 WHERE NAME = 'Threads_connected';
SELECT NAME FROM v1 WHERE NAME = 'Threads_created' AND VALUE < @tc;
NAME
DROP VIEW v1;
set @@global.concurrent_insert= @old_concurrent_insert;
SET GLOBAL log_output = @old_log_output;
mysql-test/r/status_bug17954.result
0 → 100644
View file @
4bc4a696
set @old_concurrent_insert= @@global.concurrent_insert;
set @@global.concurrent_insert= 0;
SET @old_log_output = @@global.log_output;
SET GLOBAL LOG_OUTPUT = 'FILE';
flush status;
DROP VIEW IF EXISTS v1;
CREATE VIEW v1 AS SELECT VARIABLE_NAME AS NAME, CONVERT(VARIABLE_VALUE, UNSIGNED) AS VALUE FROM INFORMATION_SCHEMA.GLOBAL_STATUS;
SELECT VALUE INTO @tc FROM v1 WHERE NAME = 'Threads_connected';
SELECT NAME FROM v1 WHERE NAME = 'Threads_created' AND VALUE < @tc;
NAME
DROP VIEW v1;
set @@global.concurrent_insert= @old_concurrent_insert;
SET GLOBAL log_output = @old_log_output;
mysql-test/suite/sys_vars/t/slow_launch_time_func.test
View file @
4bc4a696
...
...
@@ -31,6 +31,7 @@
#
--
source
include
/
not_embedded
.
inc
--
source
include
/
not_threadpool
.
inc
SET
@
global_slow_launch_time
=
@@
GLOBAL
.
slow_launch_time
;
...
...
mysql-test/suite/sys_vars/t/thread_cache_size_func.test
View file @
4bc4a696
...
...
@@ -28,6 +28,7 @@
#
--
source
include
/
not_embedded
.
inc
--
source
include
/
not_threadpool
.
inc
SET
@
global_thread_cache_size
=
@@
GLOBAL
.
thread_cache_size
;
...
...
mysql-test/suite/sys_vars/t/wait_timeout_func.test
View file @
4bc4a696
...
...
@@ -22,6 +22,7 @@
###############################################################################
--
source
include
/
not_embedded
.
inc
--
source
include
/
not_threadpool
.
inc
SET
@
start_value
=
@@
global
.
wait_timeout
;
...
...
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