CUBRID Engine  latest
trigger_description.cpp File Reference
#include "trigger_description.hpp"
#include "authenticate.h"
#include "dbi.h"
#include "dbtype_function.h"
#include "object_accessor.h"
#include "object_print.h"
#include "object_printer.hpp"
#include "object_print_util.hpp"
#include "printer.hpp"
#include "set_object.h"
#include "schema_manager.h"
#include "trigger_manager.h"
#include "work_space.h"
Include dependency graph for trigger_description.cpp:

Go to the source code of this file.

Macros

#define STRFREE_W(string)   if (string != NULL) db_string_free((char *) (string))
 
#define MAX_USER_NAME   32 /* actually its 8 */
 

Functions

static int is_required_trigger (TR_TRIGGER *trigger, DB_OBJLIST *classes)
 
static char * get_user_name (DB_OBJECT *user)
 
int tr_dump_trigger (print_output &output_ctx, DB_OBJECT *trigger_object)
 
int tr_dump_selective_triggers (print_output &output_ctx, DB_OBJLIST *classes)
 

Macro Definition Documentation

#define MAX_USER_NAME   32 /* actually its 8 */

Referenced by get_user_name().

#define STRFREE_W (   string)    if (string != NULL) db_string_free((char *) (string))

Definition at line 39 of file trigger_description.cpp.

Referenced by trigger_description::~trigger_description().

Function Documentation

static char * get_user_name ( DB_OBJECT user)
static

Definition at line 457 of file trigger_description.cpp.

References db_get(), db_get_string(), DB_IS_NULL, DB_TYPE_STRING, db_value_clear(), DB_VALUE_TYPE, MAX_USER_NAME, and NULL.

Referenced by tr_dump_selective_triggers(), and tr_status_as_string().

Here is the caller graph for this function:

static int is_required_trigger ( TR_TRIGGER trigger,
DB_OBJLIST classes 
)
static

Definition at line 435 of file trigger_description.cpp.

References tr_trigger::class_mop, db_objlist::next, NULL, and db_objlist::op.

Referenced by tr_dump_selective_triggers().

Here is the caller graph for this function: