~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/alter_table.cc

  • Committer: Brian Aker
  • Date: 2010-06-22 02:12:26 UTC
  • mto: This revision was merged to the branch mainline in revision 1636.
  • Revision ID: brian@gaz-20100622021226-46o85azoaypx9tlp
Update for count_cuted_fields.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1039
1039
 
1040
1040
  /* Copy the data if necessary. */
1041
1041
  {
1042
 
    session->count_cuted_fields= CHECK_FIELD_WARN;      // calc cuted fields
 
1042
    /* We must not ignore bad input! */
 
1043
    session->count_cuted_fields= CHECK_FIELD_ERROR_FOR_NULL;    // calc cuted fields
1043
1044
    session->cuted_fields= 0L;
1044
1045
    session->set_proc_info("copy to tmp table");
1045
1046
    copied= deleted= 0;