• Georgi Kodinov's avatar
    Bug #53095: SELECT column_name FROM INFORMATION_SCHEMA.STATISTICS · 3e1a4707
    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.
    3e1a4707
sql_show.cc 241 KB