1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

String::append_for_single_quote() should signal OOM condition,

just like other String::append() methods do
This commit is contained in:
Sergei Golubchik
2013-04-19 20:35:32 +02:00
parent 4b169cd7c1
commit faf4d99d22
2 changed files with 11 additions and 22 deletions

View File

@ -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);