mysql-replication icon indicating copy to clipboard operation
mysql-replication copied to clipboard

pack/RowEvent.php 第 534 出现严重拼写错误导致 update 事件不能获取 before

Open nekic opened this issue 7 years ago • 0 comments
trafficstars

pack/RowEvent.php 第 534 行 $value['beform'] 拼写错误 应为 $value['before']

` private static function _getUpdateRows($result, $len) { $rows = []; while(!self::$PACK->isComplete(self::$PACK_SIZE)) {

        $value['beform'] = self::_read_column_data($result['bitmap1'], $len);
        $value['after'] = self::_read_column_data($result['bitmap2'], $len);
        $rows[] = $value['after'];
    }
    return $rows;
}`

导致 update 事件不能获取 before 数据

nekic avatar Mar 30 '18 16:03 nekic