~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/logging.cc

  • Committer: Andrew Hutchings
  • Date: 2010-12-15 18:59:55 UTC
  • mto: This revision was merged to the branch mainline in revision 2006.
  • Revision ID: andrew@linuxjedi.co.uk-20101215185955-q12lkja8hdnpjqg7
Make the test look for drizzleadmin failure instead of success as this test is not possible to fix for success on our FreeBSD 8.0 box

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
3
 *
4
 
 *  Copyright (C) 2008 Sun Microsystems, Inc.
 
4
 *  Copyright (C) 2008 Sun Microsystems
5
5
 *
6
6
 *  This program is free software; you can redistribute it and/or modify
7
7
 *  it under the terms of the GNU General Public License as published by
61
61
    {
62
62
      /* TRANSLATORS: The leading word "logging" is the name
63
63
         of the plugin api, and so should not be translated. */
64
 
      errmsg_printf(error::ERROR,
 
64
      errmsg_printf(ERRMSG_LVL_ERROR,
65
65
                    _("logging '%s' pre() failed"),
66
66
                    handler->getName().c_str());
67
67
      return true;
86
86
    {
87
87
      /* TRANSLATORS: The leading word "logging" is the name
88
88
         of the plugin api, and so should not be translated. */
89
 
      errmsg_printf(error::ERROR,
 
89
      errmsg_printf(ERRMSG_LVL_ERROR,
90
90
                    _("logging '%s' post() failed"),
91
91
                    handler->getName().c_str());
92
92
      return true;
110
110
    {
111
111
      /* TRANSLATORS: The leading word "logging" is the name
112
112
         of the plugin api, and so should not be translated. */
113
 
      errmsg_printf(error::ERROR,
 
113
      errmsg_printf(ERRMSG_LVL_ERROR,
114
114
                    _("logging '%s' postEnd() failed"),
115
115
                    handler->getName().c_str());
116
116
      return true;
133
133
    {
134
134
      /* TRANSLATORS: The leading word "logging" is the name
135
135
         of the plugin api, and so should not be translated. */
136
 
      errmsg_printf(error::ERROR,
 
136
      errmsg_printf(ERRMSG_LVL_ERROR,
137
137
                    _("logging '%s' resetCurrentScoreboard() failed"),
138
138
                    handler->getName().c_str());
139
139
      return true;