summaryrefslogtreecommitdiff
path: root/dbug
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2003-12-10 00:00:20 +0200
committerunknown <monty@mysql.com>2003-12-10 00:00:20 +0200
commit6b97c26a29127f73c699aaa13ffb5ae9f33703cf (patch)
tree3974a0549628cd8fca7b70530e3d0443783de374 /dbug
parent4e85bf326e8051533bb680d1a612813705dc789d (diff)
downloadmariadb-git-6b97c26a29127f73c699aaa13ffb5ae9f33703cf.tar.gz
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
Diffstat (limited to 'dbug')
-rw-r--r--dbug/dbug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbug/dbug.c b/dbug/dbug.c
index a4f9d5ecd4b..c6df6b105c5 100644
--- a/dbug/dbug.c
+++ b/dbug/dbug.c
@@ -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++;