~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-05-15 07:16:35 UTC
  • mto: This revision was merged to the branch mainline in revision 1021.
  • Revision ID: brian@gaz-20090515071635-chkog3hw0ht2f8mw
A number of random cleanups.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
void close_connections(void);
27
27
extern "C" void unireg_end(void);
28
28
extern "C" void unireg_abort(int exit_code);
29
 
bool reload_cache(Session *session, ulong options, TableList *tables, bool *write_to_binlog);
 
29
bool reload_cache(Session *session, ulong options, TableList *tables);
30
30
 
31
31
 
32
32
/**
180
180
      break;
181
181
    case SIGHUP:
182
182
      if (!abort_loop)
183
 
      {
184
 
        bool not_used;
185
 
        reload_cache((Session*) 0, (REFRESH_LOG | REFRESH_TABLES | REFRESH_FAST ),
186
 
                     (TableList*) 0, &not_used); // Flush logs
187
 
      }
 
183
        reload_cache(NULL, (REFRESH_LOG | REFRESH_TABLES | REFRESH_FAST ), NULL); // Flush logs
188
184
      break;
189
185
    default:
190
186
      break;                                    /* purecov: tested */