~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/logging.cc

  • Committer: Mark Atwood
  • Date: 2009-05-27 20:05:51 UTC
  • mto: This revision was merged to the branch mainline in revision 1054.
  • Revision ID: me@mark.atwood.name-20090527200551-flmeo3h7yh62apfe
fix stuppid logging bug

Show diffs side-by-side

added added

removed removed

Lines of Context:
112
112
  /* Use find_if instead of foreach so that we can collect return codes */
113
113
  vector<Logging_handler *>::iterator iter=
114
114
    find_if(all_loggers.begin(), all_loggers.end(),
115
 
            LoggingPreIterate(session)); 
 
115
            LoggingPostIterate(session)); 
116
116
  /* If iter is == end() here, that means that all of the plugins returned
117
117
   * false, which in this case means they all succeeded. Since we want to 
118
118
   * return false on success, we return the value of the two being !=