Use correct Avro function
The avrorouter used the 32-bit function to store 64-bit integers. This caused incorrect values to be stored.
This commit is contained in:
parent
65caaab77b
commit
4bd743d3ce
@ -391,7 +391,7 @@ void set_numeric_field_value(avro_value_t *field, uint8_t type, uint8_t *metadat
|
||||
case TABLE_COL_TYPE_LONGLONG:
|
||||
{
|
||||
long l = gw_mysql_get_byte8(value);
|
||||
avro_value_set_int(field, l);
|
||||
avro_value_set_long(field, l);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user