~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/alter_table.cc

merge warn_unused_result tree to see if it fixes some of teh problems we're having with errors.

Show diffs side-by-side

added added

removed removed

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