@@ -48,7 +48,7 @@ TEST_CASE("check index with single column", "[NoDB]")
4848{
4949 test_framework const tf;
5050
51- flex_table_t table{" public" , " test_table" };
51+ flex_table_t table{" public" , " test_table" , 0 };
5252 table.add_column (" geom" , " geometry" , " " );
5353
5454 REQUIRE (table.indexes ().empty ());
@@ -71,7 +71,7 @@ TEST_CASE("check index with multiple columns", "[NoDB]")
7171{
7272 test_framework const tf;
7373
74- flex_table_t table{" public" , " test_table" };
74+ flex_table_t table{" public" , " test_table" , 0 };
7575 table.add_column (" a" , " int" , " " );
7676 table.add_column (" b" , " int" , " " );
7777
@@ -93,7 +93,7 @@ TEST_CASE("check unique index", "[NoDB]")
9393{
9494 test_framework const tf;
9595
96- flex_table_t table{" public" , " test_table" };
96+ flex_table_t table{" public" , " test_table" , 0 };
9797 table.add_column (" col" , " int" , " " );
9898
9999 REQUIRE (tf.run_lua (
@@ -115,7 +115,7 @@ TEST_CASE("check index with tablespace from table", "[NoDB]")
115115{
116116 test_framework const tf;
117117
118- flex_table_t table{" public" , " test_table" };
118+ flex_table_t table{" public" , " test_table" , 0 };
119119 table.set_index_tablespace (" foo" );
120120 table.add_column (" col" , " int" , " " );
121121
@@ -137,7 +137,7 @@ TEST_CASE("check index with tablespace", "[NoDB]")
137137{
138138 test_framework const tf;
139139
140- flex_table_t table{" public" , " test_table" };
140+ flex_table_t table{" public" , " test_table" , 0 };
141141 table.add_column (" col" , " int" , " " );
142142
143143 REQUIRE (tf.run_lua (" return { method = 'btree', column = 'col', tablespace "
@@ -159,7 +159,7 @@ TEST_CASE("check index with expression and where clause", "[NoDB]")
159159{
160160 test_framework const tf;
161161
162- flex_table_t table{" public" , " test_table" };
162+ flex_table_t table{" public" , " test_table" , 0 };
163163 table.add_column (" col" , " text" , " " );
164164
165165 REQUIRE (tf.run_lua (" return { method = 'btree', expression = 'lower(col)',"
@@ -181,7 +181,7 @@ TEST_CASE("check index with include", "[NoDB]")
181181{
182182 test_framework const tf;
183183
184- flex_table_t table{" public" , " test_table" };
184+ flex_table_t table{" public" , " test_table" , 0 };
185185 table.add_column (" col" , " int" , " " );
186186 table.add_column (" extra" , " int" , " " );
187187
@@ -204,7 +204,7 @@ TEST_CASE("check index with include as array", "[NoDB]")
204204{
205205 test_framework const tf;
206206
207- flex_table_t table{" public" , " test_table" };
207+ flex_table_t table{" public" , " test_table" , 0 };
208208 table.add_column (" col" , " int" , " " );
209209 table.add_column (" extra" , " int" , " " );
210210
@@ -227,7 +227,7 @@ TEST_CASE("check index with empty include array", "[NoDB]")
227227{
228228 test_framework const tf;
229229
230- flex_table_t table{" public" , " test_table" };
230+ flex_table_t table{" public" , " test_table" , 0 };
231231 table.add_column (" col" , " int" , " " );
232232 table.add_column (" extra" , " int" , " " );
233233
@@ -250,7 +250,7 @@ TEST_CASE("check multiple indexes", "[NoDB]")
250250{
251251 test_framework const tf;
252252
253- flex_table_t table{" public" , " test_table" };
253+ flex_table_t table{" public" , " test_table" , 0 };
254254 table.add_column (" a" , " int" , " " );
255255 table.add_column (" b" , " int" , " " );
256256
@@ -273,7 +273,7 @@ TEST_CASE("check various broken index configs", "[NoDB]")
273273{
274274 test_framework const tf;
275275
276- flex_table_t table{" public" , " test_table" };
276+ flex_table_t table{" public" , " test_table" , 0 };
277277 table.add_column (" col" , " text" , " " );
278278
279279 SECTION (" empty index description" ) { REQUIRE (tf.run_lua (" return {}" )); }
0 commit comments