Lines Matching refs:scheme
46 * Constructor: Create new table using scheme defintion supplied.
47 * (Make copy of scheme and keep it with table.)
60 /* Constructor: Create empty table (no scheme, no table or indices). */
63 scheme = NULL;
81 * Initialize table using information given in scheme 'how'.
82 * Record the scheme for later use (make copy of it);
89 scheme = new db_scheme(how); // make copy
90 if (scheme == NULL)
91 FATAL("db_mindex::init: could not allocate space for scheme",
94 if (scheme->numkeys() == 0) {
95 WARNING("db_mindex::init: empty scheme encountered");
106 delete scheme;
108 scheme = NULL;
117 delete scheme;
118 scheme = NULL;
375 * along with information on the scheme given, will determine
385 if (scheme->numkeys() != indices.indices_len) { // probably built wrong
388 scheme->numkeys(), indices.indices_len);
397 db_query* answer = new db_query(scheme, obj);
1051 /* Write this structure (table, indices, scheme) into the specified file. */
1066 * scheme.
1079 if (scheme) { delete scheme; scheme = NULL; }
1103 int init_scheme = (this->scheme == NULL);
1114 /* Initialize the 'scheme' locking */
1115 if (status == 0 && this->scheme != 0 && init_scheme) {
1123 (void) memcpy(tmpscheme, this->scheme,
1124 this->scheme->oldstructsize());
1125 free(this->scheme);
1126 this->scheme = tmpscheme;