mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
5a86a61219
- InnoDB now returns handler specific HA_WRONG_CREATE_OPTION instead of MySQL specific ER_ILLEGAL_HA_CREATE_OPTION - This changes the user level error message from "Unknown error" to "Wrong create options" mysql-test/r/lowercase_table2.result: Updated result file mysql-test/r/partition_innodb_plugin.result: Updated to new error message mysql-test/r/partition_open_files_limit.result: Updated result file mysql-test/r/row-checksum-old.result: Updated to new error message mysql-test/r/row-checksum.result: Updated to new error message mysql-test/r/symlink.result: Updated result file mysql-test/suite/innodb/r/innodb-create-options.result: Updated to new error message mysql-test/suite/innodb/r/innodb-zip.result: Updated to new error message mysql-test/suite/innodb/r/innodb.result: Updated to new error message storage/innobase/handler/ha_innodb.cc: Return HA_WRONG_CREATE_OPTION instead of ER_ILLEGAL_HA_CREATE_OPTION This gives more clear and OS indepedent error messages storage/xtradb/handler/ha_innodb.cc: Return HA_WRONG_CREATE_OPTION instead of ER_ILLEGAL_HA_CREATE_OPTION This gives more clear and OS indepedent error messages
87 lines
2.2 KiB
Text
87 lines
2.2 KiB
Text
drop table if exists t1;
|
|
create table t1 (a int null, v varchar(100)) engine=myisam checksum=0;
|
|
insert into t1 values(null, null), (1, "hello");
|
|
checksum table t1;
|
|
Table Checksum
|
|
test.t1 229851577
|
|
checksum table t1 quick;
|
|
Table Checksum
|
|
test.t1 NULL
|
|
checksum table t1 extended;
|
|
Table Checksum
|
|
test.t1 229851577
|
|
drop table if exists t1;
|
|
create table t1 (a int null, v varchar(100)) engine=myisam checksum=1;
|
|
insert into t1 values(null, null), (1, "hello");
|
|
checksum table t1;
|
|
Table Checksum
|
|
test.t1 229851577
|
|
checksum table t1 quick;
|
|
Table Checksum
|
|
test.t1 229851577
|
|
checksum table t1 extended;
|
|
Table Checksum
|
|
test.t1 229851577
|
|
drop table if exists t1;
|
|
create table t1 (a int null, v varchar(100)) engine=innodb checksum=0;
|
|
insert into t1 values(null, null), (1, "hello");
|
|
checksum table t1;
|
|
Table Checksum
|
|
test.t1 229851577
|
|
checksum table t1 quick;
|
|
Table Checksum
|
|
test.t1 NULL
|
|
checksum table t1 extended;
|
|
Table Checksum
|
|
test.t1 229851577
|
|
drop table t1;
|
|
create table t1 (a int null, v varchar(100)) engine=maria checksum=0;
|
|
insert into t1 values(null, null), (1, "hello");
|
|
checksum table t1;
|
|
Table Checksum
|
|
test.t1 229851577
|
|
checksum table t1 quick;
|
|
Table Checksum
|
|
test.t1 NULL
|
|
checksum table t1 extended;
|
|
Table Checksum
|
|
test.t1 229851577
|
|
drop table t1;
|
|
create table t1 (a int null, v varchar(100)) engine=maria checksum=1;
|
|
insert into t1 values(null, null), (1, "hello");
|
|
checksum table t1;
|
|
Table Checksum
|
|
test.t1 229851577
|
|
checksum table t1 quick;
|
|
Table Checksum
|
|
test.t1 229851577
|
|
checksum table t1 extended;
|
|
Table Checksum
|
|
test.t1 229851577
|
|
drop table t1;
|
|
create table t1 (a int null, v varchar(100)) engine=myisam checksum=1 row_format=fixed;
|
|
insert into t1 values(null, null), (1, "hello");
|
|
checksum table t1;
|
|
Table Checksum
|
|
test.t1 3885665021
|
|
checksum table t1 quick;
|
|
Table Checksum
|
|
test.t1 3885665021
|
|
checksum table t1 extended;
|
|
Table Checksum
|
|
test.t1 3885665021
|
|
drop table if exists t1;
|
|
create table t1 (a int null, v varchar(100)) engine=innodb checksum=0 row_format=fixed;
|
|
Warnings:
|
|
Warning 140 InnoDB: assuming ROW_FORMAT=COMPACT.
|
|
insert into t1 values(null, null), (1, "hello");
|
|
checksum table t1;
|
|
Table Checksum
|
|
test.t1 3885665021
|
|
checksum table t1 quick;
|
|
Table Checksum
|
|
test.t1 NULL
|
|
checksum table t1 extended;
|
|
Table Checksum
|
|
test.t1 3885665021
|
|
drop table t1;
|