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

some bug fixes related to derived tables

This commit is contained in:
Sinisa@sinisa.nasamreza.org
2002-11-11 17:45:23 +02:00
parent 408d7b2d4c
commit c6b0d33619
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))