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
commit64d039833ec84669fa0d2154264f100f41db0fd2 (patch)
treea5f45669aa3d6ae39040c5e3cf457d58f94e7209 /sql/item_strfunc.cc
parentd55382369eb639417dd01a62ff4867f9213f10ce (diff)
downloadmariadb-git-64d039833ec84669fa0d2154264f100f41db0fd2.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()