~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_lex.cc

  • Committer: Olaf van der Spek
  • Date: 2011-08-03 10:08:55 UTC
  • mto: This revision was merged to the branch mainline in revision 2384.
  • Revision ID: olafvdspek@gmail.com-20110803100855-w2d1voytgwwa0m9t
Fix MY_LEX_STRING

Show diffs side-by-side

added added

removed removed

Lines of Context:
995
995
        break;
996
996
      }
997
997
      /* " used for strings */
998
 
    case MY_lex_string_t:                       // Incomplete text string
 
998
    case MY_LEX_STRING:                 // Incomplete text string
999
999
      if (!(yylval->lex_str.str = get_text(lip, 1, 1)))
1000
1000
      {
1001
1001
        state= MY_LEX_CHAR;             // Read char by char
1184
1184
 
1185
1185
    case MY_LEX_USER_END:               // end '@' of user@hostname
1186
1186
      switch (state_map[(uint8_t)lip->yyPeek()]) {
1187
 
      case MY_lex_string_t:
 
1187
      case MY_LEX_STRING:
1188
1188
      case MY_LEX_USER_VARIABLE_DELIMITER:
1189
1189
      case MY_LEX_STRING_OR_DELIMITER:
1190
1190
        break;