mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-6566 Different INSERT behaviour on bad bytes with and without character set conversion
This commit is contained in:
@ -22,13 +22,15 @@ SHOW TABLE STATUS LIKE 't1';
|
||||
|
||||
--disable_warnings
|
||||
--disable_query_log
|
||||
ALTER TABLE test.t1 ADD code VARCHAR(16) NOT NULL;
|
||||
let $1= 221;
|
||||
while ($1)
|
||||
{
|
||||
eval INSERT INTO test.t1 VALUES(CHAR(254-$1));
|
||||
eval INSERT INTO test.t1 VALUES(CHAR(254-$1), HEX(254-$1));
|
||||
dec $1;
|
||||
}
|
||||
DELETE FROM test.t1 WHERE CHAR_LENGTH(a) <> 1;
|
||||
DELETE FROM test.t1 WHERE a='?' AND code<>'3F';
|
||||
--enable_query_log
|
||||
--enable_warnings
|
||||
|
||||
|
Reference in New Issue
Block a user