mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 18:41:56 +01:00
dded7cf8c8
applied revisions: r6157 Detailed revision comments: r6157 | jyang | 2009-11-11 14:27:09 +0200 (Wed, 11 Nov 2009) | 10 lines branches/zip: Fix an issue that a local variable defined in innodb_file_format_check_validate() is being referenced across function in innodb_file_format_check_update(). In addition, fix "set global innodb_file_format_check = DEFAULT" call. Bug #47167: "set global innodb_file_format_check" cannot set value by User-Defined Variable." rb://169 approved by Sunny Bains and Marko.
43 lines
1.3 KiB
Text
43 lines
1.3 KiB
Text
call mtr.add_suppression("InnoDB: invalid innodb_file_format_check value");
|
|
select @@innodb_file_format;
|
|
@@innodb_file_format
|
|
Antelope
|
|
select @@innodb_file_format_check;
|
|
@@innodb_file_format_check
|
|
Antelope
|
|
set global innodb_file_format=antelope;
|
|
set global innodb_file_format=barracuda;
|
|
set global innodb_file_format=cheetah;
|
|
ERROR HY000: Incorrect arguments to SET
|
|
select @@innodb_file_format;
|
|
@@innodb_file_format
|
|
Barracuda
|
|
set global innodb_file_format=default;
|
|
select @@innodb_file_format;
|
|
@@innodb_file_format
|
|
Antelope
|
|
set global innodb_file_format=on;
|
|
ERROR HY000: Incorrect arguments to SET
|
|
set global innodb_file_format=off;
|
|
ERROR HY000: Incorrect arguments to SET
|
|
select @@innodb_file_format;
|
|
@@innodb_file_format
|
|
Antelope
|
|
set global innodb_file_format_check=antelope;
|
|
set global innodb_file_format_check=barracuda;
|
|
set global innodb_file_format_check=cheetah;
|
|
ERROR HY000: Incorrect arguments to SET
|
|
select @@innodb_file_format_check;
|
|
@@innodb_file_format_check
|
|
Barracuda
|
|
set global innodb_file_format_check=default;
|
|
select @@innodb_file_format_check;
|
|
@@innodb_file_format_check
|
|
Barracuda
|
|
set global innodb_file_format=on;
|
|
ERROR HY000: Incorrect arguments to SET
|
|
set global innodb_file_format=off;
|
|
ERROR HY000: Incorrect arguments to SET
|
|
select @@innodb_file_format_check;
|
|
@@innodb_file_format_check
|
|
Barracuda
|