• unknown's avatar
    Bug#35997 Event scheduler seems to let the server crash, if it is embedded. · 3703bbf6
    unknown authored
    SHOW commands fail in embedded mode because schema_table array doesn't
    correspond to enum_schema_tables.
    
    This patch implements a dummy implementation of the abstract fill_table
    function to be used when the event scheduler (or other core feature)
    isn't part of the build.
    
    
    libmysqld/lib_sql.cc:
      Fixed type conversion warning.
    sql/sql_show.cc:
      Leave entry for EVENTS to keep array consistent but set the 
      fill_table function pointer to a dummy function instead.
    3703bbf6
sql_show.cc 233 KB