mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Post-merge fixes.
Note: One sp.test still fails (prime), and rpl_server_id2.test fails (will be fixed by guilhem ASAP). mysql-test/r/index_merge.result: Fixed syntax error (no ',' after last index in create table any more). mysql-test/r/index_merge_bdb.result: Fixed syntax error (no ',' after last index in create table any more). mysql-test/r/index_merge_innodb.result: Fixed syntax error (no ',' after last index in create table any more). mysql-test/r/index_merge_innodb2.result: Fixed syntax error (no ',' after last index in create table any more). mysql-test/r/rpl_server_id1.result: Update result after merge. mysql-test/r/sp-error.result: Update result after merge. mysql-test/r/variables.result: Update result after merge. mysql-test/t/index_merge.test: Fixed syntax error (no ',' after last index in create table any more). mysql-test/t/index_merge_bdb.test: Fixed syntax error (no ',' after last index in create table any more). mysql-test/t/index_merge_innodb.test: Fixed syntax error (no ',' after last index in create table any more). mysql-test/t/index_merge_innodb2.test: Fixed syntax error (no ',' after last index in create table any more). mysql-test/t/sp-error.test: Post-merge fix of error codes. sql/opt_range.cc: Manually merged by Monty. sql/opt_range.h: Manually merged by Monty. sql/slave.cc: Post-merge fixes with some help from Guilhem. sql/slave.h: Post-merge fixes with some help from Guilhem. sql/sp_head.cc: Got rid of warning (reordering initialization). sql/sql_parse.cc: Post-merge fix: Need to set/reset select_limit at SP CALL time as well. tests/client_test.c: Post-merge fix: key_len length in explain has changed.
This commit is contained in:
@ -35,7 +35,7 @@
|
||||
|
||||
|
||||
typedef struct st_key_part {
|
||||
uint16 key,part,part_length;
|
||||
uint16 key,part, store_length, length;
|
||||
uint8 null_bit;
|
||||
Field *field;
|
||||
Field::imagetype image_type;
|
||||
@ -74,6 +74,7 @@ class QUICK_RANGE :public Sql_alloc {
|
||||
class QUICK_SELECT_I
|
||||
{
|
||||
public:
|
||||
bool sorted;
|
||||
ha_rows records; /* estimate of # of records to be retrieved */
|
||||
double read_time; /* time to perform this retrieval */
|
||||
TABLE *head;
|
||||
@ -170,6 +171,17 @@ public:
|
||||
};
|
||||
|
||||
|
||||
class QUICK_RANGE_SELECT_GEOM: public QUICK_RANGE_SELECT
|
||||
{
|
||||
public:
|
||||
QUICK_RANGE_SELECT_GEOM(THD *thd, TABLE *table, uint index_arg,
|
||||
bool no_alloc, MEM_ROOT *parent_alloc)
|
||||
:QUICK_RANGE_SELECT(thd, table, index_arg, no_alloc, parent_alloc)
|
||||
{};
|
||||
virtual int get_next();
|
||||
};
|
||||
|
||||
|
||||
/*
|
||||
QUICK_INDEX_MERGE_SELECT - index_merge access method quick select.
|
||||
|
||||
|
Reference in New Issue
Block a user