mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 21:12:26 +01:00
MDEV-3990: engine tests went out of sync with current MariaDB code
This commit is contained in:
commit
56db55259e
6 changed files with 23 additions and 10 deletions
|
@ -15,7 +15,7 @@ ERROR 42S01: Table 't1' already exists
|
|||
RENAME TABLE t3 TO t1;
|
||||
ERROR 42S01: Table 't1' already exists
|
||||
RENAME TABLE t3 TO doesnotexist.t1;
|
||||
ERROR HY000: Can't find file: './test/t3.frm' (errno: 2)
|
||||
ERROR HY000: Can't find file: './test/t3.frm' (errno: 2 "No such file or directory")
|
||||
SHOW TABLES;
|
||||
Tables_in_test
|
||||
t1
|
||||
|
|
|
@ -5167,7 +5167,6 @@ c1 c2 c3
|
|||
825:23:00 825:23:00 2009-01-05
|
||||
10:00:00 10:00:00 2009-01-06
|
||||
00:00:45 00:00:45 2009-01-07
|
||||
00:00:00 00:00:00 2009-01-09
|
||||
838:59:59 838:59:59 2009-01-10
|
||||
10:11:12 10:11:12 2009-01-11
|
||||
11:11:12 11:11:12 2009-01-12
|
||||
|
@ -5178,18 +5177,12 @@ c1 c2 c3
|
|||
11:11:27 11:11:27 2009-01-17
|
||||
08:03:02 08:03:02 2009-01-18
|
||||
00:11:12 00:11:12 2009-01-19
|
||||
00:00:11 00:00:11 2009-01-20
|
||||
00:12:30 00:12:30 2009-01-23
|
||||
09:00:45 09:00:45 2009-01-24
|
||||
09:36:00 09:36:00 2009-01-25
|
||||
00:00:10 00:00:10 2009-01-26
|
||||
00:00:00 00:00:00 2009-01-27
|
||||
00:00:00 00:00:00 2009-01-28
|
||||
00:00:00 00:00:00 2009-01-29
|
||||
262:22:00 262:22:00 2009-01-30
|
||||
00:00:12 00:00:12 2009-01-31
|
||||
08:29:45 NULL 2009-02-01
|
||||
00:00:00 07:23:55 NULL
|
||||
TRUNCATE TABLE t5;
|
||||
DROP TABLE t5;
|
||||
DROP TABLE t1,t2,t3,t4;
|
||||
|
|
|
@ -28,6 +28,9 @@ DROP EVENT ev1;
|
|||
SELECT TABLE_NAME, COLUMN_NAME, REFERENCED_TABLE_NAME, REFERENCED_COLUMN_NAME
|
||||
FROM INFORMATION_SCHEMA.KEY_COLUMN_USAGE ORDER BY TABLE_NAME;
|
||||
TABLE_NAME COLUMN_NAME REFERENCED_TABLE_NAME REFERENCED_COLUMN_NAME
|
||||
column_stats column_name NULL NULL
|
||||
column_stats db_name NULL NULL
|
||||
column_stats table_name NULL NULL
|
||||
columns_priv Column_name NULL NULL
|
||||
columns_priv Db NULL NULL
|
||||
columns_priv Host NULL NULL
|
||||
|
@ -49,6 +52,10 @@ help_topic help_topic_id NULL NULL
|
|||
help_topic name NULL NULL
|
||||
host Db NULL NULL
|
||||
host Host NULL NULL
|
||||
index_stats db_name NULL NULL
|
||||
index_stats index_name NULL NULL
|
||||
index_stats prefix_arity NULL NULL
|
||||
index_stats table_name NULL NULL
|
||||
ndb_binlog_index epoch NULL NULL
|
||||
plugin name NULL NULL
|
||||
proc db NULL NULL
|
||||
|
@ -64,6 +71,8 @@ proxies_priv Proxied_host NULL NULL
|
|||
proxies_priv Proxied_user NULL NULL
|
||||
proxies_priv User NULL NULL
|
||||
servers Server_name NULL NULL
|
||||
table_stats db_name NULL NULL
|
||||
table_stats table_name NULL NULL
|
||||
tables_priv Db NULL NULL
|
||||
tables_priv Host NULL NULL
|
||||
tables_priv Table_name NULL NULL
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
--- suite/storage_engine/alter_tablespace.result 2013-01-13 01:03:49.133994000 +0400
|
||||
+++ suite/storage_engine/alter_tablespace.reject 2013-01-13 01:04:04.398937286 +0400
|
||||
@@ -10,7 +10,7 @@
|
||||
2
|
||||
ALTER TABLE t1 DISCARD TABLESPACE;
|
||||
SELECT * FROM t1;
|
||||
-ERROR HY000: Got error -1 from storage engine
|
||||
+ERROR HY000: Got error -1 "Internal error < 0 (Not system error)" from storage engine
|
||||
ALTER TABLE t1 IMPORT TABLESPACE;
|
||||
SELECT * FROM t1;
|
||||
a
|
|
@ -4,7 +4,7 @@
|
|||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1 (a <INT_COLUMN>, b <CHAR_COLUMN>) ENGINE=<STORAGE_ENGINE> <CUSTOM_TABLE_OPTIONS> ROW_FORMAT=FIXED;
|
||||
+Warnings:
|
||||
+Warning 1478 InnoDB: assuming ROW_FORMAT=COMPACT.
|
||||
+Warning 140 InnoDB: assuming ROW_FORMAT=COMPACT.
|
||||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
< 4 5
|
||||
< DROP TABLE t1;
|
||||
---
|
||||
> ERROR HY000: MRG_MYISAM storage engine does not support computed columns
|
||||
> ERROR HY000: MRG_MyISAM storage engine does not support computed columns
|
||||
> # ERROR: Statement ended with errno 1910, errname ER_UNSUPPORTED_ENGINE_FOR_VIRTUAL_COLUMNS (expected to succeed)
|
||||
> # ------------ UNEXPECTED RESULT ------------
|
||||
> # [ CREATE TABLE t1 (a INT(11) /*!*/ /*Custom column options*/, b INT(11) /*!*/ /*Custom column options*/ GENERATED ALWAYS AS (a+1)) ENGINE=MRG_MYISAM /*!*/ /*Custom table options*/ UNION(mrg.t1) INSERT_METHOD=LAST ]
|
||||
|
|
Loading…
Reference in a new issue