MariaDB [test]> CREATE TABLE t2 AS SELECT VALUES(i) AS a FROM t1;
|
ERROR 1005 (HY000): Can't create table `test`.`t2` (errno: 168 "Unknown (generic) error from engine")
|
MariaDB [test]> SHOW WARNINGS;
|
+---------+------+----------------------------------------------------------------------------------------------------------------------------------------------+
|
| Level | Code | Message |
|
+---------+------+----------------------------------------------------------------------------------------------------------------------------------------------+
|
| Warning | 1005 | Error creating table 'test/t2' with column 'a'. Please check its column type and try to re-create the table with an appropriate column type. |
|
| Error | 1005 | Can't create table `test`.`t2` (errno: 168 "Unknown (generic) error from engine") |
|
| Warning | 1030 | Got error 168 "Unknown (generic) error from engine" from storage engine InnoDB |
|
+---------+------+----------------------------------------------------------------------------------------------------------------------------------------------+
|
3 rows in set (0.00 sec)
|