Skip to content
  • Manish Kumar's avatar
    7c18aa2a
    BUG#11746146 - 23894: MYSQLBINLOG OUTPUTS SET INSERT_ID=N STATEMENTS UNNECESARILY WITH --DATABA · 7c18aa2a
    Manish Kumar authored
    [This is a post push for the bug#11746146, which was failing on PB2]
    
    Problem - there were two problems with the earlier patch
    
           1. when the buffered events from the dynamic array got popped out the log position 
              was changed to the current log position (ie. the log position of the parent 
              query event). This caused the failure of the test binlog_hexump.test.
    
           2. The second problem test main.mysqlbinlog2 and main.mysqlbinlog the result file 
              was not updated for the changed mysqlbinlog behaviour.
    
    Fix - for the fix of the above mentioned problems :
    
          We define a new structure which stores the event and the log position of the event. When 
          the query event is processed :- 
    
          >  elements are popped out of the dynamic array, 
          >  the event and log position is read from the structure variable 
          >  the event is processed.
    
          As for the second problem the result file were updated.
    7c18aa2a
    BUG#11746146 - 23894: MYSQLBINLOG OUTPUTS SET INSERT_ID=N STATEMENTS UNNECESARILY WITH --DATABA
    Manish Kumar authored
    [This is a post push for the bug#11746146, which was failing on PB2]
    
    Problem - there were two problems with the earlier patch
    
           1. when the buffered events from the dynamic array got popped out the log position 
              was changed to the current log position (ie. the log position of the parent 
              query event). This caused the failure of the test binlog_hexump.test.
    
           2. The second problem test main.mysqlbinlog2 and main.mysqlbinlog the result file 
              was not updated for the changed mysqlbinlog behaviour.
    
    Fix - for the fix of the above mentioned problems :
    
          We define a new structure which stores the event and the log position of the event. When 
          the query event is processed :- 
    
          >  elements are popped out of the dynamic array, 
          >  the event and log position is read from the structure variable 
          >  the event is processed.
    
          As for the second problem the result file were updated.
Loading