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
61ba356a
Commit
61ba356a
authored
Sep 25, 2013
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Innodb tests innodb_file_format cleanup.
parent
4a38b9db
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
24 additions
and
2 deletions
+24
-2
mysql-test/suite/innodb/r/innodb-zip.result
mysql-test/suite/innodb/r/innodb-zip.result
+2
-0
mysql-test/suite/innodb/r/innodb_file_format.result
mysql-test/suite/innodb/r/innodb_file_format.result
+0
-1
mysql-test/suite/innodb/t/innodb-index.test
mysql-test/suite/innodb/t/innodb-index.test
+8
-0
mysql-test/suite/innodb/t/innodb-zip.test
mysql-test/suite/innodb/t/innodb-zip.test
+5
-1
mysql-test/suite/innodb/t/innodb_bug47167.test
mysql-test/suite/innodb/t/innodb_bug47167.test
+5
-0
mysql-test/suite/innodb/t/innodb_file_format.test
mysql-test/suite/innodb/t/innodb_file_format.test
+4
-0
No files found.
mysql-test/suite/innodb/r/innodb-zip.result
View file @
61ba356a
...
...
@@ -362,3 +362,5 @@ select @@innodb_file_format_max;
@@innodb_file_format_max
Barracuda
drop table normal_table, zip_table;
USE test;
DROP DATABASE mysqltest_innodb_zip;
mysql-test/suite/innodb/r/innodb_file_format.result
View file @
61ba356a
...
...
@@ -46,4 +46,3 @@ Antelope
set global innodb_file_format_max=antelope;
set global innodb_file_format_check=off;
ERROR HY000: Variable 'innodb_file_format_check' is a read only variable
SET GLOBAL innodb_file_format=Antelope;
mysql-test/suite/innodb/t/innodb-index.test
View file @
61ba356a
--
source
include
/
have_innodb
.
inc
let
$innodb_file_format_orig
=
`select @@innodb_file_format`
;
let
$innodb_file_format_max_orig
=
`select @@innodb_file_format_max`
;
let
$MYSQLD_DATADIR
=
`select @@datadir`
;
let
$per_table
=
`select @@innodb_file_per_table`
;
...
...
@@ -556,3 +559,8 @@ show create table t2c;
--
disable_info
DROP
TABLE
t1
,
t2
,
t2c
,
t2i
;
--
disable_query_log
eval
SET
GLOBAL
innodb_file_format
=
$innodb_file_format_orig
;
eval
SET
GLOBAL
innodb_file_format_max
=
$innodb_file_format_max_orig
;
--
enable_query_log
mysql-test/suite/innodb/t/innodb-zip.test
View file @
61ba356a
...
...
@@ -14,6 +14,8 @@ SELECT table_name, row_format, data_length, index_length
let
$per_table
=
`select @@innodb_file_per_table`
;
let
$format
=
`select @@innodb_file_format`
;
let
$innodb_strict_mode_orig
=
`select @@session.innodb_strict_mode`
;
let
$innodb_file_format_orig
=
`select @@innodb_file_format`
;
let
$innodb_file_format_max_orig
=
`select @@innodb_file_format_max`
;
SET
@
save_innodb_stats_on_metadata
=@@
global
.
innodb_stats_on_metadata
;
...
...
@@ -332,8 +334,10 @@ drop table normal_table, zip_table;
eval
set
global
innodb_file_format
=
$format
;
eval
set
global
innodb_file_per_table
=
$per_table
;
eval
set
session
innodb_strict_mode
=
$innodb_strict_mode_orig
;
eval
SET
GLOBAL
innodb_file_format
=
$innodb_file_format_orig
;
eval
SET
GLOBAL
innodb_file_format_max
=
$innodb_file_format_max_orig
;
SET
@@
global
.
innodb_stats_on_metadata
=@
save_innodb_stats_on_metadata
;
--
enable_query_log
USE
test
;
DROP
DATABASE
mysqltest_innodb_zip
;
...
...
mysql-test/suite/innodb/t/innodb_bug47167.test
View file @
61ba356a
...
...
@@ -44,3 +44,8 @@ set global innodb_file_format_max = on;
--
error
ER_WRONG_VALUE_FOR_VAR
set
global
innodb_file_format_max
=
off
;
--
enable_warnings
# Put the saved value back to 'innodb_file_format_max'
--
disable_query_log
set
global
innodb_file_format_max
=
@
old_innodb_file_format_max
;
--
enable_query_log
mysql-test/suite/innodb/t/innodb_file_format.test
View file @
61ba356a
...
...
@@ -2,6 +2,7 @@
--
source
include
/
have_innodb
.
inc
let
$innodb_file_format_orig
=
`select @@innodb_file_format`
;
let
$innodb_file_format_max_orig
=
`select @@innodb_file_format_max`
;
select
@@
innodb_file_format
;
select
@@
innodb_file_format_check
;
...
...
@@ -37,4 +38,7 @@ set global innodb_file_format_max=antelope;
--
error
ER_INCORRECT_GLOBAL_LOCAL_VAR
set
global
innodb_file_format_check
=
off
;
--
disable_query_log
eval
SET
GLOBAL
innodb_file_format
=
$innodb_file_format_orig
;
eval
SET
GLOBAL
innodb_file_format_max
=
$innodb_file_format_max_orig
;
--
enable_query_log
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