Commit 8509f91c authored by unknown's avatar unknown

Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql

parents 55bfc754 3a648871
...@@ -1365,7 +1365,7 @@ uint _line_) ...@@ -1365,7 +1365,7 @@ uint _line_)
#ifdef THREAD #ifdef THREAD
(void) fprintf (_db_fp_, "%-7s: ", my_thread_name()); (void) fprintf (_db_fp_, "%-7s: ", my_thread_name());
#else #else
(void) fprintf (_db_fp_, "%5d: ", getpid ()); (void) fprintf (_db_fp_, "%5d: ", (int) getpid ());
#endif #endif
} }
if (stack -> flags & NUMBER_ON) { if (stack -> flags & NUMBER_ON) {
......
...@@ -112,13 +112,13 @@ typedef struct st_heap_share ...@@ -112,13 +112,13 @@ typedef struct st_heap_share
LIST open_list; LIST open_list;
} HP_SHARE; } HP_SHARE;
struct st_hash_info; struct st_hp_hash_info;
typedef struct st_heap_info typedef struct st_heap_info
{ {
HP_SHARE *s; HP_SHARE *s;
byte *current_ptr; byte *current_ptr;
struct st_hash_info *current_hash_ptr; struct st_hp_hash_info *current_hash_ptr;
ulong current_record,next_block; ulong current_record,next_block;
int lastinx,errkey; int lastinx,errkey;
int mode; /* Mode of file (READONLY..) */ int mode; /* Mode of file (READONLY..) */
......
...@@ -80,7 +80,7 @@ print_array(FILE *f, const char *set, const char *name, int n) ...@@ -80,7 +80,7 @@ print_array(FILE *f, const char *set, const char *name, int n)
endptr = p; endptr = p;
for (;;) for (;;)
{ {
while (isspace(*endptr)) while (isspace((* (unsigned char*) endptr)))
++endptr; ++endptr;
if (*endptr && *endptr != '#') /* not comment */ if (*endptr && *endptr != '#') /* not comment */
break; break;
...@@ -90,7 +90,7 @@ print_array(FILE *f, const char *set, const char *name, int n) ...@@ -90,7 +90,7 @@ print_array(FILE *f, const char *set, const char *name, int n)
} }
p = val; p = val;
while (!isspace(*endptr)) while (!isspace((* (unsigned char*) endptr)))
*p++ = *endptr++; *p++ = *endptr++;
*p = '\0'; *p = '\0';
p = endptr; p = endptr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment