summaryrefslogtreecommitdiff
path: root/sql/sql_string.cc
diff options
context:
space:
mode:
authorunknown <bar@gw.udmsearch.izhnet.ru>2002-05-20 21:56:27 +0500
committerunknown <bar@gw.udmsearch.izhnet.ru>2002-05-20 21:56:27 +0500
commit1b49cd8ca1391d5141750fae62fa0c9c13da6e86 (patch)
treef5be2b3786bb3031d9c1a02b1394c675f1110426 /sql/sql_string.cc
parent1afa4558563c758277052520f811d665845a223c (diff)
downloadmariadb-git-1b49cd8ca1391d5141750fae62fa0c9c13da6e86.tar.gz
Bug fix: charset was not initialized
Diffstat (limited to 'sql/sql_string.cc')
-rw-r--r--sql/sql_string.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_string.cc b/sql/sql_string.cc
index b222d3394eb..c05a7b85f77 100644
--- a/sql/sql_string.cc
+++ b/sql/sql_string.cc
@@ -203,6 +203,7 @@ bool String::copy(const String &str)
str_length=str.str_length;
bmove(Ptr,str.Ptr,str_length); // May be overlapping
Ptr[str_length]=0;
+ str_charset=str.str_charset;
return FALSE;
}