diff options
Diffstat (limited to 'innobase/include/data0data.h')
-rw-r--r-- | innobase/include/data0data.h | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/innobase/include/data0data.h b/innobase/include/data0data.h index 2ec94a9517a..2501d2b809f 100644 --- a/innobase/include/data0data.h +++ b/innobase/include/data0data.h @@ -375,84 +375,6 @@ dtuple_big_rec_free( /*================*/ big_rec_t* vector); /* in, own: big rec vector; it is freed in this function */ -/*************************************************************** -Generates a random tuple. */ - -dtuple_t* -dtuple_gen_rnd_tuple( -/*=================*/ - /* out: pointer to the tuple */ - mem_heap_t* heap); /* in: memory heap where generated */ -/******************************************************************* -Generates a test tuple for sort and comparison tests. */ - -void -dtuple_gen_test_tuple( -/*==================*/ - dtuple_t* tuple, /* in/out: a tuple with 3 fields */ - ulint i); /* in: a number, 0 <= i < 512 */ -/******************************************************************* -Generates a test tuple for B-tree speed tests. */ - -void -dtuple_gen_test_tuple3( -/*===================*/ - dtuple_t* tuple, /* in/out: a tuple with 3 fields */ - ulint i, /* in: a number < 1000000 */ - ulint type, /* in: DTUPLE_TEST_FIXED30, ... */ - byte* buf); /* in: a buffer of size >= 8 bytes */ -/******************************************************************* -Generates a test tuple for B-tree speed tests. */ - -void -dtuple_gen_search_tuple3( -/*=====================*/ - dtuple_t* tuple, /* in/out: a tuple with 1 or 2 fields */ - ulint i, /* in: a number < 1000000 */ - byte* buf); /* in: a buffer of size >= 8 bytes */ -/******************************************************************* -Generates a test tuple for TPC-A speed test. */ - -void -dtuple_gen_test_tuple_TPC_A( -/*========================*/ - dtuple_t* tuple, /* in/out: a tuple with >= 3 fields */ - ulint i, /* in: a number < 10000 */ - byte* buf); /* in: a buffer of size >= 16 bytes */ -/******************************************************************* -Generates a test tuple for B-tree speed tests. */ - -void -dtuple_gen_search_tuple_TPC_A( -/*==========================*/ - dtuple_t* tuple, /* in/out: a tuple with 1 field */ - ulint i, /* in: a number < 10000 */ - byte* buf); /* in: a buffer of size >= 16 bytes */ -/******************************************************************* -Generates a test tuple for TPC-C speed test. */ - -void -dtuple_gen_test_tuple_TPC_C( -/*========================*/ - dtuple_t* tuple, /* in/out: a tuple with >= 12 fields */ - ulint i, /* in: a number < 100000 */ - byte* buf); /* in: a buffer of size >= 16 bytes */ -/******************************************************************* -Generates a test tuple for B-tree speed tests. */ - -void -dtuple_gen_search_tuple_TPC_C( -/*==========================*/ - dtuple_t* tuple, /* in/out: a tuple with 1 field */ - ulint i, /* in: a number < 100000 */ - byte* buf); /* in: a buffer of size >= 16 bytes */ - -/* Types of the third field in dtuple_gen_test_tuple3 */ -#define DTUPLE_TEST_FIXED30 1 -#define DTUPLE_TEST_RND30 2 -#define DTUPLE_TEST_RND3500 3 -#define DTUPLE_TEST_FIXED2000 4 -#define DTUPLE_TEST_FIXED3 5 /*######################################################################*/ |