~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/alter_table.cc

Merge in stewart

Show diffs side-by-side

added added

removed removed

Lines of Context:
1529
1529
 
1530
1530
  /* Tell handler that we have values for all columns in the to table */
1531
1531
  to->use_all_columns();
1532
 
  info.init_read_record(session, from, (optimizer::SqlSelect *) 0, 1, true);
 
1532
  error= info.init_read_record(session, from, (optimizer::SqlSelect *) 0, 1, true);
 
1533
  if (error)
 
1534
  {
 
1535
    to->print_error(errno, MYF(0));
 
1536
    goto err;
 
1537
  }
1533
1538
 
1534
1539
  if (ignore)
1535
1540
    to->cursor->extra(HA_EXTRA_IGNORE_DUP_KEY);