MXS-1621: Fix minor bugs caused by previous changes
Used the correct value in table_create_alloc and remove unused parameter. Use the pre-calculated end pointer when looking for events. Always use the column count of the TABLE_MAP event as all mismatches are detected earlier.
This commit is contained in:
@ -1124,7 +1124,7 @@ void handle_query_event(AVRO_INSTANCE *router, REP_HEADER *hdr, int *pending_tra
|
||||
}
|
||||
else
|
||||
{
|
||||
created = table_create_alloc(ident, sql, len, db);
|
||||
created = table_create_alloc(ident, sql, len);
|
||||
}
|
||||
|
||||
if (created && !save_and_replace_table_create(router, created))
|
||||
|
Reference in New Issue
Block a user