Commit 357167f2 authored by unknown's avatar unknown

Merge work:/home/bk/mysql

into mysql.sashanet.com:/home/sasha/src/bk/mysql

parents 9f50424d 2ca5d837
...@@ -63,9 +63,10 @@ static uint num_from_csname(CS_ID **cs, const char *name) ...@@ -63,9 +63,10 @@ static uint num_from_csname(CS_ID **cs, const char *name)
static char *name_from_csnum(CS_ID **cs, uint number) static char *name_from_csnum(CS_ID **cs, uint number)
{ {
CS_ID **c; CS_ID **c;
for (c = cs; *c; ++c) if(cs)
if ((*c)->number == number) for (c = cs; *c; ++c)
return (*c)->name; if ((*c)->number == number)
return (*c)->name;
return "?"; /* this mimics find_type() */ return "?"; /* this mimics find_type() */
} }
......
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