~johannes-s/mysql-php-storage/trunk

« back to all changes in this revision

Viewing changes to pse_plugin.cc

  • Committer: Johannes Schlüter
  • Date: 2009-01-06 13:57:40 UTC
  • Revision ID: johannes@schlueters.de-20090106135740-bwdg0djuldwpeql9
prevent the error handler from segfaulting, temporary workaround till we have PSE_G

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
    }
66
66
 
67
67
    vspprintf(&message, 0, format, args);
68
 
    push_warning_printf(current_thd, MYSQL_ERROR::WARN_LEVEL_WARN, 1, "%s in %s on line %d", message, error_filename, error_lineno);
 
68
    // TODO: Introduce PSE_G(thd) and use it here
 
69
    // push_warning_printf(current_thd, MYSQL_ERROR::WARN_LEVEL_WARN, 1, "%s in %s on line %d", message, error_filename, error_lineno);
 
70
    printf("%s in %s on line %d", message, error_filename, error_lineno);
69
71
    efree(message);
70
72
}
71
73