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

Change of internal key_field=NULL handling to avoid error messages.

Optimized SELECT DISTINCT ... ORDER BY ... LIMIT
Fixed reference to uninitalized variable
This commit is contained in:
monty@hundin.mysql.fi
2002-12-03 13:08:25 +02:00
parent ce56f927fa
commit 8830eb4aa9
25 changed files with 315 additions and 119 deletions

View File

@ -2098,7 +2098,7 @@ fill_record(List<Item> &fields,List<Item> &values)
while ((field=(Item_field*) f++))
{
value=v++;
if (value->save_in_field(field->field))
if (value->save_in_field(field->field, 0))
DBUG_RETURN(1);
}
DBUG_RETURN(0);
@ -2116,7 +2116,7 @@ fill_record(Field **ptr,List<Item> &values)
while ((field = *ptr++))
{
value=v++;
if (value->save_in_field(field))
if (value->save_in_field(field, 0))
DBUG_RETURN(1);
}
DBUG_RETURN(0);