Fix empty TIME2 values

The values for TIME2 were always empty as they weren't processed.
This commit is contained in:
Markus Mäkelä
2017-12-13 11:25:47 +02:00
parent 49a5dd9390
commit bdcda0f235
2 changed files with 31 additions and 1 deletions

View File

@ -655,7 +655,7 @@ uint8_t* process_row_event_data(TABLE_MAP *map, TABLE_CREATE *create, avro_value
create->column_lengths[i], &tm);
format_temporal_value(buf, sizeof(buf), map->column_types[i], &tm);
avro_value_set_string(&field, buf);
MXS_INFO("[%ld] TEMPORAL: %s", i, buf);
MXS_INFO("[%ld] %s: %s", i, column_type_to_string(map->column_types[i]), buf);
ss_dassert(ptr < end);
}
/** All numeric types (INT, LONG, FLOAT etc.) */