~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Lee Bieber
  • Date: 2010-11-14 23:15:42 UTC
  • mfrom: (1929.1.42 warning-stack-frame)
  • Revision ID: kalebral@gmail.com-20101114231542-fnnu6ydd2p17n582
Merge Monty - fix bug 672372: some functions use > 32k stack

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, 2009, 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
112
109
UNIV_INTERN
113
110
void
114
111
pars_get_lex_chars(
524
521
 
525
522
char buf[8];
526
523
mach_write_to_8(buf, val);
527
 
pars_info_add_literal(info, name, buf, 8, DATA_FIXBINARY, 0);
 
524
pars_info_add_literal(info, name, buf, 8, DATA_BINARY, 0);
528
525
 
529
526
except that the buffer is dynamically allocated from the info struct's
530
527
heap. */
531
528
UNIV_INTERN
532
529
void
533
 
pars_info_add_ull_literal(
534
 
/*======================*/
 
530
pars_info_add_dulint_literal(
 
531
/*=========================*/
535
532
        pars_info_t*    info,           /*!< in: info struct */
536
533
        const char*     name,           /*!< in: name */
537
 
        ib_uint64_t     val);           /*!< in: value */
 
534
        dulint          val);           /*!< in: value */
538
535
/****************************************************************//**
539
536
Add user function. */
540
537
UNIV_INTERN
588
585
 
589
586
/******************************************************************//**
590
587
Release any resources used by the lexer. */
591
 
#ifdef __cplusplus
592
 
extern "C"
593
 
#endif
594
588
UNIV_INTERN
595
589
void
596
590
pars_lexer_close(void);
636
630
/** Struct used to denote a reserved word in a parsing tree */
637
631
struct pars_res_word_struct{
638
632
        int     code;   /*!< the token code for the reserved word from
639
 
                        pars0grm.hh */
 
633
                        pars0grm.h */
640
634
};
641
635
 
642
636
/** A predefined function or operator node in a parsing tree; this construct
644
638
struct func_node_struct{
645
639
        que_common_t    common; /*!< type: QUE_NODE_FUNC */
646
640
        int             func;   /*!< token code of the function name */
647
 
        ulint           func_class;     /*!< class of the function */
 
641
        ulint           class;  /*!< class of the function */
648
642
        que_node_t*     args;   /*!< argument(s) of the function */
649
643
        UT_LIST_NODE_T(func_node_t) cond_list;
650
644
                                /*!< list of comparison conditions; defined