~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_panic.c

  • Committer: Monty Taylor
  • Date: 2008-07-16 19:10:24 UTC
  • mfrom: (51.1.127 remove-dbug)
  • mto: This revision was merged to the branch mainline in revision 176.
  • Revision ID: monty@inaugust.com-20080716191024-prjgoh7fbri7rx26
MergedĀ fromĀ remove-dbug.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
  int error=0;
29
29
  LIST *list_element,*next_open;
30
30
  MI_INFO *info;
31
 
  DBUG_ENTER("mi_panic");
32
31
 
33
32
  pthread_mutex_lock(&THR_LOCK_myisam);
34
33
  for (list_element=myisam_open_list ; list_element ; list_element=next_open)
107
106
  }
108
107
  pthread_mutex_unlock(&THR_LOCK_myisam);
109
108
  if (!error)
110
 
    DBUG_RETURN(0);
111
 
  DBUG_RETURN(my_errno=error);
 
109
    return(0);
 
110
  return(my_errno=error);
112
111
} /* mi_panic */