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

Merge abotchkov@work.mysql.com:/home/bk/mysql-4.1

into genie.(none):/home/hf/work/mysql-4.1
This commit is contained in:
hf@genie.(none)
2002-10-18 15:55:21 +05:00
24 changed files with 775 additions and 364 deletions

View File

@ -5358,6 +5358,9 @@ end_update(JOIN *join, JOIN_TAB *join_tab __attribute__((unused)),
{
Item *item= *group->item;
item->save_org_in_field(group->field);
#ifdef EMBEDDED_LIBRARY
join->thd->net.last_errno= 0;
#endif
/* Store in the used key if the field was 0 */
if (item->maybe_null)
group->buff[-1]=item->null_value ? 1 : 0;