~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_base.cc

  • Committer: Brian Aker
  • Date: 2011-01-11 00:57:46 UTC
  • mto: (2082.4.1 timestamp)
  • mto: This revision was merged to the branch mainline in revision 2072.
  • Revision ID: brian@tangent.org-20110111005746-xdu3ql70zp1s1vlb
Fix issue with now() not storing fractional seconds in timestamp(6)

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)