diff options
author | bar@deer.(none) <> | 2003-12-29 18:45:13 +0400 |
---|---|---|
committer | bar@deer.(none) <> | 2003-12-29 18:45:13 +0400 |
commit | b13808d55fe63c06c55a3be32e14fcfcfd82ba3b (patch) | |
tree | a5f45669aa3d6ae39040c5e3cf457d58f94e7209 /sql/item_strfunc.cc | |
parent | 1547a03c797fa547f1664d9c56a313daf62972bc (diff) | |
download | mariadb-git-b13808d55fe63c06c55a3be32e14fcfcfd82ba3b.tar.gz |
logging_ok:
Logging to logging@openlogging.org accepted
item_strfunc.cc:
Bug wich appeared in ctype_tis620 is fixed
Diffstat (limited to 'sql/item_strfunc.cc')
-rw-r--r-- | sql/item_strfunc.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/item_strfunc.cc b/sql/item_strfunc.cc index 3cb03d7ea49..fdacc4ec536 100644 --- a/sql/item_strfunc.cc +++ b/sql/item_strfunc.cc @@ -2104,8 +2104,8 @@ String *Item_func_conv_charset::val_str(String *str) null_value=1; return 0; } - null_value= str->copy(arg->ptr(),arg->length(),arg->charset(),conv_charset); - return null_value ? 0 : str; + null_value= str_value.copy(arg->ptr(),arg->length(),arg->charset(),conv_charset); + return null_value ? 0 : &str_value; } void Item_func_conv_charset::fix_length_and_dec() |