mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
The pilot patch for mwl#253.
This commit is contained in:
@@ -2630,7 +2630,7 @@ partititon_err:
|
||||
/* Allocate bitmaps */
|
||||
|
||||
bitmap_size= share->column_bitmap_size;
|
||||
if (!(bitmaps= (uchar*) alloc_root(&outparam->mem_root, bitmap_size*5)))
|
||||
if (!(bitmaps= (uchar*) alloc_root(&outparam->mem_root, bitmap_size*6)))
|
||||
goto err;
|
||||
bitmap_init(&outparam->def_read_set,
|
||||
(my_bitmap_map*) bitmaps, share->fields, FALSE);
|
||||
@@ -2642,8 +2642,12 @@ partititon_err:
|
||||
(my_bitmap_map*) (bitmaps+bitmap_size*3), share->fields, FALSE);
|
||||
bitmap_init(&outparam->eq_join_set,
|
||||
(my_bitmap_map*) (bitmaps+bitmap_size*4), share->fields, FALSE);
|
||||
bitmap_init(&outparam->cond_set,
|
||||
(my_bitmap_map*) (bitmaps+bitmap_size*5), share->fields, FALSE);
|
||||
outparam->default_column_bitmaps();
|
||||
|
||||
outparam->cond_selectivity= 1.0;
|
||||
|
||||
/* The table struct is now initialized; Open the table */
|
||||
error= 2;
|
||||
if (db_stat)
|
||||
|
Reference in New Issue
Block a user