~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/parser.cc

  • Committer: Brian Aker
  • Date: 2009-01-06 09:02:30 UTC
  • mfrom: (758.1.5 devel)
  • Revision ID: brian@tangent.org-20090106090230-ov94my79hsiz4bes
Merge from Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
    {
40
40
      /* TRANSLATORS: The leading word "parser" is the name
41
41
         of the plugin api, and so should not be translated. */
42
 
      sql_print_error(_("parser plugin '%s' init() failed"),
 
42
      errmsg_printf(ERRMSG_LVL_ERROR, _("parser plugin '%s' init() failed"),
43
43
                      plugin->name.str);
44
44
      goto err;
45
45
    }
62
62
    {
63
63
      /* TRANSLATORS: The leading word "parser" is the name
64
64
         of the plugin api, and so should not be translated. */
65
 
      sql_print_error(_("parser plugin '%s' deinit() failed"),
 
65
      errmsg_printf(ERRMSG_LVL_ERROR, _("parser plugin '%s' deinit() failed"),
66
66
                      plugin->name.str);
67
67
    }
68
68
  }
99
99
    {
100
100
      /* TRANSLATORS: The leading word "parser" is the name
101
101
         of the plugin api, and so should not be translated. */
102
 
      sql_print_error(_("parser plugin '%s' parser_func1() failed"),
 
102
      errmsg_printf(ERRMSG_LVL_ERROR, _("parser plugin '%s' parser_func1() failed"),
103
103
                      (char *)plugin_name(plugin));
104
104
      return true;
105
105
    }
153
153
    {
154
154
      /* TRANSLATORS: The leading word "parser" is the name
155
155
         of the plugin api, and so should not be translated. */
156
 
      sql_print_error(_("parser plugin '%s' parser_func2() failed"),
 
156
      errmsg_printf(ERRMSG_LVL_ERROR, _("parser plugin '%s' parser_func2() failed"),
157
157
                      (char *)plugin_name(plugin));
158
158
 
159
159
      return true;