diff options
author | ram@gw.mysql.r18.ru <> | 2004-05-17 12:47:16 +0500 |
---|---|---|
committer | ram@gw.mysql.r18.ru <> | 2004-05-17 12:47:16 +0500 |
commit | e166036894f97e52243ae298660a51b1cb5ad0a7 (patch) | |
tree | ce06802f25684e53cefada0a5cc14b37ae682ec1 /sql | |
parent | b4ae2577f03888995cb5a78a4bd532d0272349f6 (diff) | |
download | mariadb-git-e166036894f97e52243ae298660a51b1cb5ad0a7.tar.gz |
A fix (bug #3756: ISNULL(QUOTE()) returns 1 for every row after 1st NULL)
Diffstat (limited to 'sql')
-rw-r--r-- | sql/item_strfunc.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_strfunc.cc b/sql/item_strfunc.cc index ac70ef2cbd3..5d017b3a27a 100644 --- a/sql/item_strfunc.cc +++ b/sql/item_strfunc.cc @@ -2215,6 +2215,7 @@ String *Item_func_quote::val_str(String *str) } *to= '\''; str->length(new_length); + null_value= 0; return str; null: |