~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_lex.cc

Removed client_capabilities from session and pushed functionality into protocol plugin.

Show diffs side-by-side

added added

removed removed

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