Commit c77cb0a3 authored by unknown's avatar unknown

Fixed a function call.

parent 75a4c71b
...@@ -2593,7 +2593,7 @@ String *Item_func_quote::val_str(String *str) ...@@ -2593,7 +2593,7 @@ String *Item_func_quote::val_str(String *str)
uint arg_length, new_length; uint arg_length, new_length;
if (!arg) // Null argument if (!arg) // Null argument
{ {
str->copy("NULL", 4); // Return the string 'NULL' str->copy("NULL", 4, collation.collation); // Return the string 'NULL'
null_value= 0; null_value= 0;
return str; return str;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment