~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.h

  • Committer: Brian Aker
  • Date: 2010-10-15 02:39:18 UTC
  • mfrom: (1823.6.9 users_locks)
  • Revision ID: brian@tangent.org-20101015023918-p6o0hp1fdmiwwm0d
MErge in user locks.

Show diffs side-by-side

added added

removed removed

Lines of Context:
316
316
 * all member variables that are not critical to non-internal operations of the
317
317
 * session object.
318
318
 */
 
319
typedef int64_t session_id_t;
 
320
 
319
321
class Session : public Open_tables_state
320
322
{
321
323
public:
686
688
    create_sort_index(); may differ from examined_row_count.
687
689
  */
688
690
  uint32_t row_count;
689
 
  uint64_t thread_id;
 
691
  session_id_t thread_id;
690
692
  uint32_t tmp_table;
691
693
  uint32_t global_read_lock;
692
694
  uint32_t server_status;
828
830
  }
829
831
 
830
832
  /** Accessor method returning the session's ID. */
831
 
  inline uint64_t getSessionId()  const
 
833
  inline session_id_t getSessionId()  const
832
834
  {
833
835
    return thread_id;
834
836
  }