• Leonard Zhou's avatar
    BUG#22504 load data infile sql statement in replication architecture get error · 650a5722
    Leonard Zhou authored
    The problem is issued because we set wrong start position and stop position of query string into binlog.
    That two values are stored as part of head info of query string.
    When we parse binlog, we first get position values then get the query string according position values.
    But seems that two values are not calculated correctly after the parse of Yacc.
    
    We don't want to touch so much of yacc because it may influence other codes.
    So just add one space after 'INTO' key word when parsing.
    This can easily resolve the problem.
    650a5722
rpl_loaddatalocal.result 1.25 KB