summaryrefslogtreecommitdiff
path: root/sql/item.h
diff options
context:
space:
mode:
authorigor@rurik.mysql.com <>2005-02-16 22:51:32 -0800
committerigor@rurik.mysql.com <>2005-02-16 22:51:32 -0800
commitd2730b3342cb3680b92cbf135b852c4a1abcf0fc (patch)
treedd1af9ee13abba6d19f69718547d514cd701a982 /sql/item.h
parent4fd1869c6b8ae194f7fb27ca2b0a06d7cce349ad (diff)
downloadmariadb-git-d2730b3342cb3680b92cbf135b852c4a1abcf0fc.tar.gz
item.h:
Revised the fix for bug #7098. Corrected the method Item_string::new_item. sql_select.cc: Revised the fix for bug #7098. Aborted the previous modifications.
Diffstat (limited to 'sql/item.h')
-rw-r--r--sql/item.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item.h b/sql/item.h
index db5010799fa..dd06d4ce61a 100644
--- a/sql/item.h
+++ b/sql/item.h
@@ -742,7 +742,7 @@ public:
Item *new_item()
{
return new Item_string(name, str_value.ptr(),
- str_value.length(), &my_charset_bin);
+ str_value.length(), collation.collation);
}
Item *safe_charset_converter(CHARSET_INFO *tocs);
String *const_string() { return &str_value; }