summaryrefslogtreecommitdiff
path: root/sql/item_create.cc
diff options
context:
space:
mode:
authorunknown <bar@mysql.com>2004-10-29 17:00:39 +0500
committerunknown <bar@mysql.com>2004-10-29 17:00:39 +0500
commit6e781e11a9f7606b8b41532c382df9cf00617d17 (patch)
tree9cc9765d8b1a393421a6e3df083461c690d1c028 /sql/item_create.cc
parentfcb322279eba22dcc29093d0212ea5a21f78ed59 (diff)
downloadmariadb-git-6e781e11a9f7606b8b41532c382df9cf00617d17.tar.gz
A fix according to Monty's request:
"uint *errors" is now a non-optional parameter in String:copy() and copy_and_convert().
Diffstat (limited to 'sql/item_create.cc')
-rw-r--r--sql/item_create.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/item_create.cc b/sql/item_create.cc
index c98c7892c26..800489a6a72 100644
--- a/sql/item_create.cc
+++ b/sql/item_create.cc
@@ -377,7 +377,10 @@ Item *create_func_space(Item *a)
{
sp= new Item_string("",0,cs);
if (sp)
- sp->str_value.copy(" ",1,&my_charset_latin1,cs);
+ {
+ uint dummy_errors;
+ sp->str_value.copy(" ", 1, &my_charset_latin1, cs, &dummy_errors);
+ }
}
else
{