~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.h

  • Committer: Mark Atwood
  • Date: 2011-08-12 04:08:33 UTC
  • mfrom: (2385.2.17 refactor5)
  • Revision ID: me@mark.atwood.name-20110812040833-u6j85nc6ahuc0dtz
mergeĀ lp:~olafvdspek/drizzle/refactor5

Show diffs side-by-side

added added

removed removed

Lines of Context:
117
117
  memory::Root& mem;
118
118
  memory::Root* mem_root; /**< Pointer to current memroot */
119
119
 
120
 
  uint64_t getXaId()
 
120
  uint64_t getXaId() const
121
121
  {
122
122
    return xa_id;
123
123
  }
232
232
    scoreboard_index= in_scoreboard_index;
233
233
  }
234
234
 
235
 
  bool isOriginatingServerUUIDSet()
 
235
  bool isOriginatingServerUUIDSet() const
236
236
  {
237
237
    return originating_server_uuid_set;
238
238
  }
243
243
    originating_server_uuid_set= true;
244
244
  }
245
245
 
246
 
  std::string &getOriginatingServerUUID()
 
246
  const std::string &getOriginatingServerUUID() const
247
247
  {
248
248
    return originating_server_uuid;
249
249
  }
253
253
    originating_commit_id= in_originating_commit_id;
254
254
  }
255
255
 
256
 
  uint64_t getOriginatingCommitID()
 
256
  uint64_t getOriginatingCommitID() const
257
257
  {
258
258
    return originating_commit_id;
259
259
  }
272
272
  const char *_where;
273
273
 
274
274
public:
275
 
  const char *where()
 
275
  const char *where() const
276
276
  {
277
277
    return _where;
278
278
  }
535
535
    _killed= arg;
536
536
  }
537
537
 
538
 
  killed_state_t getKilled()
 
538
  killed_state_t getKilled() const
539
539
  {
540
540
    return _killed;
541
541
  }
583
583
  /** set during loop of derived table processing */
584
584
  bool derived_tables_processing;
585
585
 
586
 
  bool doing_tablespace_operation()
 
586
  bool doing_tablespace_operation() const
587
587
  {
588
588
    return tablespace_op;
589
589
  }
716
716
    if (first_successful_insert_id_in_cur_stmt == 0)
717
717
      first_successful_insert_id_in_cur_stmt= id_arg;
718
718
  }
719
 
  inline uint64_t read_first_successful_insert_id_in_prev_stmt()
 
719
  inline uint64_t read_first_successful_insert_id_in_prev_stmt() const
720
720
  {
721
721
    return first_successful_insert_id_in_prev_stmt;
722
722
  }
826
826
    return server_status & SERVER_STATUS_IN_TRANS;
827
827
  }
828
828
 
829
 
  lex_string_t *make_lex_string(lex_string_t *lex_str,
830
 
                              const char* str, uint32_t length,
831
 
                              bool allocate_lex_string);
832
 
 
833
 
  lex_string_t *make_lex_string(lex_string_t *lex_str,
834
 
                              const std::string &str,
835
 
                              bool allocate_lex_string);
 
829
  lex_string_t* make_lex_string(lex_string_t*, str_ref);
836
830
 
837
831
  void send_explain_fields(select_result*);
838
832