diff options
author | bar@mysql.com <> | 2004-10-29 17:00:39 +0500 |
---|---|---|
committer | bar@mysql.com <> | 2004-10-29 17:00:39 +0500 |
commit | 7577c8bfc9efb21b8a8a3c08e342054e754370ab (patch) | |
tree | 9cc9765d8b1a393421a6e3df083461c690d1c028 /sql/item_create.cc | |
parent | 64c59b37f899e520f6ba3ff8d0f9724423eb9b88 (diff) | |
download | mariadb-git-7577c8bfc9efb21b8a8a3c08e342054e754370ab.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.cc | 5 |
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 { |