~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/signal_handler/signal_handler.cc

  • Committer: Brian Aker
  • Date: 2009-08-05 07:19:17 UTC
  • mto: This revision was merged to the branch mainline in revision 1111.
  • Revision ID: brian@gaz-20090805071917-ukm39wpvfesxthiz
More Table refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
/* Prototypes -> all of these should be factored out into a propper shutdown */
28
28
extern void close_connections(void);
29
 
bool reload_cache(Session *session, ulong options, TableList *tables);
30
29
 
31
30
 
32
31
/**
171
170
      break;
172
171
    case SIGHUP:
173
172
      if (!abort_loop)
174
 
        reload_cache(NULL, (REFRESH_LOG | REFRESH_TABLES | REFRESH_FAST ), NULL); // Flush logs
 
173
      {
 
174
        refresh_version++;
 
175
        ha_flush_logs(NULL);
 
176
      }
175
177
      break;
176
178
    default:
177
179
      break;                                    /* purecov: tested */