109
109
old_field->getTable()->timestamp_field != old_field || /* timestamp field */
110
110
unireg_check == Field::TIMESTAMP_UN_FIELD)) /* has default val */
114
112
/* Get the value from default_values */
116
114
orig_field->move_field_offset(diff); // Points now at default_values
117
115
if (! orig_field->is_real_null())
120
String tmp(buff, sizeof(buff), charset), *res;
123
121
def= new Item_string(pos, res->length(), charset);
125
123
orig_field->move_field_offset(-diff); // Back to getInsertRecord()