~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.h

  • Committer: Brian Aker
  • Date: 2010-10-09 17:44:13 UTC
  • mto: This revision was merged to the branch mainline in revision 1853.
  • Revision ID: brian@tangent.org-20101009174413-4cs0q58kw0fjd45y
First pass through adding back user_locks.

Show diffs side-by-side

added added

removed removed

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