51 std::vector<char *> &triggers)
62 describe_trigger_list (cache->
triggers[i], sb, printer, triggers);
73 describe_trigger_list (cache->
triggers[i], sb, printer, triggers);
86 describe_trigger_list (cache->
triggers[i], sb, printer, triggers);
101 , class_attributes (
NULL)
103 , class_methods (
NULL)
105 , method_files (
NULL)
142 #if 0 //bSolo: temporary until evolve above gcc 4.4.7 143 for (
auto it: triggers)
148 for (
auto it=triggers.begin (); it != triggers.end (); ++it)
155 #if 0 //bSolo: temporary until evolve above gcc 4.4.7 161 for (
auto it=partition.begin (); it != partition.end (); ++it)
189 return init (op, prt_type, sb);
209 bool include_inherited;
210 bool force_print_att_coll =
false;
211 bool has_comment =
false;
334 buf_size =
sizeof (
char *) * (count + 1);
336 strs = (
char **) malloc (buf_size);
375 buf_size =
sizeof (
char *) * (count + 1);
377 strs = (
char **) malloc (buf_size);
416 if (include_inherited)
435 buf_size =
sizeof (
char *) * (count + 1);
437 strs = (
char **) malloc (buf_size);
447 if (include_inherited || (!include_inherited && a->
class_mop == op))
467 if (include_inherited)
486 buf_size =
sizeof (
char *) * (count + 1);
488 strs = (
char **)malloc (buf_size);
498 if (include_inherited || (!include_inherited && a->
class_mop == op))
518 if (include_inherited)
537 buf_size =
sizeof (
char *) * (count + 1);
539 strs = (
char **) malloc (buf_size);
549 if (include_inherited || (!include_inherited && m->
class_mop == op))
565 if (include_inherited)
584 buf_size =
sizeof (
char *) * (count + 1);
586 strs = (
char **) malloc (buf_size);
596 if (include_inherited || (!include_inherited && m->
class_mop == op))
613 buf_size =
sizeof (
char *) * (count + 1);
615 strs = (
char **) malloc (buf_size);
637 if (include_inherited)
648 if (f->class_mop == op)
657 buf_size =
sizeof (
char *) * (count + 1);
659 strs = (
char **) malloc (buf_size);
669 if (include_inherited || (!include_inherited && f->class_mop == op))
686 buf_size =
sizeof (
char *) * (count + 1);
688 strs = (
char **) malloc (buf_size);
707 init_triggers (*class_, *op, sb, printer, triggers);
728 if (include_inherited
738 buf_size =
sizeof (
char *) * (count + 1);
740 strs = (
char **) malloc (buf_size);
752 if (include_inherited
780 bool is_print_partition =
true;
789 if (is_print_partition)
struct tr_schema_cache * triggers
#define MSGCAT_HELP_META_CLASS_HEADER
char * copy_string(const char *source)
#define LANG_SYS_COLLATION
std::vector< char * > partition
SM_ATTRIBUTE * attributes
#define ASSERT_ERROR_AND_SET(error_code)
SM_RESOLUTION * resolutions
#define SM_MAX_IDENTIFIER_LENGTH
void describe_partition_parts(const sm_partition &parts, class_description::type prt_type)
static int class_type(DB_OBJECT *class_obj)
#define MSGCAT_HELP_CLASS_HEADER
void describe_method(const struct db_object &op, const sm_method &method_p, class_description::type prt_type)
struct sm_component * next
void describe_attribute(const struct db_object &class_p, const sm_attribute &attribute_p, bool is_inherited, class_description::type prt_type, bool force_print_collation)
TR_TRIGLIST * triggers[1]
#define MSGCAT_HELP_VCLASS_HEADER
struct sm_class_constraint * next
static DB_OBJECT * is_class(OID *obj_oid, OID *class_oid)
const char * lang_get_collation_name(const int coll_id)
void describe_method_file(const struct db_object &obj, const sm_method_file &file)
int class_attribute_count
int init(const char *name)
void describe_resolution(const sm_resolution &resolution, class_description::type prt_type)
void er_set(int severity, const char *file_name, const int line_no, int err_id, int num_args,...)
const char * sm_ch_name(const MOBJ clobj)
struct tr_schema_cache * triggers
int au_fetch_class(MOP op, SM_CLASS **class_ptr, AU_FETCHMODE fetchmode, DB_AUTH type)
int sm_clean_class(MOP classmop, SM_CLASS *class_)
#define ER_OUT_OF_VIRTUAL_MEMORY
struct sm_query_spec * next
int tr_validate_schema_cache(TR_SCHEMA_CACHE *cache, MOP class_mop)
SM_ATTRIBUTE * class_attributes
SM_METHOD_FILE * method_files
const char * sm_get_ch_name(MOP op)
void describe_constraint(const sm_class &class_p, const sm_class_constraint &constraint_p, class_description::type prt_type)
#define SM_IS_CONSTRAINT_INDEX_FAMILY(c)
const char * get_buffer() const
void free_strarray(char **strs)
int count(int &result, const cub_regex_object ®, const std::string &src, const int position, const INTL_CODESET codeset)
#define MSGCAT_CATALOG_CUBRID
SM_METHOD * class_methods
SM_QUERY_SPEC * query_spec
unsigned short array_length
SM_CLASS_CONSTRAINT * constraints
void describe_class_trigger(const tr_trigger &trigger)
void describe_comment(const char *comment)
#define ER_OBJ_INVALID_ARGUMENTS
void describe_partition_info(const sm_partition &partinfo)
SM_ATTRIBUTE ** attributes
const char * specification
char * msgcat_message(int cat_id, int set_id, int msg_id)
struct sm_attribute * order_link
int ws_list_length(DB_LIST *list)
MOP sm_find_class(const char *name)
int locator_is_class(MOP mop, DB_FETCH_MODE hint_purpose)
bool locator_is_root(MOP mop)
#define SM_MAX_CLASS_COMMENT_LENGTH
SM_ATTRIBUTE * ordered_attributes