Lines Matching defs:tab

145 db_dictionary::create_table_desc(char *tab, table_obj* zdesc,
173 if ((newtab->table_name = strdup(tab)) == NULL) {
1416 * closes any open log files for all tables in dictionary or 'tab'.
1417 * "tab" is an optional argument.
1422 db_dictionary::db_standby(char *tab)
1433 if (tab == NULL) {
1440 if ((tbl = find_table_desc(tab)) == NULL) {
1452 * Returns db_table_desc of table name 'tab'. 'prev', if supplied,
1453 * is set to the entry located ahead of 'tab's entry in the dictionary.
1456 db_dictionary::find_table_desc(char *tab)
1462 ret = search_dictionary(dictionary, tab);
1471 db_dictionary::find_table_desc(char *tab, bool_t searchDeferred) {
1478 ret = search_dictionary(deferred.dictionary, tab);
1482 ret = find_table_desc(tab);
1489 db_dictionary::find_table(char *tab, db_table_desc **where) {
1491 return (find_table(tab, where, TRUE, TRUE, TRUE));
1495 db_dictionary::find_table(char *tab, db_table_desc **where,
1497 return (find_table(tab, where, searchDeferred, TRUE, TRUE));
1501 db_dictionary::find_table(char *tab, db_table_desc **where,
1509 res = find_table_noLDAP(tab, where, searchDeferred, doLoad);
1515 dstat = dbCreateFromLDAP(tab, &lstat);
1521 myself, NIL(tab),
1527 myself, dstat, NIL(tab));
1533 res = find_table_noLDAP(tab, where, searchDeferred, doLoad);
1539 * Return database structure of table named by 'tab'.
1540 * If 'where' is set, set it to the table_desc of 'tab.'
1546 db_dictionary::find_table_noLDAP(char *tab, db_table_desc **where,
1557 tbl = find_table_desc(tab, searchDeferred);
1579 dbase = new db(tab);
1618 db_dictionary::log_action(int action, char *tab, table_obj *tobj)
1623 db_dictlog_entry le(action, newv, tab, tobj);
1656 db_dictionary::delete_table_aux(char *tab, int mode)
1668 if ((tbl = find_table_desc(tab)) == NULL) { // table not found
1678 db_status status = log_action(DB_REMOVE_TABLE, tab);
1688 dbase = new db(tab);
1704 ret = remove_from_dictionary(dictionary, tab, TRUE);
1710 * Delete table with given name 'tab' from dictionary.
1718 db_dictionary::delete_table(char *tab)
1720 return (delete_table_aux(tab, !INMEMORY_ONLY));
1737 db_dictionary::add_table_aux(char *tab, table_obj* tobj, int mode)
1748 if (find_table_desc(tab) != NULL) {
1756 db_status status = create_table_desc(tab, tobj, &new_table);
1766 new_table->database = new db(tab);
1786 status = log_action(DB_ADD_TABLE, tab, tobj);
1804 * Add table with given name 'tab' and description 'zdesc' to dictionary.
1812 db_dictionary::add_table(char *tab, table_obj* tobj)
1814 return (add_table_aux(tab, tobj, !INMEMORY_ONLY));
1941 db_dictionary::db_checkpoint(char *tab)
1957 if (tab == NULL) {
1963 if ((tbl = find_table_desc(tab)) == NULL) {