summaryrefslogtreecommitdiff
path: root/sql/item_create.cc
diff options
context:
space:
mode:
authorunknown <bar@bar.myoffice.izhnet.ru>2008-03-07 15:28:51 +0400
committerunknown <bar@bar.myoffice.izhnet.ru>2008-03-07 15:28:51 +0400
commita03f1a4c1df10c5bf1ca739a8c8bfac7739244b0 (patch)
tree7386b6dfe3090cfee0e35ca91695bd81865142f1 /sql/item_create.cc
parent613fe6acb6c7d84b0c68cc77668f3cbbf35ebe14 (diff)
parentf2c9483dd5071747bfb46f4dd97d3607fe7d74ec (diff)
downloadmariadb-git-a03f1a4c1df10c5bf1ca739a8c8bfac7739244b0.tar.gz
Merge mysql.com:/home/bar/mysql-work/mysql-5.0.b27580v2
into mysql.com:/home/bar/mysql-work/mysql-5.1.b27580 Additonal after merge fix mysql-test/r/ctype_cp1250_ch.result: Auto merged mysql-test/r/ctype_euckr.result: Auto merged mysql-test/r/ctype_uca.result: Auto merged mysql-test/r/ctype_ucs.result: Auto merged mysql-test/t/ctype_cp1250_ch.test: Auto merged mysql-test/t/ctype_ucs.test: Auto merged mysql-test/suite/binlog/r/binlog_stm_ctype_cp932.result: Auto merged sql/item_create.cc: After merge fix
Diffstat (limited to 'sql/item_create.cc')
-rw-r--r--sql/item_create.cc4
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);