~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_base.cc

  • Committer: Lee Bieber
  • Date: 2011-01-11 04:20:16 UTC
  • mfrom: (2069.2.1 timestamp)
  • Revision ID: kalebral@gmail.com-20110111042016-pf06o1j9q2moea01
Merge Brian - fix bug 700925: inserting into timestamp(6) with now() not preserving microseconds

Show diffs side-by-side

added added

removed removed

Lines of Context:
3887
3887
    table= (*ptr)->getTable();
3888
3888
    table->auto_increment_field_not_null= false;
3889
3889
  }
 
3890
 
3890
3891
  while ((field = *ptr++) && ! session->is_error())
3891
3892
  {
3892
3893
    value=v++;
3893
3894
    table= field->getTable();
 
3895
 
3894
3896
    if (field == table->next_number_field)
3895
3897
      table->auto_increment_field_not_null= true;
 
3898
 
3896
3899
    if (value->save_in_field(field, 0) < 0)
3897
3900
    {
3898
3901
      if (table)