summaryrefslogtreecommitdiff
path: root/databases/mysql50-server/files/patch-innobase_dict_dict0dict.c
blob: e72e16c708c9434d62d0eab9453cf8a5f1169392 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- innobase/dict/dict0dict.c.orig	Fri Jan 26 22:17:57 2007
+++ innobase/dict/dict0dict.c	Fri Jan 26 22:20:11 2007
@@ -28,7 +28,7 @@
 #include "rem0cmp.h"
 
 /* Implement isspace() in a locale-independent way. (Bug #24299) */
-#define ib_isspace(c) strchr(" \v\f\t\r\n", c)
+#define ib_isspace(c) (strchr(" \v\f\t\r\n", c) && c != '\0')
 
 dict_sys_t*	dict_sys	= NULL;	/* the dictionary system */