~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/internal_error_handler.h

Merge with trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#ifndef DRIZZLED_INTERNAL_ERROR_HANDLER_H
22
22
#define DRIZZLED_INTERNAL_ERROR_HANDLER_H
23
23
 
 
24
#include <drizzled/sql_error.h>
 
25
 
24
26
namespace drizzled
25
27
{
26
28
 
61
63
    @param session the calling thread
62
64
    @return true if the error is handled
63
65
  */
64
 
  virtual bool handle_error(uint32_t sql_errno,
 
66
  virtual bool handle_error(drizzled::error_t sql_errno,
65
67
                            const char *message,
66
68
                            DRIZZLE_ERROR::enum_warning_level level,
67
69
                            Session *session) = 0;