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:
@ -391,7 +391,7 @@ void set_numeric_field_value(avro_value_t *field, uint8_t type, uint8_t *metadat
|
|||||||
case TABLE_COL_TYPE_LONGLONG:
|
case TABLE_COL_TYPE_LONGLONG:
|
||||||
{
|
{
|
||||||
long l = gw_mysql_get_byte8(value);
|
long l = gw_mysql_get_byte8(value);
|
||||||
avro_value_set_int(field, l);
|
avro_value_set_long(field, l);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user