@@ -3396,18 +3396,12 @@ int spider_db_store_result(
33963396
33973397 DBUG_PRINT (" info" ,(" spider store result to temporary table" ));
33983398 DBUG_ASSERT (!current->result_tmp_tbl );
3399- #ifdef SPIDER_use_LEX_CSTRING_for_Field_blob_constructor
34003399 LEX_CSTRING field_name1 = {STRING_WITH_LEN (" a" )};
34013400 LEX_CSTRING field_name2 = {STRING_WITH_LEN (" b" )};
34023401 LEX_CSTRING field_name3 = {STRING_WITH_LEN (" c" )};
34033402 if (!(current->result_tmp_tbl = spider_mk_sys_tmp_table_for_result (
34043403 thd, table, ¤t->result_tmp_tbl_prm , &field_name1, &field_name2,
34053404 &field_name3, &my_charset_bin)))
3406- #else
3407- if (!(current->result_tmp_tbl = spider_mk_sys_tmp_table_for_result (
3408- thd, table, ¤t->result_tmp_tbl_prm , " a" , " b" , " c" ,
3409- &my_charset_bin)))
3410- #endif
34113405 {
34123406 DBUG_RETURN (HA_ERR_OUT_OF_MEM);
34133407 }
@@ -3757,21 +3751,13 @@ int spider_db_store_result_for_reuse_cursor(
37573751
37583752 DBUG_PRINT (" info" ,(" spider store result to temporary table" ));
37593753 DBUG_ASSERT (!current->result_tmp_tbl );
3760- #ifdef SPIDER_use_LEX_CSTRING_for_Field_blob_constructor
37613754 LEX_CSTRING field_name1 = {STRING_WITH_LEN (" a" )};
37623755 LEX_CSTRING field_name2 = {STRING_WITH_LEN (" b" )};
37633756 LEX_CSTRING field_name3 = {STRING_WITH_LEN (" c" )};
37643757 if (!(current->result_tmp_tbl = spider_mk_sys_tmp_table_for_result (
37653758 thd, table, ¤t->result_tmp_tbl_prm , &field_name1, &field_name2,
37663759 &field_name3, &my_charset_bin)))
3767- #else
3768- if (!(current->result_tmp_tbl = spider_mk_sys_tmp_table_for_result (
3769- thd, table, ¤t->result_tmp_tbl_prm , " a" , " b" , " c" ,
3770- &my_charset_bin)))
3771- #endif
3772- {
37733760 DBUG_RETURN (HA_ERR_OUT_OF_MEM);
3774- }
37753761 current->result_tmp_tbl_thd = thd;
37763762 TABLE *tmp_tbl = current->result_tmp_tbl ;
37773763 tmp_tbl->file ->extra (HA_EXTRA_WRITE_CACHE);
0 commit comments