mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Adding Item_string_sys and Item_string_ascii to reduce duplicate code
This commit is contained in:
@ -626,7 +626,7 @@ SQL_SELECT *prepare_select_for_name(THD *thd, const char *mask, uint mlen,
|
||||
{
|
||||
Item *cond= new Item_func_like(new Item_field(pfname),
|
||||
new Item_string(mask,mlen,pfname->charset()),
|
||||
new Item_string("\\",1,&my_charset_latin1),
|
||||
new Item_string_ascii("\\"),
|
||||
FALSE);
|
||||
if (thd->is_fatal_error)
|
||||
return 0; // OOM
|
||||
|
Reference in New Issue
Block a user