~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/event_observer.cc

  • Committer: Brian Aker
  • Date: 2011-02-12 10:48:53 UTC
  • mto: This revision was merged to the branch mainline in revision 2167.
  • Revision ID: brian@tangent.org-20110212104853-sm79wbyxl3fuprp2
Additional removal of session

Show diffs side-by-side

added added

removed removed

Lines of Context:
430
430
    return EventData::callEventObservers();
431
431
  }
432
432
 
 
433
  bool SessionEventData::hasEvents(Session &in_session)
 
434
  {
 
435
    return (in_session.getSessionObservers() != NULL);
 
436
  }
 
437
 
433
438
  //--------
434
439
  bool SchemaEventData::callEventObservers()
435
440
  {
451
456
    return EventData::callEventObservers();
452
457
  }
453
458
 
 
459
  bool TableEventData::hasEvents(Table &in_table)
 
460
  {
 
461
    return (in_table.getMutableShare()->getTableObservers() != NULL);
 
462
  }
 
463
 
454
464
  /*==========================================================*/
455
465
  /* Static meathods called by drizzle to notify interested plugins 
456
466
   * of a schema event.