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
e75f0e71
Commit
e75f0e71
authored
Aug 16, 2011
by
Sneha Modi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing a few broken tests.
parent
1c2dc010
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
81 additions
and
28 deletions
+81
-28
mysql-test/suite/sys_vars/r/innodb_file_per_table_basic.result
...-test/suite/sys_vars/r/innodb_file_per_table_basic.result
+23
-4
mysql-test/suite/sys_vars/r/innodb_lock_wait_timeout_basic.result
...st/suite/sys_vars/r/innodb_lock_wait_timeout_basic.result
+16
-5
mysql-test/suite/sys_vars/t/innodb_autoinc_lock_mode_basic.test
...test/suite/sys_vars/t/innodb_autoinc_lock_mode_basic.test
+1
-2
mysql-test/suite/sys_vars/t/innodb_fast_shutdown_basic.test
mysql-test/suite/sys_vars/t/innodb_fast_shutdown_basic.test
+2
-2
mysql-test/suite/sys_vars/t/innodb_file_per_table_basic.test
mysql-test/suite/sys_vars/t/innodb_file_per_table_basic.test
+18
-4
mysql-test/suite/sys_vars/t/innodb_io_capacity_basic.test
mysql-test/suite/sys_vars/t/innodb_io_capacity_basic.test
+4
-0
mysql-test/suite/sys_vars/t/innodb_lock_wait_timeout_basic.test
...test/suite/sys_vars/t/innodb_lock_wait_timeout_basic.test
+15
-9
mysql-test/suite/sys_vars/t/innodb_max_dirty_pages_pct_basic.test
...st/suite/sys_vars/t/innodb_max_dirty_pages_pct_basic.test
+2
-2
No files found.
mysql-test/suite/sys_vars/r/innodb_file_per_table_basic.result
View file @
e75f0e71
SET @start_global_value = @@global.innodb_file_per_table;
SELECT @start_global_value;
@start_global_value
0
'#---------------------BS_STVARS_028_01----------------------#'
SELECT COUNT(@@GLOBAL.innodb_file_per_table);
COUNT(@@GLOBAL.innodb_file_per_table)
1
1 Expected
'#---------------------BS_STVARS_028_02----------------------#'
SELECT COUNT(@@GLOBAL.innodb_file_per_table);
COUNT(@@GLOBAL.innodb_file_per_table)
SET @@global.innodb_file_per_table = 0;
SELECT @@global.innodb_file_per_table;
@@global.innodb_file_per_table
0
SET @@global.innodb_file_per_table ='On' ;
SELECT @@global.innodb_file_per_table;
@@global.innodb_file_per_table
1
SET @@global.innodb_file_per_table ='Off' ;
SELECT @@global.innodb_file_per_table;
@@global.innodb_file_per_table
0
SET @@global.innodb_file_per_table = 1;
SELECT @@global.innodb_file_per_table;
@@global.innodb_file_per_table
1
1 Expected
'#---------------------BS_STVARS_028_03----------------------#'
SELECT IF(@@GLOBAL.innodb_file_per_table,'ON','OFF') = VARIABLE_VALUE
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
...
...
@@ -47,4 +63,7 @@ COUNT(@@GLOBAL.innodb_file_per_table)
1 Expected
SELECT innodb_file_per_table = @@SESSION.innodb_file_per_table;
ERROR 42S22: Unknown column 'innodb_file_per_table' in 'field list'
Expected error 'Readonly variable'
SET @@global.innodb_file_per_table = @start_global_value;
SELECT @@global.innodb_file_per_table;
@@global.innodb_file_per_table
0
mysql-test/suite/sys_vars/r/innodb_lock_wait_timeout_basic.result
View file @
e75f0e71
SET @start_global_value=@@global.innodb_lock_wait_timeout;
SELECT @start_global_value;
@start_global_value
50
'#---------------------BS_STVARS_032_01----------------------#'
SELECT COUNT(@@GLOBAL.innodb_lock_wait_timeout);
COUNT(@@GLOBAL.innodb_lock_wait_timeout)
1
1 Expected
'#---------------------BS_STVARS_032_02----------------------#'
SELECT COUNT(@@GLOBAL.innodb_lock_wait_timeout);
COUNT(@@GLOBAL.innodb_lock_wait_timeout)
1
1 Expected
SET global innodb_lock_wait_timeout=60;
SELECT @@global.innodb_lock_wait_timeout;
@@global.innodb_lock_wait_timeout
60
SET session innodb_lock_wait_timeout=60;
SELECT @@session.innodb_lock_wait_timeout;
@@session.innodb_lock_wait_timeout
60
'#---------------------BS_STVARS_032_03----------------------#'
SELECT @@GLOBAL.innodb_lock_wait_timeout = VARIABLE_VALUE
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
...
...
@@ -47,4 +55,7 @@ COUNT(@@GLOBAL.innodb_lock_wait_timeout)
1 Expected
SELECT innodb_lock_wait_timeout = @@SESSION.innodb_lock_wait_timeout;
ERROR 42S22: Unknown column 'innodb_lock_wait_timeout' in 'field list'
Expected error 'Readonly variable'
SET @@global.innodb_lock_wait_timeout = @start_global_value;
SELECT @@global.innodb_lock_wait_timeout;
@@global.innodb_lock_wait_timeout
50
mysql-test/suite/sys_vars/t/innodb_autoinc_lock_mode_basic.test
View file @
e75f0e71
################# mysql-test\t\innodb_autoinc_lock_mode_basic.test ############
# #
# Variable Name: innodb_autoinc_lock_mode #
# Scope: GLOBAL #
# Access Type: Dynamic #
# Access Type: Static #
# Data Type: Numeric #
# Default Value: 1 #
# Range: 0,1,2 #
...
...
mysql-test/suite/sys_vars/t/innodb_fast_shutdown_basic.test
View file @
e75f0e71
...
...
@@ -3,9 +3,9 @@
# Variable Name: innodb_fast_shutdown #
# Scope: GLOBAL #
# Access Type: Dynamic #
# Data Type:
boolean
#
# Data Type:
numeric
#
# Default Value: 1 #
# Valid Values: 0,1 #
# Valid Values: 0,1
,2
#
# #
# #
# Creation Date: 2008-02-20 #
...
...
mysql-test/suite/sys_vars/t/innodb_file_per_table_basic.test
View file @
e75f0e71
...
...
@@ -4,7 +4,7 @@
# #
# Variable Name: innodb_file_per_table #
# Scope: Global #
# Access Type:
Static
#
# Access Type:
Dynamic
#
# Data Type: boolean #
# #
# #
...
...
@@ -24,6 +24,10 @@
--
source
include
/
have_innodb
.
inc
SET
@
start_global_value
=
@@
global
.
innodb_file_per_table
;
SELECT
@
start_global_value
;
--
echo
'#---------------------BS_STVARS_028_01----------------------#'
####################################################################
# Displaying default value #
...
...
@@ -37,11 +41,17 @@ SELECT COUNT(@@GLOBAL.innodb_file_per_table);
# Check if Value can set #
####################################################################
SE
LECT
COUNT
(
@@
GLOBAL
.
innodb_file_per_table
)
;
--
echo
1
Expected
SE
T
@@
global
.
innodb_file_per_table
=
0
;
SELECT
@@
global
.
innodb_file_per_table
;
SET
@@
global
.
innodb_file_per_table
=
'On'
;
SELECT
@@
global
.
innodb_file_per_table
;
SET
@@
global
.
innodb_file_per_table
=
'Off'
;
SELECT
@@
global
.
innodb_file_per_table
;
SET
@@
global
.
innodb_file_per_table
=
1
;
SELECT
@@
global
.
innodb_file_per_table
;
--
echo
'#---------------------BS_STVARS_028_03----------------------#'
#################################################################
...
...
@@ -93,6 +103,10 @@ SELECT COUNT(@@GLOBAL.innodb_file_per_table);
--
Error
ER_BAD_FIELD_ERROR
SELECT
innodb_file_per_table
=
@@
SESSION
.
innodb_file_per_table
;
--
echo
Expected
error
'Readonly variable'
#
# Cleanup
#
SET
@@
global
.
innodb_file_per_table
=
@
start_global_value
;
SELECT
@@
global
.
innodb_file_per_table
;
mysql-test/suite/sys_vars/t/innodb_io_capacity_basic.test
View file @
e75f0e71
...
...
@@ -54,5 +54,9 @@ select * from information_schema.global_variables where variable_name='innodb_io
set
global
innodb_io_capacity
=
100
;
select
@@
global
.
innodb_io_capacity
;
#
# cleanup
#
SET
@@
global
.
innodb_io_capacity
=
@
start_global_value
;
SELECT
@@
global
.
innodb_io_capacity
;
mysql-test/suite/sys_vars/t/innodb_lock_wait_timeout_basic.test
View file @
e75f0e71
...
...
@@ -3,13 +3,13 @@
################## mysql-test\t\innodb_lock_wait_timeout_basic.test ###########
# #
# Variable Name: innodb_lock_wait_timeout #
# Scope: Global
#
# Access Type:
Static
#
# Scope: Global
, Session
#
# Access Type:
Dynamic
#
# Data Type: numeric #
# #
# #
# Creation Date: 2008-02-07 #
# Author : Sharique Abdullah
#
# Author : Sharique Abdullah #
# #
# #
# Description:Test Cases of Dynamic System Variable innodb_lock_wait_timeout #
...
...
@@ -24,6 +24,9 @@
--
source
include
/
have_innodb
.
inc
SET
@
start_global_value
=@@
global
.
innodb_lock_wait_timeout
;
SELECT
@
start_global_value
;
--
echo
'#---------------------BS_STVARS_032_01----------------------#'
####################################################################
# Displaying default value #
...
...
@@ -37,11 +40,10 @@ SELECT COUNT(@@GLOBAL.innodb_lock_wait_timeout);
# Check if Value can set #
####################################################################
SELECT
COUNT
(
@@
GLOBAL
.
innodb_lock_wait_timeout
);
--
echo
1
Expected
SET
global
innodb_lock_wait_timeout
=
60
;
SELECT
@@
global
.
innodb_lock_wait_timeout
;
SET
session
innodb_lock_wait_timeout
=
60
;
SELECT
@@
session
.
innodb_lock_wait_timeout
;
--
echo
'#---------------------BS_STVARS_032_03----------------------#'
#################################################################
...
...
@@ -89,6 +91,10 @@ SELECT COUNT(@@GLOBAL.innodb_lock_wait_timeout);
--
Error
ER_BAD_FIELD_ERROR
SELECT
innodb_lock_wait_timeout
=
@@
SESSION
.
innodb_lock_wait_timeout
;
--
echo
Expected
error
'Readonly variable'
#
# Cleanup
#
SET
@@
global
.
innodb_lock_wait_timeout
=
@
start_global_value
;
SELECT
@@
global
.
innodb_lock_wait_timeout
;
mysql-test/suite/sys_vars/t/innodb_max_dirty_pages_pct_basic.test
View file @
e75f0e71
...
...
@@ -4,8 +4,8 @@
# Scope: GLOBAL #
# Access Type: Dynamic #
# Data Type: Numeric #
# Default Value:
90
#
# Range: 0-
1000
#
# Default Value:
75
#
# Range: 0-
99
#
# #
# #
# Creation Date: 2008-02-07 #
...
...
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