mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Added SQLSTATE to client/server protocol
bmove_allign -> bmove_align Added OLAP function ROLLUP Split mysql_fix_privilege_tables to a script and a .sql data file Added new (MEMROOT*) functions to avoid calling current_thd() when creating some common objects. Added table_alias_charset, for easier --lower-case-table-name handling Better SQL_MODE handling (Setting complex options also sets sub options) New (faster) assembler string functions for x86
This commit is contained in:
@@ -24,9 +24,9 @@ a b
|
||||
create TEMPORARY TABLE t2 type=heap select * from t1;
|
||||
create TEMPORARY TABLE IF NOT EXISTS t2 (a int) type=heap;
|
||||
CREATE TEMPORARY TABLE t1 (a int not null, b char (10) not null);
|
||||
Table 't1' already exists
|
||||
ERROR 42S01: Table 't1' already exists
|
||||
ALTER TABLE t1 RENAME t2;
|
||||
Table 't2' already exists
|
||||
ERROR 42S01: Table 't2' already exists
|
||||
select * from t2;
|
||||
a b
|
||||
4 e
|
||||
@@ -74,7 +74,7 @@ drop table t1,t2;
|
||||
create temporary table t1 (a int not null);
|
||||
insert into t1 values (1),(1);
|
||||
alter table t1 add primary key (a);
|
||||
Duplicate entry '1' for key 1
|
||||
ERROR 23000: Duplicate entry '1' for key 1
|
||||
drop table t1;
|
||||
CREATE TABLE t1 (
|
||||
d datetime default NULL
|
||||
|
||||
Reference in New Issue
Block a user