• Jon Olav Hauglid's avatar
    Bug #54920 Stored functions are allowed in HANDLER statements, · 0b044c8c
    Jon Olav Hauglid authored
               but broken.
    
    Before this patch, it was allowed to use stored functions in
    HANDLER ... READ statements. The problem was that this functionality
    was not really supported by the code. Proper locking would for example
    not be performed, and it was also possible to break replication by
    having stored functions that performed updates.
    
    This patch disallows the use of stored functions in HANDLER ... READ.
    Any such statement will now give an ER_NOT_SUPPORTED_YET error.
    This is an incompatible change and should be reflected in the
    documentation.
    
    Test case added to handler_myisam/handler_innodb.test.
    0b044c8c
handler.inc 46.9 KB