~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message/statement_transform.cc

TimestampFieldOptions in the table proto contains nothing that we use. remove it.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1189
1189
    }
1190
1190
  }
1191
1191
 
1192
 
  if (field.type() == Table::Field::TIMESTAMP)
1193
 
    if (field.timestamp_options().has_auto_updates() &&
1194
 
        field.timestamp_options().auto_updates())
1195
 
      destination.append(" ON UPDATE CURRENT_TIMESTAMP", 28);
 
1192
  if (field.has_options() && field.options().has_update_value())
 
1193
  {
 
1194
    destination.append(" ON UPDATE ", 11);
 
1195
    destination.append(field.options().update_value());
 
1196
  }
1196
1197
 
1197
1198
  if (field.has_comment())
1198
1199
  {