mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Added checking of return value from my_once_alloc() in charset
Added checking of return value from malloc() in reg_init() client/mysqltest.c: Added comment dbug/dbug.c: Removed not needed test mysys/charset.c: Added checking of return value from my_once_alloc() regex/reginit.c: Abort if out of memory in reg_init() (unlikely) sql/item_strfunc.cc: Added comment
This commit is contained in:
@@ -501,7 +501,7 @@ void _db_push_ (const char *control)
|
||||
if (! _db_fp_)
|
||||
_db_fp_= stderr; /* Output stream, default stderr */
|
||||
|
||||
if (control && *control == '-')
|
||||
if (*control == '-')
|
||||
{
|
||||
if (*++control == '#')
|
||||
control++;
|
||||
|
Reference in New Issue
Block a user