//#define LEAK_TEST #include "roseTableTpcCH.h" #include "stasis/page/compression/compression.h" int main(int argc, char **argv) { typedef int32_t typ0; typedef int16_t typ1; typedef int8_t typ2; typedef int8_t typ3; typedef int32_t typ4; typedef int32_t typ5; typedef int8_t typ6; typedef int32_t typ7; typedef int8_t typ8; typedef int8_t typ9; /* typedef int32_t typ10; typedef int16_t typ11; typedef int8_t typ12; typedef int8_t typ13; typedef int32_t typ14; typedef int32_t typ15; typedef int8_t typ16; typedef int32_t typ17; typedef int8_t typ18; typedef int8_t typ19; */ typedef int64_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 20 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(COLS * sizeof(rose::plugin_id_t)); // todo try Rle / For 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, Rle, typ3>(); // todo try nop / for plugins[4] = rose::plugin_id, For, typ4>(); // rle plugins[5] = rose::plugin_id, Rle, typ5>(); plugins[6] = rose::plugin_id, Nop, typ6>(); // todo try nop plugins[7] = rose::plugin_id, For, typ7>(); // for plugins[8] = rose::plugin_id, Rle, typ8>(); plugins[9] = rose::plugin_id, Rle, 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, Rle,Rle, For,Rle, Nop,For, Rle,Rle, Rle,Rle, Rle,Rle, For,Rle, Nop,For, Rle,Rle > >::initPageLayout(); ret = rose::main ,Rle, Rle,Rle, For,Rle, Nop,For, Rle,Rle, Rle,Rle, Rle,Rle, For,Rle, Nop,For, Rle,Rle > > > (argc,argv); return ret; }