~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/show.cc

MergedĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3639
3639
      schema_table_idx == SCH_GLOBAL_VARIABLES)
3640
3640
    option_type= OPT_GLOBAL;
3641
3641
 
3642
 
  rw_rdlock(&LOCK_system_variables_hash);
 
3642
  pthread_rwlock_rdlock(&LOCK_system_variables_hash);
3643
3643
  res= show_status_array(session, wild, enumerate_sys_vars(session, sorted_vars),
3644
3644
                         option_type, NULL, "", tables->table, upper_case_names);
3645
 
  rw_unlock(&LOCK_system_variables_hash);
 
3645
  pthread_rwlock_unlock(&LOCK_system_variables_hash);
3646
3646
  return(res);
3647
3647
}
3648
3648