~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/lock.cc

  • Committer: Brian Aker
  • Date: 2008-07-26 18:39:33 UTC
  • mfrom: (212.1.3 codestyle)
  • Revision ID: brian@tangent.org-20080726183933-hueup0fcy2zs1hug
Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
131
131
  @param flags Lock flags
132
132
  @return 0 if all the check passed, non zero if a check failed.
133
133
*/
134
 
int mysql_lock_tables_check(THD *thd __attribute__((__unused__)),
 
134
int mysql_lock_tables_check(THD *thd __attribute__((unused)),
135
135
                            TABLE **tables, uint count,
136
 
                            uint flags __attribute__((__unused__)))
 
136
                            uint flags __attribute__((unused)))
137
137
{
138
138
  uint system_count;
139
139
  uint i;
1014
1014
}
1015
1015
 
1016
1016
 
1017
 
void unlock_table_name(THD *thd __attribute__((__unused__)),
 
1017
void unlock_table_name(THD *thd __attribute__((unused)),
1018
1018
                       TABLE_LIST *table_list)
1019
1019
{
1020
1020
  if (table_list->table)
1025
1025
}
1026
1026
 
1027
1027
 
1028
 
static bool locked_named_table(THD *thd __attribute__((__unused__)),
 
1028
static bool locked_named_table(THD *thd __attribute__((unused)),
1029
1029
                               TABLE_LIST *table_list)
1030
1030
{
1031
1031
  for (; table_list ; table_list=table_list->next_local)