~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_base.cc

* Changes Session::warn_id to Session::warn_query_id
* Makes Session::query_id and Session::warn_query_id private members
* Adds getters and setters for above members
* Changes ReplicationServices::initTransactionMessage() to use
  Session::getQueryId() instead of Session::getTransactionId()

Show diffs side-by-side

added added

removed removed

Lines of Context:
1153
1153
        my_error(ER_CANT_REOPEN_TABLE, MYF(0), table->alias);
1154
1154
        return NULL;
1155
1155
      }
1156
 
      table->query_id= query_id;
 
1156
      table->query_id= getQueryId();
1157
1157
      goto reset;
1158
1158
    }
1159
1159
  }