1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Merge fix for BUG#778406.

This commit is contained in:
Sergey Petrunya
2011-06-17 17:45:41 +04:00
4 changed files with 66 additions and 1 deletions

View File

@@ -3527,7 +3527,6 @@ int do_sj_dups_weedout(THD *thd, SJ_TMP_TABLE *sjtbl)
}
ptr= sjtbl->tmp_table->record[0] + 1;
nulls_ptr= ptr;
/* Put the the rowids tuple into table->record[0]: */
@@ -3543,6 +3542,7 @@ int do_sj_dups_weedout(THD *thd, SJ_TMP_TABLE *sjtbl)
ptr += 2;
}
nulls_ptr= ptr;
// 2. Zero the null bytes
if (sjtbl->null_bytes)
{