~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzle.cc

  • Committer: Monty Taylor
  • Date: 2010-08-17 02:54:36 UTC
  • mfrom: (1711.1.7 build)
  • Revision ID: mordred@inaugust.com-20100817025436-iuuqihjal6ubyffy
boost::program_options for InnoDB.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1329
1329
  opt_connect_timeout= 0;
1330
1330
  if (in_connect_timeout > 3600*12)
1331
1331
  {
1332
 
    cout<<N_("Error: Invalid Value for connect_timeout"); 
 
1332
    cout << N_("Error: Invalid Value for connect_timeout"); 
1333
1333
    exit(-1);
1334
1334
  }
1335
1335
  opt_connect_timeout= in_connect_timeout;
1338
1338
static void check_max_input_line(uint32_t in_max_input_line)
1339
1339
{
1340
1340
  opt_max_input_line= 0;
1341
 
  if (in_max_input_line<4096 || in_max_input_line>(int64_t)2*1024L*1024L*1024L)
 
1341
  if (in_max_input_line < 4096 || in_max_input_line > (int64_t)2*1024L*1024L*1024L)
1342
1342
  {
1343
 
    cout<<N_("Error: Invalid Value for max_input_line");
 
1343
    cout << N_("Error: Invalid Value for max_input_line");
1344
1344
    exit(-1);
1345
1345
  }
1346
 
  opt_max_input_line= in_max_input_line/1024;
1347
 
  opt_max_input_line*=1024;
 
1346
  opt_max_input_line= in_max_input_line - (in_max_input_line % 1024);
1348
1347
}
1349
1348
 
1350
1349
int main(int argc,char *argv[])