712
707
@param session Thread handler
713
708
@param table_ptr Pointer to tables that should be locks
717
712
@param write_lock_used Store pointer to last table with WRITE_ALLOW_WRITE
720
715
static DRIZZLE_LOCK *get_lock_data(Session *session, Table **table_ptr, uint32_t count,
723
718
uint32_t i,tables,lock_count;
725
720
THR_LOCK_DATA **locks, **locks_buf, **locks_start;