mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
ctype_latin1.result, ctype_latin1.test, charset.c:
Treat unknown characters straight in a query as syntax error, rather skipping it as a space character. mysys/charset.c: Treat unknown characters straight in a query as syntax error, rather skipping it as a space character. mysql-test/t/ctype_latin1.test: Treat unknown characters straight in a query as syntax error, rather skipping it as a space character. mysql-test/r/ctype_latin1.result: Treat unknown characters straight in a query as syntax error, rather skipping it as a space character.
This commit is contained in:
@ -66,3 +66,12 @@ SET collation_connection='latin1_swedish_ci';
|
||||
-- source include/ctype_filesort.inc
|
||||
SET collation_connection='latin1_bin';
|
||||
-- source include/ctype_filesort.inc
|
||||
|
||||
#
|
||||
# Bug#8041
|
||||
# An unknown character (e.g. 0x84) should result in ERROR,
|
||||
# It was treated like a space character earlier.
|
||||
# Howerver, it should still work fine as a string part.
|
||||
--error 1064
|
||||
CREATE TABLE <20>a (a int);
|
||||
SELECT '<27>a' as str;
|
||||
|
Reference in New Issue
Block a user