mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge for update
mysql-test/r/create.result: Auto merged mysql-test/t/create.test: Auto merged sql/mysql_priv.h: Auto merged sql/mysqld.cc: Auto merged sql/set_var.cc: Auto merged sql/sql_yacc.yy: Auto merged include/mysqld_error.h: Merge for updates mysql-test/r/rpl_change_master.result: Merge for updates sql/share/czech/errmsg.txt: Merge for updates sql/share/danish/errmsg.txt: Merge for updates sql/share/dutch/errmsg.txt: Merge for updates sql/share/english/errmsg.txt: Merge for updates sql/share/estonian/errmsg.txt: Merge for updates sql/share/french/errmsg.txt: Merge for updates sql/share/german/errmsg.txt: Merge for updates sql/share/greek/errmsg.txt: Merge for updates sql/share/hungarian/errmsg.txt: Merge for updates sql/share/italian/errmsg.txt: Merge for updates sql/share/japanese/errmsg.txt: Merge for updates sql/share/korean/errmsg.txt: Merge for updates sql/share/norwegian-ny/errmsg.txt: Merge for updates sql/share/norwegian/errmsg.txt: Merge for updates sql/share/polish/errmsg.txt: Merge for updates sql/share/portuguese/errmsg.txt: Merge for updates sql/share/romanian/errmsg.txt: Merge for updates sql/share/russian/errmsg.txt: Merge for updates sql/share/serbian/errmsg.txt: Merge for updates sql/share/slovak/errmsg.txt: Merge for updates sql/share/spanish/errmsg.txt: Merge for updates sql/share/swedish/errmsg.txt: Merge for updates sql/share/ukrainian/errmsg.txt: Merge for updates
This commit is contained in:
@ -201,17 +201,16 @@ t1 CREATE TABLE `t1` (
|
||||
) TYPE=HEAP DEFAULT CHARSET=latin1
|
||||
drop table t1;
|
||||
SET SESSION table_type="gemini";
|
||||
ERROR 42000: Unknown table engine 'gemini'
|
||||
SELECT @@table_type;
|
||||
@@table_type
|
||||
GEMINI
|
||||
HEAP
|
||||
CREATE TABLE t1 (a int not null);
|
||||
Warnings:
|
||||
Warning 1265 Using storage engine MYISAM for table 't1'
|
||||
show create table t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`a` int(11) NOT NULL default '0'
|
||||
) TYPE=MyISAM DEFAULT CHARSET=latin1
|
||||
) TYPE=HEAP DEFAULT CHARSET=latin1
|
||||
SET SESSION table_type=default;
|
||||
drop table t1;
|
||||
create table t1 ( k1 varchar(2), k2 int, primary key(k1,k2));
|
||||
@ -347,17 +346,16 @@ t1 CREATE TABLE `t1` (
|
||||
) TYPE=HEAP DEFAULT CHARSET=latin1
|
||||
drop table t1;
|
||||
SET SESSION table_type="gemini";
|
||||
ERROR 42000: Unknown table engine 'gemini'
|
||||
SELECT @@table_type;
|
||||
@@table_type
|
||||
GEMINI
|
||||
HEAP
|
||||
CREATE TABLE t1 (a int not null);
|
||||
Warnings:
|
||||
Warning 1265 Using storage engine MYISAM for table 't1'
|
||||
show create table t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`a` int(11) NOT NULL default '0'
|
||||
) TYPE=MyISAM DEFAULT CHARSET=latin1
|
||||
) TYPE=HEAP DEFAULT CHARSET=latin1
|
||||
SET SESSION table_type=default;
|
||||
drop table t1;
|
||||
create table t1(a int,b int,c int unsigned,d date,e char,f datetime,g time,h blob);
|
||||
|
@ -121,7 +121,7 @@ Variable_name Value
|
||||
table_type HEAP
|
||||
show global variables like 'table_type';
|
||||
Variable_name Value
|
||||
table_type INNODB
|
||||
table_type InnoDB
|
||||
set GLOBAL query_cache_size=100000;
|
||||
set GLOBAL myisam_max_sort_file_size=2000000;
|
||||
show global variables like 'myisam_max_sort_file_size';
|
||||
@ -219,7 +219,7 @@ ERROR HY000: Unknown system variable 'unknown_variable'
|
||||
set max_join_size="hello";
|
||||
ERROR 42000: Wrong argument type to variable 'max_join_size'
|
||||
set table_type=UNKNOWN_TABLE_TYPE;
|
||||
ERROR 42000: Variable 'table_type' can't be set to the value of 'UNKNOWN_TABLE_TYPE'
|
||||
ERROR 42000: Unknown table engine 'UNKNOWN_TABLE_TYPE'
|
||||
set table_type=INNODB, big_tables=2;
|
||||
ERROR 42000: Variable 'big_tables' can't be set to the value of '2'
|
||||
show local variables like 'table_type';
|
||||
|
@ -121,8 +121,8 @@ select @@warning_count;
|
||||
drop table t1;
|
||||
create table t1 (id int) type=isam;
|
||||
Warnings:
|
||||
Warning 1265 Using storage engine MYISAM for table 't1'
|
||||
Warning 1265 Using storage engine MyISAM for table 't1'
|
||||
alter table t1 type=isam;
|
||||
Warnings:
|
||||
Warning 1265 Using storage engine MYISAM for table 't1'
|
||||
Warning 1265 Using storage engine MyISAM for table 't1'
|
||||
drop table t1;
|
||||
|
@ -157,7 +157,7 @@ SELECT @@table_type;
|
||||
CREATE TABLE t1 (a int not null);
|
||||
show create table t1;
|
||||
drop table t1;
|
||||
# Test what happens when using a non existing table type
|
||||
--error 1284
|
||||
SET SESSION table_type="gemini";
|
||||
SELECT @@table_type;
|
||||
CREATE TABLE t1 (a int not null);
|
||||
@ -277,7 +277,7 @@ SELECT @@table_type;
|
||||
CREATE TABLE t1 (a int not null);
|
||||
show create table t1;
|
||||
drop table t1;
|
||||
# Test what happens when using a non existing table type
|
||||
--error 1284
|
||||
SET SESSION table_type="gemini";
|
||||
SELECT @@table_type;
|
||||
CREATE TABLE t1 (a int not null);
|
||||
|
@ -124,7 +124,7 @@ set big_tables="OFFF";
|
||||
set unknown_variable=1;
|
||||
--error 1232
|
||||
set max_join_size="hello";
|
||||
--error 1231
|
||||
--error 1284
|
||||
set table_type=UNKNOWN_TABLE_TYPE;
|
||||
--error 1231
|
||||
set table_type=INNODB, big_tables=2;
|
||||
|
Reference in New Issue
Block a user