~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.h

  • Committer: Brian Aker
  • Date: 2010-11-08 17:40:41 UTC
  • mto: (1921.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 1916.
  • Revision ID: brian@tangent.org-20101108174041-owap774v8l5vvnl4
Push some functions behind classes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
746
746
  bool makeGlobalReadLockBlockCommit();
747
747
  bool mysql_lock_abort_for_thread(Table *table);
748
748
  bool wait_if_global_read_lock(bool abort_on_refresh, bool is_not_commit);
 
749
  int lock_table_name(TableList *table_list);
749
750
  void mysql_lock_abort(Table *table);
750
751
  void mysql_lock_remove(Table *table);
751
752
  void mysql_unlock_read_tables(DrizzleLock *sql_lock);
757
758
private:
758
759
  int unlock_external(Table **table, uint32_t count);
759
760
  int lock_external(Table **tables, uint32_t count);
 
761
  bool wait_for_locked_table_names(TableList *table_list);
 
762
  DrizzleLock *get_lock_data(Table **table_ptr, uint32_t count,
 
763
                             bool should_lock, Table **write_lock_used);
760
764
public:
761
765
 
762
766
  uint32_t server_status;