~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzledump_data.cc

  • Committer: Brian Aker
  • Date: 2010-10-21 22:21:11 UTC
  • mfrom: (1865.2.2 trunk-bug-664212)
  • Revision ID: brian@tangent.org-20101021222111-wsxx30oz2qh7w2di
Merge Andrew

Show diffs side-by-side

added added

removed removed

Lines of Context:
347
347
        os << ",";
348
348
    }
349
349
    /* Break insert up if it is too long */
350
 
    if (extended_insert and
351
 
      (byte_counter >= DRIZZLE_MAX_LINE_LENGTH))
 
350
    if ((extended_insert and
 
351
      (byte_counter >= DRIZZLE_MAX_LINE_LENGTH)) or (not extended_insert))
352
352
    {
353
353
      os << ");" << std::endl;
354
354
      new_insert= true;
355
355
      byte_counter= 0;
356
356
    }
357
357
  }
358
 
  os << ");" << std::endl;
 
358
  if (not new_insert)
 
359
    os << ");" << std::endl;
359
360
 
360
361
  if (opt_autocommit)
361
362
    os << "COMMIT;" << std::endl;