19 #include "sql_class.h"
29 static const char *fakepath=
"fakepath";
30 fields= number_of_columns;
32 column_bitmap_size=
sizeof(int);
33 tmp_table= NO_TMP_TABLE;
34 db_low_byte_first=
true;
35 path.str=
const_cast<char*
>(fakepath);
36 path.length= strlen(path.str);
50 Field *field_array[32];
58 write_set= &write_set_struct;
60 next_number_field= NULL;
62 EXPECT_EQ(0, bitmap_init(write_set, &write_set_buf, s->fields,
false));
65 for (uint
i= 0;
i < s->fields; ++
i)
68 field[
i]->table=
this;
69 field[
i]->field_index=
i;
109 void set_handler(
handler *h) { file= h; }
113 #endif // FAKE_TABLE_H