~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/errmsg_print.cc

  • Committer: Stewart Smith
  • Date: 2010-06-02 07:13:05 UTC
  • mto: This revision was merged to the branch mainline in revision 1587.
  • Revision ID: stewart@flamingspork.com-20100602071305-qz25a3vkq7fdgr0n
remove redundant part from innodb.test, it's now in auto_increment_update.test, along with behaviour change to match MyISAM.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
#include "config.h"
26
26
 
27
27
#include <drizzled/errmsg_print.h>
 
28
#include <drizzled/current_session.h>
28
29
#include <drizzled/plugin/error_message.h>
29
30
 
30
31
#include <cerrno>
44
45
  bool rv;
45
46
  va_list args;
46
47
  va_start(args, format);
47
 
  rv= plugin::ErrorMessage::vprintf(NULL, priority, format, args);
 
48
  rv= plugin::ErrorMessage::vprintf(current_session, priority, format, args);
48
49
  va_end(args);
49
50
  return rv;
50
51
}