1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Fixed warnings from valgrind (not a bug)

Don't add -debug to server version if MYSQL_SERVER_PREFIX is used
Indentation cleanups
This commit is contained in:
monty@mysql.com
2004-04-06 12:13:43 +03:00
parent 03caa47acb
commit 49330f61da
8 changed files with 28 additions and 20 deletions

View File

@ -1805,7 +1805,7 @@ Field *find_field_in_table(THD *thd,TABLE *table,const char *name,uint length,
if (cached_field_index < table->fields &&
!my_strcasecmp(system_charset_info,
table->field[cached_field_index]->field_name, name))
field_ptr= table->field + cached_field_index;
field_ptr= table->field + cached_field_index;
else if (table->name_hash.records)
field_ptr= (Field**)hash_search(&table->name_hash,(byte*) name,
length);