zongji
zongji copied to clipboard
Cannot read property 'COLUMN_NAME' of undefined
https://github.com/nevill/zongji/pull/21
I "fixed" that in my fork: https://github.com/rodrigogs/zongji
It happens when there's information in the binlog from a table that already have been dropped or altered.
My "solution" was to simply emit the error and ignore the record.
same problem, anyone can tell me how to fix it:
D:\Code\api\node_modules\zongji\node_modules\mysql\lib\protocol\Parser.js:437 throw err; // Rethrow non-MySQL errors ^
TypeError: Cannot read property 'COLUMN_NAME' of undefined
at TableMap.updateColumnInfo (D:\Code\api\node_modules\zongji\lib\binlog_event.js:195:30)
at D:\Code\api\node_modules\zongji\index.js:259:19
at Query.
Any solution to this problem @Bkhxq / @rodrigogs ?