~jaypipes/drizzle/subscriber-plugin

« back to all changes in this revision

Viewing changes to drizzled/sql_insert.cc

Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
402
402
    table->cursor->ha_release_auto_increment();
403
403
    if (table->cursor->ha_end_bulk_insert() && !error)
404
404
    {
405
 
      table->print_error(my_errno,MYF(0));
 
405
      table->print_error(errno,MYF(0));
406
406
      error=1;
407
407
    }
408
408
    if (duplic != DUP_ERROR || ignore)
773
773
      {
774
774
        if (table->cursor->extra(HA_EXTRA_FLUSH_CACHE)) /* Not needed with NISAM */
775
775
        {
776
 
          error=my_errno;
 
776
          error=errno;
777
777
          goto err;
778
778
        }
779
779