~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_lex.cc

Merged Eric from lp:~eday/drizzle/eday-merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
1148
1148
    case MY_LEX_SEMICOLON:                      // optional line terminator
1149
1149
      if (lip->yyPeek())
1150
1150
      {
1151
 
        if ((session->client_capabilities & CLIENT_MULTI_STATEMENTS))
1152
 
        {
1153
 
          lip->found_semicolon= lip->get_ptr();
1154
 
          session->server_status|= SERVER_MORE_RESULTS_EXISTS;
1155
 
          lip->next_state= MY_LEX_END;
1156
 
          lip->set_echo(true);
1157
 
          return (END_OF_INPUT);
1158
 
        }
1159
1151
        state= MY_LEX_CHAR;             // Return ';'
1160
1152
        break;
1161
1153
      }