• Praveenkumar Hulakund's avatar
    Bug#11763507 - 56224: FUNCTION NAME IS CASE-SENSITIVE · f3d5127f
    Praveenkumar Hulakund authored
    Analysis:
    -------------------------------
    According to the Manual
    (http://dev.mysql.com/doc/refman/5.1/en/identifier-case-sensitivity.html):
    "Column, index, stored routine, and event names are not case sensitive on any
    platform, nor are column aliases."
    
    In other words, 'lower_case_table_names' does not affect the behaviour of 
    those identifiers.
    
    On the other hand, trigger names are case sensitive on some platforms,
    and case insensitive on others. 'lower_case_table_names' does not affect
    the behaviour of trigger names either.
    
    The bug was that SHOW statements did case sensitive comparison
    for stored procedure / stored function / event names.
    
    Fix:
    Modified the code so that comparison in case insensitive for routines 
    and events for "SHOW" operation.
    
    As part of this commit, only fixing the test failures due to the actual code fix.
    f3d5127f
sp_notembedded.test 11.2 KB