~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/include/pars0pars.h

  • Committer: Barry.Leslie at PrimeBase
  • Date: 2011-01-22 03:22:44 UTC
  • mfrom: (2101 staging)
  • mto: (2228.1.4 build)
  • mto: This revision was merged to the branch mainline in revision 2230.
  • Revision ID: barry.leslie@primebase.com-20110122032244-ukbe3mlj7fs8xph6
Merged with lp:drizzle.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*****************************************************************************
2
2
 
3
 
Copyright (c) 1996, 2010, Innobase Oy. All Rights Reserved.
 
3
Copyright (C) 1996, 2010, Innobase Oy. All Rights Reserved.
4
4
 
5
5
This program is free software; you can redistribute it and/or modify it under
6
6
the terms of the GNU General Public License as published by the Free Software
106
106
        const char*     str);   /*!< in: SQL string */
107
107
/*************************************************************//**
108
108
Retrieves characters to the lexical analyzer. */
 
109
#ifdef __cplusplus
 
110
extern "C"
 
111
#endif
109
112
UNIV_INTERN
110
113
void
111
114
pars_get_lex_chars(
585
588
 
586
589
/******************************************************************//**
587
590
Release any resources used by the lexer. */
 
591
#ifdef __cplusplus
 
592
extern "C"
 
593
#endif
588
594
UNIV_INTERN
589
595
void
590
596
pars_lexer_close(void);
630
636
/** Struct used to denote a reserved word in a parsing tree */
631
637
struct pars_res_word_struct{
632
638
        int     code;   /*!< the token code for the reserved word from
633
 
                        pars0grm.h */
 
639
                        pars0grm.hh */
634
640
};
635
641
 
636
642
/** A predefined function or operator node in a parsing tree; this construct
638
644
struct func_node_struct{
639
645
        que_common_t    common; /*!< type: QUE_NODE_FUNC */
640
646
        int             func;   /*!< token code of the function name */
641
 
        ulint           class;  /*!< class of the function */
 
647
        ulint           func_class;     /*!< class of the function */
642
648
        que_node_t*     args;   /*!< argument(s) of the function */
643
649
        UT_LIST_NODE_T(func_node_t) cond_list;
644
650
                                /*!< list of comparison conditions; defined