Commit 73cf630f authored by Sachin Setiya's avatar Sachin Setiya

Fix Compile Error while using Flag '-DUSE_ARIA_FOR_TMP_TABLES:BOOL=OFF'

parent 59990747
...@@ -17799,7 +17799,7 @@ bool create_internal_tmp_table(TABLE *table, KEY *keyinfo, ...@@ -17799,7 +17799,7 @@ bool create_internal_tmp_table(TABLE *table, KEY *keyinfo,
table->in_use->inc_status_created_tmp_tables(); table->in_use->inc_status_created_tmp_tables();
table->in_use->query_plan_flags|= QPLAN_TMP_DISK; table->in_use->query_plan_flags|= QPLAN_TMP_DISK;
share->db_record_offset= 1; share->db_record_offset= 1;
table->created= TRUE; table->set_created();
DBUG_RETURN(0); DBUG_RETURN(0);
err: err:
DBUG_RETURN(1); DBUG_RETURN(1);
...@@ -18299,8 +18299,8 @@ int rr_sequential_and_unpack(READ_RECORD *info) ...@@ -18299,8 +18299,8 @@ int rr_sequential_and_unpack(READ_RECORD *info)
*/ */
bool instantiate_tmp_table(TABLE *table, KEY *keyinfo, bool instantiate_tmp_table(TABLE *table, KEY *keyinfo,
MARIA_COLUMNDEF *start_recinfo, TMP_ENGINE_COLUMNDEF *start_recinfo,
MARIA_COLUMNDEF **recinfo, TMP_ENGINE_COLUMNDEF **recinfo,
ulonglong options) ulonglong options)
{ {
if (table->s->db_type() == TMP_ENGINE_HTON) if (table->s->db_type() == TMP_ENGINE_HTON)
......
...@@ -2264,8 +2264,8 @@ bool create_internal_tmp_table(TABLE *table, KEY *keyinfo, ...@@ -2264,8 +2264,8 @@ bool create_internal_tmp_table(TABLE *table, KEY *keyinfo,
TMP_ENGINE_COLUMNDEF **recinfo, TMP_ENGINE_COLUMNDEF **recinfo,
ulonglong options); ulonglong options);
bool instantiate_tmp_table(TABLE *table, KEY *keyinfo, bool instantiate_tmp_table(TABLE *table, KEY *keyinfo,
MARIA_COLUMNDEF *start_recinfo, TMP_ENGINE_COLUMNDEF *start_recinfo,
MARIA_COLUMNDEF **recinfo, TMP_ENGINE_COLUMNDEF **recinfo,
ulonglong options); ulonglong options);
bool open_tmp_table(TABLE *table); bool open_tmp_table(TABLE *table);
void setup_tmp_table_column_bitmaps(TABLE *table, uchar *bitmaps); void setup_tmp_table_column_bitmaps(TABLE *table, uchar *bitmaps);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment