1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

some bug fixes related to derived tables

This commit is contained in:
unknown
2002-11-11 17:45:23 +02:00
parent 9134db473d
commit 736e3c3c17
4 changed files with 31 additions and 6 deletions

View File

@ -1748,7 +1748,9 @@ Field *find_field_in_table(THD *thd,TABLE *table,const char *name,uint length,
}
else
{
Field **ptr=table->field;
Field **ptr;
if (!(ptr=table->field))
return (Field *)0;
while ((field = *ptr++))
{
if (!my_strcasecmp(system_charset_info, field->field_name, name))