~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.h

  • Committer: Brian Aker
  • Date: 2009-01-26 00:19:35 UTC
  • Revision ID: brian@tangent.org-20090126001935-ghhkqscxth5u6a4c
Merge and fix for scheduler.h

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
#include <drizzled/protocol.h>
28
28
#include <libdrizzle/password.h>     // rand_struct
29
29
#include <drizzled/sql_locale.h>
30
 
#include <drizzled/scheduler.h>
31
30
#include <drizzled/ha_trx_info.h>
32
31
#include <mysys/my_tree.h>
33
32
#include <drizzled/handler.h>
190
189
  uint32_t trans_prealloc_size;
191
190
  bool log_warnings;
192
191
  uint64_t group_concat_max_len;
193
 
  /*
194
 
    In slave thread we need to know in behalf of which
195
 
    thread the query is being run to replicate temp tables properly
196
 
  */
197
192
  /* TODO: change this to my_thread_id - but have to fix set_var first */
198
193
  uint64_t pseudo_thread_id;
199
194
 
1140
1135
  /* for IS NULL => = last_insert_id() fix in remove_eq_conds() */
1141
1136
  bool       substitute_null_with_insert_id;
1142
1137
  bool       in_lock_tables;
1143
 
  /**
1144
 
    True if a slave error. Causes the slave to stop. Not the same
1145
 
    as the statement execution error (is_error()), since
1146
 
    a statement may be expected to return an error, e.g. because
1147
 
    it returned an error on master, and this is OK on the slave.
1148
 
  */
1149
 
  bool       is_slave_error;
1150
1138
  bool       cleanup_done;
1151
1139
 
1152
1140
  /**  is set if some thread specific value(s) used in a statement. */
1314
1302
  {
1315
1303
    if (main_da.is_error())
1316
1304
      main_da.reset_diagnostics_area();
1317
 
    is_slave_error= 0;
1318
1305
    return;
1319
1306
  }
1320
1307
  inline bool vio_ok() const { return net.vio != 0; }