~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/console/console.cc

  • Committer: Monty Taylor
  • Date: 2010-10-15 18:57:13 UTC
  • mto: (1859.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1860.
  • Revision ID: mordred@inaugust.com-20101015185713-fl4lxn3iy5fipn42
It works - has a valgrind issue somewhere.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
namespace po= boost::program_options;
31
31
 
 
32
static bool enabled= false;
32
33
static bool debug_enabled= false;
33
34
static char* username= NULL;
34
35
static char* password= NULL;
295
296
    if (debug_enabled)
296
297
      enabled= true;
297
298
 
 
299
    if (not enabled)
 
300
      return false;
 
301
 
298
302
    if (pipe(pipe_fds) == -1)
299
303
    {
300
304
      errmsg_printf(ERRMSG_LVL_ERROR, _("pipe() failed with errno %d"), errno);