mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 07:35:32 +02:00
Fixed bug in full join with many NULL fields.
Build-tools/Do-compile: Fixed 'touch' and 'chmod' of files. Docs/manual.texi: Changelog
This commit is contained in:
parent
61b769d94a
commit
c1caaf756f
5 changed files with 47 additions and 8 deletions
|
|
@ -5636,10 +5636,10 @@ SORT_FIELD *make_unireg_sortorder(ORDER *order, uint *length)
|
|||
|
||||
|
||||
/*****************************************************************************
|
||||
** Fill join cache with packed records
|
||||
** Records are stored in tab->cache.buffer and last record in
|
||||
** last record is stored with pointers to blobs to support very big
|
||||
** records
|
||||
Fill join cache with packed records
|
||||
Records are stored in tab->cache.buffer and last record in
|
||||
last record is stored with pointers to blobs to support very big
|
||||
records
|
||||
******************************************************************************/
|
||||
|
||||
static int
|
||||
|
|
@ -5701,7 +5701,7 @@ join_init_cache(THD *thd,JOIN_TAB *tables,uint table_count)
|
|||
if (null_fields && tables[i].table->null_fields)
|
||||
{ /* must copy null bits */
|
||||
copy->str=(char*) tables[i].table->null_flags;
|
||||
copy->length=(tables[i].table->null_fields+7)/8;
|
||||
copy->length=tables[i].table->null_bytes;
|
||||
copy->strip=0;
|
||||
copy->blob_field=0;
|
||||
length+=copy->length;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue