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

Manual merge

This commit is contained in:
igor@rurik.mysql.com
2005-06-23 11:22:30 -07:00
9 changed files with 273 additions and 30 deletions

View File

@ -11766,10 +11766,12 @@ cp_buffer_from_ref(THD *thd, TABLE_REF *ref)
thd->count_cuted_fields= CHECK_FIELD_IGNORE;
for (store_key **copy=ref->key_copy ; *copy ; copy++)
{
if ((*copy)->copy())
int res;
if ((res= (*copy)->copy()))
{
thd->count_cuted_fields= save_count_cuted_fields;
return 1; // Something went wrong
if ((res= res & 1))
return res; // Something went wrong
}
}
thd->count_cuted_fields= save_count_cuted_fields;