~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/multi_thread/multi_thread.cc

  • Committer: Brian Aker
  • Date: 2011-02-22 06:12:02 UTC
  • mfrom: (2190.1.6 drizzle-build)
  • Revision ID: brian@tangent.org-20110222061202-k03czxykqy4x9hjs
List update, header fixes, multiple symbols, and David deletes some code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
   along with this program; if not, write to the Free Software
14
14
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
15
15
 
16
 
#include "config.h"
 
16
#include <config.h>
17
17
 
18
18
#include <iostream>
19
19
 
86
86
    cout << _("In File: ") << *::boost::get_error_info<boost::throw_file>(ex) << endl;
87
87
    cout << _("On Line: ") << *::boost::get_error_info<boost::throw_line>(ex) << endl;
88
88
 
89
 
    TransactionServices::singleton().sendShutdownEvent(session.get());
 
89
    TransactionServices::singleton().sendShutdownEvent(*session.get());
90
90
  }
91
91
  // @todo remove hard spin by disconnection the session first from the
92
92
  // thread.
106
106
 
107
107
  if (err != 0)
108
108
  {
109
 
    errmsg_printf(ERRMSG_LVL_ERROR, _("Unable to get thread stack size\n"));
 
109
    errmsg_printf(error::ERROR, _("Unable to get thread stack size"));
110
110
    my_thread_stack_size= 524288; // At the time of the writing of this code, this was OSX's
111
111
  }
112
112
 
220
220
  "One Thread Per Session Scheduler",
221
221
  PLUGIN_LICENSE_GPL,
222
222
  init, /* Plugin Init */
223
 
  NULL,   /* system variables */
 
223
  NULL,   /* depends */
224
224
  init_options    /* config options */
225
225
}
226
226
DRIZZLE_DECLARE_PLUGIN_END;