~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzleimport.cc

  • Committer: Olaf van der Spek
  • Date: 2011-08-07 22:41:28 UTC
  • mto: This revision was merged to the branch mainline in revision 2396.
  • Revision ID: olafvdspek@gmail.com-20110807224128-1061pu4ru7ij043i
cppcheck

Show diffs side-by-side

added added

removed removed

Lines of Context:
354
354
{
355
355
try
356
356
{
357
 
  int error=0;
358
 
 
359
357
  po::options_description commandline_options("Options used only in command line");
360
358
  commandline_options.add_options()
361
359
 
601
599
    }
602
600
 
603
601
    for (; *argv != NULL; argv++)
604
 
      if ((error= write_to_table(*argv, con)))
 
602
      if (int error= write_to_table(*argv, con))
605
603
        if (exitcode == 0)
606
604
          exitcode= error;
607
605
    db_disconnect(current_host, con);