~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/scheduling.cc

  • Committer: Mark Atwood
  • Date: 2009-01-05 04:37:22 UTC
  • mto: (758.1.1 devel)
  • mto: This revision was merged to the branch mainline in revision 759.
  • Revision ID: me@mark.atwood.name-20090105043722-03l4mzcxi4yjjjih
replace sql_print_error etc with errmsg_print

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
    {
38
38
      /* TRANSLATORS: The leading word "scheduling" is the name
39
39
         of the plugin api, and so should not be translated. */
40
 
      sql_print_error(_("scheduling plugin '%s' init() failed"),
 
40
      errmsg_printf(ERRMSG_LVL_ERROR, _("scheduling plugin '%s' init() failed"),
41
41
                      plugin->name.str);
42
42
      goto err;
43
43
    }
59
59
    {
60
60
      /* TRANSLATORS: The leading word "scheduling" is the name
61
61
         of the plugin api, and so should not be translated. */
62
 
      sql_print_error(_("scheduling plugin '%s' deinit() failed"),
 
62
      errmsg_printf(ERRMSG_LVL_ERROR, _("scheduling plugin '%s' deinit() failed"),
63
63
                      plugin->name.str);
64
64
    }
65
65
  }
95
95
    {
96
96
      /* TRANSLATORS: The leading word "scheduling" is the name
97
97
         of the plugin api, and so should not be translated. */
98
 
      sql_print_error(_("scheduling plugin '%s' scheduling_func1() failed"),
 
98
      errmsg_printf(ERRMSG_LVL_ERROR, _("scheduling plugin '%s' scheduling_func1() failed"),
99
99
                      (char *)plugin_name(plugin));
100
100
      return true;
101
101
    }
149
149
    {
150
150
      /* TRANSLATORS: The leading word "scheduling" is the name
151
151
         of the plugin api, and so should not be translated. */
152
 
      sql_print_error(_("scheduling plugin '%s' scheduling_func2() failed"),
 
152
      errmsg_printf(ERRMSG_LVL_ERROR, _("scheduling plugin '%s' scheduling_func2() failed"),
153
153
                      (char *)plugin_name(plugin));
154
154
 
155
155
      return true;