~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzle.cc

Merged in latest plugin-slot-reorg.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2578
2578
  {
2579
2579
    put_info(_("No connection. Trying to reconnect..."),INFO_INFO,0,0);
2580
2580
    (void) com_connect((string *)0, 0);
2581
 
    if (opt_rehash)
 
2581
    if (opt_rehash && connected)
2582
2582
      com_rehash(NULL, NULL);
2583
2583
  }
2584
 
  if (!connected)
 
2584
  if (! connected)
2585
2585
    return put_info(_("Can't connect to the server\n"),INFO_ERROR,0,0);
2586
2586
  return 0;
2587
2587
}
2602
2602
      drizzle_row_t row= drizzle_row_next(&res);
2603
2603
      if (row[0])
2604
2604
        current_db= strdup(row[0]);
 
2605
      drizzle_result_free(&res);
2605
2606
    }
2606
 
    drizzle_result_free(&res);
2607
2607
  }
2608
2608
}
2609
2609