~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/innobase/include/pars0sym.h

  • Committer: Monty Taylor
  • Date: 2008-08-04 19:37:18 UTC
  • mto: (261.2.2 codestyle)
  • mto: This revision was merged to the branch mainline in revision 262.
  • Revision ID: monty@inaugust.com-20080804193718-f0rz13uli4429ozb
Changed gettext_noop() to N_()

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
/**********************************************************************
20
20
Creates a symbol table for a single stored procedure or query. */
21
 
UNIV_INTERN
 
21
 
22
22
sym_tab_t*
23
23
sym_tab_create(
24
24
/*===========*/
28
28
Frees the memory allocated dynamically AFTER parsing phase for variables
29
29
etc. in the symbol table. Does not free the mem heap where the table was
30
30
originally created. Frees also SQL explicit cursor definitions. */
31
 
UNIV_INTERN
 
31
 
32
32
void
33
33
sym_tab_free_private(
34
34
/*=================*/
35
35
        sym_tab_t*      sym_tab);       /* in, own: symbol table */
36
36
/**********************************************************************
37
37
Adds an integer literal to a symbol table. */
38
 
UNIV_INTERN
 
38
 
39
39
sym_node_t*
40
40
sym_tab_add_int_lit(
41
41
/*================*/
44
44
        ulint           val);           /* in: integer value */
45
45
/**********************************************************************
46
46
Adds an string literal to a symbol table. */
47
 
UNIV_INTERN
 
47
 
48
48
sym_node_t*
49
49
sym_tab_add_str_lit(
50
50
/*================*/
55
55
        ulint           len);           /* in: string length */
56
56
/**********************************************************************
57
57
Add a bound literal to a symbol table. */
58
 
UNIV_INTERN
 
58
 
59
59
sym_node_t*
60
60
sym_tab_add_bound_lit(
61
61
/*==================*/
65
65
        ulint*          lit_type);      /* out: type of literal (PARS_*_LIT) */
66
66
/**********************************************************************
67
67
Adds an SQL null literal to a symbol table. */
68
 
UNIV_INTERN
 
68
 
69
69
sym_node_t*
70
70
sym_tab_add_null_lit(
71
71
/*=================*/
73
73
        sym_tab_t*      sym_tab);       /* in: symbol table */
74
74
/**********************************************************************
75
75
Adds an identifier to a symbol table. */
76
 
UNIV_INTERN
 
76
 
77
77
sym_node_t*
78
78
sym_tab_add_id(
79
79
/*===========*/
84
84
 
85
85
/**********************************************************************
86
86
Add a bound identifier to a symbol table. */
87
 
UNIV_INTERN
 
87
 
88
88
sym_node_t*
89
89
sym_tab_add_bound_id(
90
90
/*===========*/