mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02: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:
parent
1329f063c0
commit
14707d71c3
3 changed files with 15 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ static my_bool init_state_maps(CHARSET_INFO *cs)
|
|||
else if (my_mbcharlen(cs, i)>1)
|
||||
state_map[i]=(uchar) MY_LEX_IDENT;
|
||||
#endif
|
||||
else if (!my_isgraph(cs,i))
|
||||
else if (my_isspace(cs,i))
|
||||
state_map[i]=(uchar) MY_LEX_SKIP;
|
||||
else
|
||||
state_map[i]=(uchar) MY_LEX_CHAR;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue