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
7aead512
Commit
7aead512
authored
Aug 04, 2009
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: mysql-test: Pass MTR's internal checks.
parent
6411d47d
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
0 deletions
+16
-0
mysql-test/innodb-analyze.test
mysql-test/innodb-analyze.test
+2
-0
mysql-test/innodb_bug34300.test
mysql-test/innodb_bug34300.test
+2
-0
mysql-test/innodb_bug36169.test
mysql-test/innodb_bug36169.test
+4
-0
mysql-test/innodb_bug36172.test
mysql-test/innodb_bug36172.test
+6
-0
mysql-test/innodb_file_format.result
mysql-test/innodb_file_format.result
+1
-0
mysql-test/innodb_file_format.test
mysql-test/innodb_file_format.test
+1
-0
No files found.
mysql-test/innodb-analyze.test
View file @
7aead512
...
@@ -11,6 +11,7 @@
...
@@ -11,6 +11,7 @@
--
disable_result_log
--
disable_result_log
--
enable_warnings
--
enable_warnings
let
$sample_pages
=
`select @@innodb_stats_sample_pages`
;
SET
GLOBAL
innodb_stats_sample_pages
=
0
;
SET
GLOBAL
innodb_stats_sample_pages
=
0
;
# check that the value has been adjusted to 1
# check that the value has been adjusted to 1
...
@@ -61,3 +62,4 @@ SET GLOBAL innodb_stats_sample_pages=16;
...
@@ -61,3 +62,4 @@ SET GLOBAL innodb_stats_sample_pages=16;
ANALYZE
TABLE
innodb_analyze
;
ANALYZE
TABLE
innodb_analyze
;
DROP
TABLE
innodb_analyze
;
DROP
TABLE
innodb_analyze
;
EVAL
SET
GLOBAL
innodb_stats_sample_pages
=
$sample_pages
;
mysql-test/innodb_bug34300.test
View file @
7aead512
...
@@ -9,6 +9,7 @@
...
@@ -9,6 +9,7 @@
--
disable_result_log
--
disable_result_log
# set packet size and reconnect
# set packet size and reconnect
let
$max_packet
=
`select @@global.max_allowed_packet`
;
SET
@@
global
.
max_allowed_packet
=
16777216
;
SET
@@
global
.
max_allowed_packet
=
16777216
;
--
connect
(
newconn
,
localhost
,
root
,,)
--
connect
(
newconn
,
localhost
,
root
,,)
...
@@ -30,3 +31,4 @@ ALTER TABLE bug34300 ADD COLUMN (f10 INT);
...
@@ -30,3 +31,4 @@ ALTER TABLE bug34300 ADD COLUMN (f10 INT);
SELECT
f4
,
f8
FROM
bug34300
;
SELECT
f4
,
f8
FROM
bug34300
;
DROP
TABLE
bug34300
;
DROP
TABLE
bug34300
;
EVAL
SET
@@
global
.
max_allowed_packet
=
$max_packet
;
mysql-test/innodb_bug36169.test
View file @
7aead512
...
@@ -5,6 +5,8 @@
...
@@ -5,6 +5,8 @@
--
source
include
/
have_innodb
.
inc
--
source
include
/
have_innodb
.
inc
let
$file_format
=
`select @@innodb_file_format`
;
let
$file_per_table
=
`select @@innodb_file_per_table`
;
SET
GLOBAL
innodb_file_format
=
'Barracuda'
;
SET
GLOBAL
innodb_file_format
=
'Barracuda'
;
SET
GLOBAL
innodb_file_per_table
=
ON
;
SET
GLOBAL
innodb_file_per_table
=
ON
;
...
@@ -1153,3 +1155,5 @@ DROP TABLE IF EXISTS table4;
...
@@ -1153,3 +1155,5 @@ DROP TABLE IF EXISTS table4;
DROP
TABLE
IF
EXISTS
table5
;
DROP
TABLE
IF
EXISTS
table5
;
DROP
TABLE
IF
EXISTS
table6
;
DROP
TABLE
IF
EXISTS
table6
;
EVAL
SET
GLOBAL
innodb_file_format
=
$file_format
;
EVAL
SET
GLOBAL
innodb_file_per_table
=
$file_per_table
;
mysql-test/innodb_bug36172.test
View file @
7aead512
...
@@ -14,6 +14,9 @@ SET storage_engine=InnoDB;
...
@@ -14,6 +14,9 @@ SET storage_engine=InnoDB;
--
disable_query_log
--
disable_query_log
--
disable_result_log
--
disable_result_log
let
$file_format
=
`select @@innodb_file_format`
;
let
$file_format_check
=
`select @@innodb_file_format_check`
;
let
$file_per_table
=
`select @@innodb_file_per_table`
;
SET
GLOBAL
innodb_file_format
=
'Barracuda'
;
SET
GLOBAL
innodb_file_format
=
'Barracuda'
;
SET
GLOBAL
innodb_file_per_table
=
on
;
SET
GLOBAL
innodb_file_per_table
=
on
;
...
@@ -24,3 +27,6 @@ CHECK TABLE table0 EXTENDED;
...
@@ -24,3 +27,6 @@ CHECK TABLE table0 EXTENDED;
INSERT
IGNORE
INTO
`table0`
SET
`col19`
=
'19940127002709'
,
`col20`
=
2383927.9055146948
,
`col21`
=
4293243420.5621204000
,
`col22`
=
'20511211123705'
,
`col23`
=
4289899778.6573381000
,
`col24`
=
4293449279.0540481000
,
`col25`
=
'emphysemic'
,
`col26`
=
'dentally'
,
`col27`
=
'2347406'
,
`col28`
=
'eruct'
,
`col30`
=
1222
,
`col31`
=
4294372994.9941406000
,
`col32`
=
4291385574.1173744000
,
`col33`
=
'borrowing\'s'
,
`col34`
=
'septics'
,
`col35`
=
'ratter\'s'
,
`col36`
=
'Kaye'
,
`col37`
=
'Florentia'
,
`col38`
=
'allium'
,
`col39`
=
'barkeep'
,
`col40`
=
'19510407003441'
,
`col41`
=
4293559200.4215522000
,
`col42`
=
22482
,
`col43`
=
'decussate'
,
`col44`
=
'Brom\'s'
,
`col45`
=
'violated'
,
`col46`
=
4925506.4635456400
,
`col47`
=
930549
,
`col48`
=
'51296066'
,
`col49`
=
'voluminously'
,
`col50`
=
'29306676'
,
`col51`
=
-
88
,
`col52`
=
-
2153690
,
`col53`
=
4290250202.1464887000
,
`col54`
=
'expropriation'
,
`col55`
=
'Aberdeen\'s'
,
`col56`
=
20343
,
`col58`
=
'19640415171532'
,
`col59`
=
'extern'
,
`col60`
=
'Ubana'
,
`col61`
=
4290487961.8539081000
,
`col62`
=
'2147'
,
`col63`
=
-
24271
,
`col64`
=
'20750801194548'
,
`col65`
=
'Cunaxa\'s'
,
`col66`
=
'pasticcio'
,
`col67`
=
2795817
,
`col68`
=
'Indore\'s'
,
`col70`
=
6864127
,
`col71`
=
'1817832'
,
`col72`
=
'20540506114211'
,
`col73`
=
'20040101012300'
,
`col74`
=
'rationalized'
,
`col75`
=
'45522'
,
`col76`
=
'indene'
,
`col77`
=
-
6964559
,
`col78`
=
4247535.5266884370
,
`col79`
=
'20720416124357'
,
`col80`
=
'2143'
,
`col81`
=
4292060102.4466386000
,
`col82`
=
'striving'
,
`col83`
=
'boneblack\'s'
,
`col84`
=
'redolent'
,
`col85`
=
6489697.9009369183
,
`col86`
=
4287473465.9731131000
,
`col87`
=
7726015
,
`col88`
=
'perplexed'
,
`col89`
=
'17153791'
,
`col90`
=
5478587.1108127078
,
`col91`
=
4287091404.7004304000
,
`col92`
=
'Boulez\'s'
,
`col93`
=
'2931278'
;
INSERT
IGNORE
INTO
`table0`
SET
`col19`
=
'19940127002709'
,
`col20`
=
2383927.9055146948
,
`col21`
=
4293243420.5621204000
,
`col22`
=
'20511211123705'
,
`col23`
=
4289899778.6573381000
,
`col24`
=
4293449279.0540481000
,
`col25`
=
'emphysemic'
,
`col26`
=
'dentally'
,
`col27`
=
'2347406'
,
`col28`
=
'eruct'
,
`col30`
=
1222
,
`col31`
=
4294372994.9941406000
,
`col32`
=
4291385574.1173744000
,
`col33`
=
'borrowing\'s'
,
`col34`
=
'septics'
,
`col35`
=
'ratter\'s'
,
`col36`
=
'Kaye'
,
`col37`
=
'Florentia'
,
`col38`
=
'allium'
,
`col39`
=
'barkeep'
,
`col40`
=
'19510407003441'
,
`col41`
=
4293559200.4215522000
,
`col42`
=
22482
,
`col43`
=
'decussate'
,
`col44`
=
'Brom\'s'
,
`col45`
=
'violated'
,
`col46`
=
4925506.4635456400
,
`col47`
=
930549
,
`col48`
=
'51296066'
,
`col49`
=
'voluminously'
,
`col50`
=
'29306676'
,
`col51`
=
-
88
,
`col52`
=
-
2153690
,
`col53`
=
4290250202.1464887000
,
`col54`
=
'expropriation'
,
`col55`
=
'Aberdeen\'s'
,
`col56`
=
20343
,
`col58`
=
'19640415171532'
,
`col59`
=
'extern'
,
`col60`
=
'Ubana'
,
`col61`
=
4290487961.8539081000
,
`col62`
=
'2147'
,
`col63`
=
-
24271
,
`col64`
=
'20750801194548'
,
`col65`
=
'Cunaxa\'s'
,
`col66`
=
'pasticcio'
,
`col67`
=
2795817
,
`col68`
=
'Indore\'s'
,
`col70`
=
6864127
,
`col71`
=
'1817832'
,
`col72`
=
'20540506114211'
,
`col73`
=
'20040101012300'
,
`col74`
=
'rationalized'
,
`col75`
=
'45522'
,
`col76`
=
'indene'
,
`col77`
=
-
6964559
,
`col78`
=
4247535.5266884370
,
`col79`
=
'20720416124357'
,
`col80`
=
'2143'
,
`col81`
=
4292060102.4466386000
,
`col82`
=
'striving'
,
`col83`
=
'boneblack\'s'
,
`col84`
=
'redolent'
,
`col85`
=
6489697.9009369183
,
`col86`
=
4287473465.9731131000
,
`col87`
=
7726015
,
`col88`
=
'perplexed'
,
`col89`
=
'17153791'
,
`col90`
=
5478587.1108127078
,
`col91`
=
4287091404.7004304000
,
`col92`
=
'Boulez\'s'
,
`col93`
=
'2931278'
;
CHECK
TABLE
table0
EXTENDED
;
CHECK
TABLE
table0
EXTENDED
;
DROP
TABLE
table0
;
DROP
TABLE
table0
;
EVAL
SET
GLOBAL
innodb_file_format
=
$file_format
;
EVAL
SET
GLOBAL
innodb_file_format_check
=
$file_format_check
;
EVAL
SET
GLOBAL
innodb_file_per_table
=
$file_per_table
;
mysql-test/innodb_file_format.result
View file @
7aead512
...
@@ -42,3 +42,4 @@ ERROR HY000: Incorrect arguments to SET
...
@@ -42,3 +42,4 @@ ERROR HY000: Incorrect arguments to SET
select @@innodb_file_format_check;
select @@innodb_file_format_check;
@@innodb_file_format_check
@@innodb_file_format_check
Barracuda
Barracuda
set global innodb_file_format_check=antelope;
mysql-test/innodb_file_format.test
View file @
7aead512
...
@@ -26,3 +26,4 @@ set global innodb_file_format=on;
...
@@ -26,3 +26,4 @@ set global innodb_file_format=on;
--
error
ER_WRONG_ARGUMENTS
--
error
ER_WRONG_ARGUMENTS
set
global
innodb_file_format
=
off
;
set
global
innodb_file_format
=
off
;
select
@@
innodb_file_format_check
;
select
@@
innodb_file_format_check
;
set
global
innodb_file_format_check
=
antelope
;
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