~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/timestamp.cc

  • Committer: Brian Aker
  • Date: 2008-07-28 00:57:12 UTC
  • Revision ID: brian@tangent.org-20080728005712-mkndotf2cvcbp0at
Remove completely ZEROFILL

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
             unireg_check_arg, field_name_arg, cs)
80
80
{
81
81
  /* For 4.0 MYD and 4.0 InnoDB compatibility */
82
 
  flags|= ZEROFILL_FLAG | UNSIGNED_FLAG;
 
82
  flags|= UNSIGNED_FLAG;
83
83
  if (!share->timestamp_field && unireg_check != NONE)
84
84
  {
85
85
    /* This timestamp has auto-update */
99
99
             NONE, field_name_arg, cs)
100
100
{
101
101
  /* For 4.0 MYD and 4.0 InnoDB compatibility */
102
 
  flags|= ZEROFILL_FLAG | UNSIGNED_FLAG;
 
102
  flags|= UNSIGNED_FLAG;
103
103
    if (unireg_check != TIMESTAMP_DN_FIELD)
104
104
      flags|= ON_UPDATE_NOW_FLAG;
105
105
}