Skip to content

File csql_session.c

FileList > cubrid > src > executables > csql_session.c

Go to the source code of this file

  • #include "config.h"
  • #include <stdarg.h>
  • #include <string.h>
  • #include <signal.h>
  • #include <assert.h>
  • #include "csql.h"
  • #include "class_description.hpp"
  • #include "porting.h"
  • #include "memory_alloc.h"
  • #include "object_print.h"
  • #include "util_func.h"
  • #include "network_interface_cl.h"
  • #include "unicode_support.h"
  • #include "transaction_cl.h"
  • #include "trigger_description.hpp"
  • #include "db.h"

Classes

Type Name
struct SESSION_CMD_TABLE

Public Static Attributes

Type Name
jmp_buf csql_Jmp_buf
SESSION_CMD_TABLE csql_Session_cmd_table

Public Functions

Type Name
int csql_get_session_cmd_no (const char * input)
void csql_help_info (const char * command, int aucommit_flag)
void csql_help_menu (void)
void csql_help_schema (const char * class_name)
void csql_help_trigger (const char * trigger_name)
void csql_killtran (const char * argument)

Public Static Functions

Type Name
void csql_dump_alltran (volatile TRANS_INFO * info)
void csql_pipe_handler (int sig_no)

Macros

Type Name
define APPEND_HEAD_LINE (head_text) /* multi line expression */
define APPEND_MORE_LINE (indent, line) /* multi line expression */
define CMD_CHECK_CONNECT 0x00000001
define CMD_EMPTY_FLAG 0x00000000

Public Static Attributes Documentation

variable csql_Jmp_buf

jmp_buf csql_Jmp_buf;

variable csql_Session_cmd_table

SESSION_CMD_TABLE csql_Session_cmd_table[];

Public Functions Documentation

function csql_get_session_cmd_no

int csql_get_session_cmd_no (
    const  char * input
) 

function csql_help_info

void csql_help_info (
    const  char * command,
    int aucommit_flag
) 

function csql_help_menu

void csql_help_menu (
    void
) 

function csql_help_schema

void csql_help_schema (
    const  char * class_name
) 

function csql_help_trigger

void csql_help_trigger (
    const  char * trigger_name
) 

function csql_killtran

void csql_killtran (
    const  char * argument
) 

Public Static Functions Documentation

function csql_dump_alltran

static void csql_dump_alltran (
    volatile  TRANS_INFO * info
) 

function csql_pipe_handler

static void csql_pipe_handler (
    int sig_no
) 

Macro Definition Documentation

define APPEND_HEAD_LINE

#define APPEND_HEAD_LINE (
    head_text
) `/* multi line expression */`

define APPEND_MORE_LINE

#define APPEND_MORE_LINE (
    indent,
    line
) `/* multi line expression */`

define CMD_CHECK_CONNECT

#define CMD_CHECK_CONNECT `0x00000001`

define CMD_EMPTY_FLAG

#define CMD_EMPTY_FLAG `0x00000000`


The documentation for this class was generated from the following file cubrid/src/executables/csql_session.c