~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/lock.h

  • Committer: Brian Aker
  • Date: 2009-08-11 03:03:58 UTC
  • mfrom: (1113.1.2 merge)
  • Revision ID: brian@gaz-20090811030358-dn0mzaj7n94zrheg
lcov dead code removal (merge)

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
 
38
38
void mysql_unlock_tables(Session *session, DRIZZLE_LOCK *sql_lock);
39
39
void mysql_unlock_read_tables(Session *session, DRIZZLE_LOCK *sql_lock);
40
 
void mysql_unlock_some_tables(Session *session, Table **table,uint32_t count);
41
 
void mysql_lock_remove(Session *session, DRIZZLE_LOCK *locked,Table *table,
42
 
                       bool always_unlock);
43
 
void mysql_lock_abort(Session *session, Table *table, bool upgrade_lock);
 
40
void mysql_unlock_some_tables(Session *session, Table **table, uint32_t count);
 
41
void mysql_lock_remove(Session *session, Table *table);
 
42
void mysql_lock_abort(Session *session, Table *table);
44
43
bool mysql_lock_abort_for_thread(Session *session, Table *table);
45
 
DRIZZLE_LOCK *mysql_lock_merge(DRIZZLE_LOCK *a,DRIZZLE_LOCK *b);
46
44
TableList *mysql_lock_have_duplicate(Session *session, TableList *needle,
47
45
                                      TableList *haystack);
48
46
bool lock_global_read_lock(Session *session);
56
54
void broadcast_refresh(void);
57
55
 
58
56
/* Lock based on name */
59
 
int lock_and_wait_for_table_name(Session *session, TableList *table_list);
60
57
int lock_table_name(Session *session, TableList *table_list, bool check_in_use);
61
58
void unlock_table_name(TableList *table_list);
62
59
bool wait_for_locked_table_names(Session *session, TableList *table_list);