~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/scheduler.cc

  • Committer: Brian Aker
  • Date: 2011-02-01 02:51:01 UTC
  • mto: (2132.1.1 drizzle-build)
  • mto: This revision was merged to the branch mainline in revision 2134.
  • Revision ID: brian@tangent.org-20110201025101-yaj5kkdk2towo6ou
Merge in error message rework. Many error messages are fixed in this patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
 
59
59
  if (iter != all_schedulers.end())
60
60
  {
61
 
    errmsg_printf(ERRMSG_LVL_ERROR,
 
61
    errmsg_printf(error::ERROR,
62
62
                  _("Attempted to register a scheduler %s, but a scheduler "
63
63
                    "has already been registered with that name.\n"),
64
64
                    sched->getName().c_str());
95
95
    return false;
96
96
  }
97
97
 
98
 
  errmsg_printf(ERRMSG_LVL_WARN,
 
98
  errmsg_printf(error::WARN,
99
99
                _("Attempted to configure %s as the scheduler, which did "
100
100
                  "not exist.\n"), name.c_str());
101
101
  return true;