~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/pars/lexyy.c

  • Committer: Eric Day
  • Date: 2009-10-31 21:53:33 UTC
  • mfrom: (1200 staging)
  • mto: This revision was merged to the branch mainline in revision 1202.
  • Revision ID: eday@oddments.org-20091031215333-j94bjoanwmi68p6f
Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
700
700
#define YY_MORE_ADJ 0
701
701
#define YY_RESTORE_YY_MORE_OFFSET
702
702
#line 1 "pars0lex.l"
703
 
/******************************************************
 
703
/**************************************************//**
704
704
SQL parser lexical analyzer: input file for the GNU Flex lexer generator
705
705
 
706
706
(c) 1997 Innobase Oy
744
744
static ulint    stringbuf_len_alloc = 0; /* Allocated length */
745
745
static ulint    stringbuf_len = 0; /* Current length */
746
746
static char*    stringbuf; /* Start of buffer */
747
 
/* Appends a string to the buffer. */
 
747
/** Appends a string to the buffer. */
748
748
static
749
749
void
750
750
string_append(
751
751
/*==========*/
752
 
        const char*     str,    /* in: string to be appended */
753
 
        ulint           len)    /* in: length of the string */
 
752
        const char*     str,    /*!< in: string to be appended */
 
753
        ulint           len)    /*!< in: length of the string */
754
754
{
755
755
        if (stringbuf == NULL) {
756
756
                stringbuf = malloc(1);