From 6b97c26a29127f73c699aaa13ffb5ae9f33703cf Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 10 Dec 2003 00:00:20 +0200 Subject: 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 --- dbug/dbug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dbug') 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++; -- cgit v1.2.1