//#define LEAK_TEST #define XID_COL 254 // XXX #include "roseTableTpcCH.h" #include "stasis/page/compression/compression.h" int main(int argc, char **argv) { typedef int8_t typ0; typedef int8_t typ1; typedef int8_t typ2; typedef int32_t typ3; typedef int8_t typ4; typedef int32_t typ5; typedef int32_t typ6; typedef int16_t typ7; typedef int8_t typ8; typedef int8_t typ9; typedef rose::epoch_t typ10; typedef int64_t typ11; typedef int64_t typ12; typedef int64_t typ13; typedef int64_t typ14; typedef int64_t typ15; typedef int64_t typ16; typedef int64_t typ17; typedef int64_t typ18; typedef int64_t typ19; #define COLS 11 typedef rose::StaticTuple tup; using rose::For; using rose::Rle; using rose::Nop; int ret; // multicolumn is deprecated; want static dispatch! rose::plugin_id_t * plugins = (rose::plugin_id_t*)malloc(10 * sizeof(rose::plugin_id_t)); plugins[0] = rose::plugin_id, Rle, typ0>(); plugins[1] = rose::plugin_id, Rle, typ1>(); // rle plugins[2] = rose::plugin_id, Rle, typ2>(); plugins[3] = rose::plugin_id, For, typ3>(); plugins[4] = rose::plugin_id, Nop, typ4>(); // rle plugins[5] = rose::plugin_id, Nop, typ5>(); plugins[6] = rose::plugin_id, Nop, typ6>(); plugins[7] = rose::plugin_id, For, typ7>(); // for plugins[8] = rose::plugin_id, Nop, typ8>(); plugins[9] = rose::plugin_id, Nop, typ9>(); // todo try Rle / For plugins[10] = rose::plugin_id, Rle, typ10>(); plugins[11] = rose::plugin_id, Rle, typ11>(); // rle plugins[12] = rose::plugin_id, Rle, typ12>(); plugins[13] = rose::plugin_id, Rle, typ13>(); // todo try nop / for plugins[14] = rose::plugin_id, For, typ14>(); // rle plugins[15] = rose::plugin_id, Rle, typ15>(); plugins[16] = rose::plugin_id, Nop, typ16>(); // todo try nop plugins[17] = rose::plugin_id, For, typ17>(); // for plugins[18] = rose::plugin_id, Rle, typ18>(); plugins[19] = rose::plugin_id, Rle, typ19>(); rose::DynamicMultiColumnTypePageLayout >::initPageLayout(plugins); ret = rose::main > >(argc,argv); /* return rose::main ,Rle, Rle,Rle, Rle,Rle, Rle,Rle, Rle,For > > > (argc,argv); */ /* rose::StaticMultiColumnTypePageLayout ,Rle, For,Rle, Rle,Rle, For,For, For,Rle, Rle,Rle, Rle,Rle, For,Rle, Nop,For, Rle,Rle > >::initPageLayout(); ret = rose::main ,Rle, For,Rle, Rle,Rle, For,For, For,Rle, Rle,Rle, Rle,Rle, For,Rle, Nop,For, Rle,Rle > > > (argc,argv); */ return ret; }