summaryrefslogtreecommitdiff
path: root/sql/item_strfunc.cc
diff options
context:
space:
mode:
authorunknown <bar@deer.(none)>2003-12-29 18:45:13 +0400
committerunknown <bar@deer.(none)>2003-12-29 18:45:13 +0400
commit5a12bea551412402cbac757efdfa69c2bbde3522 (patch)
treea5f45669aa3d6ae39040c5e3cf457d58f94e7209 /sql/item_strfunc.cc
parent1575b77af5b446150d0fa435149df209b29dd0f3 (diff)
downloadmariadb-git-5a12bea551412402cbac757efdfa69c2bbde3522.tar.gz
logging_ok:
Logging to logging@openlogging.org accepted item_strfunc.cc: Bug wich appeared in ctype_tis620 is fixed sql/item_strfunc.cc: Bug wich appeared in ctype_tis620 is fixed BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
Diffstat (limited to 'sql/item_strfunc.cc')
-rw-r--r--sql/item_strfunc.cc4
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()