diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-04-19 20:35:32 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-04-19 20:35:32 +0200 |
commit | faf4d99d223d8438eb1599377aa1db3b2ab5bf24 (patch) | |
tree | fee4bd39330af62bd4e908c93214ab774e1b8b54 /sql/sql_string.h | |
parent | 4b169cd7c1ba846d8e4b613a788007609178cdad (diff) | |
download | mariadb-git-faf4d99d223d8438eb1599377aa1db3b2ab5bf24.tar.gz |
String::append_for_single_quote() should signal OOM condition,
just like other String::append() methods do
Diffstat (limited to 'sql/sql_string.h')
-rw-r--r-- | sql/sql_string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_string.h b/sql/sql_string.h index 58cda343dac..2a5f43b35f2 100644 --- a/sql/sql_string.h +++ b/sql/sql_string.h @@ -476,7 +476,7 @@ public: return FALSE; } void print(String *print); - void append_for_single_quote(const char *st, uint len); + bool append_for_single_quote(const char *st, uint len); /* Swap two string objects. Efficient way to exchange data without memcpy. */ void swap(String &s); |