mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-18428 Memory: If transactional=0 is specified in CREATE TABLE, it is not possible to ALTER TABLE
* be strict in CREATE TABLE, just like in ALTER TABLE, because CREATE TABLE, just like ALTER TABLE, can be rolled back for any engine * but don't auto-convert warnings into errors for engine warnings (handler::create) - this matches ALTER TABLE behavior * and not when creating a default record, these errors are handled specially (and replaced with ER_INVALID_DEFAULT) * always issue a Note when a non-unique key is truncated, because it's not a Warning that can be converted to an Error. Before this commit it was a Note for blobs and a Warning for all other data types.
This commit is contained in:
@ -853,7 +853,7 @@ PARTITION p0 VALUES IN (1,3,9,null),
|
||||
PARTITION p1 VALUES IN (2,4,0)
|
||||
);
|
||||
Warnings:
|
||||
Warning 1071 Specified key was too long; max key length is 767 bytes
|
||||
Note 1071 Specified key was too long; max key length is 767 bytes
|
||||
INSERT INTO t2 VALUES
|
||||
('k','s',3,'b','j'),('a','b',NULL,'v','j'),('c','m',9,'t',NULL),
|
||||
('b','l',9,'b',NULL),('i','y',3,'o','w'),('c','m',NULL,'a','m'),
|
||||
|
Reference in New Issue
Block a user