File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed
Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ ZongJi.prototype.start = function (options = {}) {
249249 event . updateColumnInfo ( ) ;
250250 } catch ( error ) {
251251 const schemaError = new Error ( 'Historical event received with unrecoverable schema changes.' , {
252- cause : err
252+ cause : error
253253 } ) ;
254254 this . emit ( 'error' , schemaError ) ;
255255 return ;
Original file line number Diff line number Diff line change @@ -481,11 +481,6 @@ exports.readMysqlValue = function (
481481 lengthSize = column . metadata [ 'length_size' ] ;
482482 size = parser . parseUnsignedNumber ( lengthSize ) ;
483483 buffer = parser . parseBuffer ( size ) ;
484- // // Return raw WKB value. First 4 bytes are the SRID which we ignore
485- // console.log(`Parsing Geometry value size: ${size} buffer size: ${buffer.length}`);
486- // result = new Uint8Array(buffer.slice(4));
487- // console.log(`Parsed Geometry value size: ${result}`);
488-
489484 result = parseGeometryValue ( buffer ) ;
490485 break ;
491486 case MysqlTypes . DATE :
You can’t perform that action at this time.
0 commit comments