53 while (table !=
NULL && table->
class_ != class_)
88 for (table = Classes, next =
NULL; table !=
NULL; table = next)
111 for (i = 0; i < table->
count; i++)
134 if (newcount > table->
count)
137 if (tmp_inst_info ==
NULL)
143 for (i = table->
count; i < newcount; i++)
145 tmp_inst_info[
i].
flags = 0;
150 table->
count = newcount;
198 if (
id >= table->
count)
233 if (
id >= table->
count)
291 if (table->
count >
id)
314 for (table = Classes; table !=
NULL && error ==
NO_ERROR; table = table->
next)
316 for (i = 0; i < table->
count; i++)
320 error = (*mapfunc) (table, &(table->instances[
i].oid));
387 for (table = Classes; table !=
NULL && !
error; table = table->
next)
#define INST_FLAG_RESERVED
#define ER_LDR_MEMORY_ERROR
const char * db_get_class_name(DB_OBJECT *class_)
static int realloc_instance_table(CLASS_TABLE *table, int newcount)
#define OID_SET_NULL(oidp)
int otable_reserve(CLASS_TABLE *table, OID *instance, int id)
int otable_insert(CLASS_TABLE *table, OID *instance, int id)
struct class_table * next
void er_set(int severity, const char *file_name, const int line_no, int err_id, int num_args,...)
#define INST_FLAG_CLASS_ATT
void otable_class_att_ref(INST_INFO *inst)
CLASS_TABLE * otable_find_class(MOP class_)
int(* OTABLE_MAPFUNC)(CLASS_TABLE *class_, OID *oid)
#define INST_FLAG_INSERTED
static int grow_instance_table(CLASS_TABLE *table, int id)
INST_INFO * otable_find(CLASS_TABLE *table, int id)
static void error(const char *msg)
entry_workpool * instance
int otable_map_reserved(OTABLE_MAPFUNC mapfunc, int stop_on_error)
#define free_and_init(ptr)
void otable_set_presize(CLASS_TABLE *table, int id)
char * msgcat_message(int cat_id, int set_id, int msg_id)
static void init_instance_table(CLASS_TABLE *table)
static void flush_class_tables()
int otable_update(CLASS_TABLE *table, int id)
#define MSGCAT_CATALOG_UTILS