Details
-
Type:
Task
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
Fix Version/s: 10.2
-
Component/s: None
-
Labels:
Description
The existing TABLE_MAP_EVENT row-based event lacks enough detail to determine column names and signedness of integer fields.
Davi Arnaut has created a new kind of event called "Table_metadata", which includes that information: https://github.com/twitter/mysql/commit/19b251446
I propose that this functionality or similar functionality be added to MariaDB.
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
Either that patch (that I didn't look at yet) or a different implementation. But it needs to be future-proof, we should be able to add any metadata we want to this event at any time without breaking binlog compatibility.
Table_map_log_event already stores field metadata internally, but I don't see how we can use that without making binlog incompatible. This is an example of not future-proof implementation.