diff options
Diffstat (limited to 'sql/item_create.cc')
-rw-r--r-- | sql/item_create.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/item_create.cc b/sql/item_create.cc index 40578bef5f8..49cc33b95a7 100644 --- a/sql/item_create.cc +++ b/sql/item_create.cc @@ -4354,12 +4354,12 @@ Create_func_space::create(THD *thd, Item *arg1) if (cs->mbminlen > 1) { uint dummy_errors; - sp= new (thd->mem_root) Item_string("", 0, cs); + sp= new (thd->mem_root) Item_string("", 0, cs, DERIVATION_COERCIBLE, MY_REPERTOIRE_ASCII); sp->str_value.copy(" ", 1, &my_charset_latin1, cs, &dummy_errors); } else { - sp= new (thd->mem_root) Item_string(" ", 1, cs); + sp= new (thd->mem_root) Item_string(" ", 1, cs, DERIVATION_COERCIBLE, MY_REPERTOIRE_ASCII); } return new (thd->mem_root) Item_func_repeat(sp, arg1); |