• Sreeharsha Ramanavarapu's avatar
    Bug #26791931: INCORRECT BEHAVIOR IN ALTER TABLE REORGANIZE · a653fca9
    Sreeharsha Ramanavarapu authored
                   PARTITION
    
    Issue:
    ------
    ALTER TABLE REORGANIZE PARTITION .... can result in
    incorrect behavior if any partition other than the last
    one misses the "VALUES LESS THAN..." part of the syntax.
    
    Root cause:
    -----------
    Currently ALTER TABLE with changes to partitions is handled
    incorrectly by the parser.
    
    Fix:
    ----
    The if condition which handles partition management
    differently for ALTER TABLE in the parser should be removed.
     Change the code to handle the case in the parser.
    a653fca9
sql_yacc.yy 439 KB