Fix avrorouter type and name handling
The type and name parsing functions could move outside of allocated memory as they didn't check for the terminating null character. Also fixed the printf format string used when the list of used tables is being created. Fixed CDC testing connector to abort on error and added some extra output to the cdc_datatypes test.
This commit is contained in:
@ -205,7 +205,7 @@ void avro_update_index(AVRO_INSTANCE* router)
|
||||
/** The SQL for the in-memory used_tables table */
|
||||
static const char *insert_sql = "INSERT OR IGNORE INTO "MEMORY_TABLE_NAME
|
||||
"(domain, server_id, sequence, binlog_timestamp, table_name)"
|
||||
" VALUES (%lu, %lu, %lu, %lu, \"%s\")";
|
||||
" VALUES (%lu, %lu, %lu, %u, \"%s\")";
|
||||
|
||||
/**
|
||||
* @brief Add a used table to the current transaction
|
||||
|
Reference in New Issue
Block a user