~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/hello_events/hello_events.cc

  • Committer: Lee Bieber
  • Date: 2011-03-29 22:31:41 UTC
  • mfrom: (2257.1.3 build)
  • Revision ID: kalebral@gmail.com-20110329223141-yxc22h3l2he58sk0
Merge Andrew - 743842: Build failure using GCC 4.6
Merge Stewart - 738022: CachedDirectory silently fails to add entries if stat() fails
Merge Olaf - Common fwd: add copyright, add more declaration

Show diffs side-by-side

added added

removed removed

Lines of Context:
248
248
/* The event observer.*/
249
249
bool HelloEvents::observeEventDo(EventData &data)
250
250
{
251
 
  bool result= false;
252
 
  
253
251
  switch (data.event) {
254
252
  case AFTER_DROP_TABLE:
255
253
    observeAfterDropTable((AfterDropTableEventData &)data);
260
258
    break;
261
259
    
262
260
  case BEFORE_INSERT_RECORD:
263
 
     result = observeBeforeInsertRecord((BeforeInsertRecordEventData &)data);
 
261
    observeBeforeInsertRecord((BeforeInsertRecordEventData &)data);
264
262
    break;
265
263
    
266
264
  case AFTER_INSERT_RECORD:
268
266
    break;     
269
267
       
270
268
  case BEFORE_UPDATE_RECORD:
271
 
    result = observeBeforeUpdateRecord((BeforeUpdateRecordEventData &)data);
 
269
    observeBeforeUpdateRecord((BeforeUpdateRecordEventData &)data);
272
270
    break;
273
271
             
274
272
  case AFTER_UPDATE_RECORD:
276
274
    break;     
277
275
    
278
276
  case BEFORE_DELETE_RECORD:
279
 
    result = observeBeforeDeleteRecord((BeforeDeleteRecordEventData &)data);
 
277
    observeBeforeDeleteRecord((BeforeDeleteRecordEventData &)data);
280
278
    break;
281
279
 
282
280
  case AFTER_DELETE_RECORD: