• Georgi Kodinov's avatar
    Bug #53095: SELECT column_name FROM INFORMATION_SCHEMA.STATISTICS · dd6d026f
    Georgi Kodinov authored
    returns nothing
          
    When looking for table or database names inside INFORMATION_SCHEMA
    we must convert the table and database names to lowercase (just as it's
    done in the rest of the server) when lowercase_table_names is non-zero.
    This will allow us to find the same tables that we would find if there
    is no condition.
    
    Fixed by converting to lower case when extracting the database and 
    table name conditions.
    Test case added.
    dd6d026f
lowercase_view.result 10.2 KB