Lines Matching refs:scheme
48 * Constructor: Create new table using scheme defintion supplied.
49 * (Make copy of scheme and keep it with table.)
62 /* Constructor: Create empty table (no scheme, no table or indices). */
65 scheme = NULL;
83 * Initialize table using information given in scheme 'how'.
84 * Record the scheme for later use (make copy of it);
91 scheme = new db_scheme(how); // make copy
92 if (scheme == NULL)
93 FATAL("db_mindex::init: could not allocate space for scheme",
96 if (scheme->numkeys() == 0) {
97 WARNING("db_mindex::init: empty scheme encountered");
108 delete scheme;
110 scheme = NULL;
119 delete scheme;
120 scheme = NULL;
377 * along with information on the scheme given, will determine
387 if (scheme->numkeys() != indices.indices_len) { // probably built wrong
390 scheme->numkeys(), indices.indices_len);
399 db_query* answer = new db_query(scheme, obj);
1053 /* Write this structure (table, indices, scheme) into the specified file. */
1068 * scheme.
1081 if (scheme) { delete scheme; scheme = NULL; }
1105 int init_scheme = (this->scheme == NULL);
1116 /* Initialize the 'scheme' locking */
1117 if (status == 0 && this->scheme != 0 && init_scheme) {
1125 (void) memcpy(tmpscheme, this->scheme,
1126 this->scheme->oldstructsize());
1127 free(this->scheme);
1128 this->scheme = tmpscheme;