• unknown's avatar
    Fix error message generated when trying to create a table in a · 41984105
    unknown authored
    non-existent database. (Bug #10407)
    
    
    mysql-test/r/create.result:
      Update results
    mysql-test/t/create.test:
      Update error numbers
    sql/mysql_priv.h:
      Adjust some other function signature so table and db information
      is passed down into create_frm().
    sql/sql_table.cc:
      Check for database not existing after hitting an error when
      copying the .frm file for 'CREATE TABLE ... LIKE ...', and
      pass table and db name into rea_create_table().
    sql/table.cc:
      Generate specific error message when .frm creation fails because
      the database does not exist.
    sql/unireg.cc:
      Pass database and table name down into create_frm().
    41984105
create.test 13.4 KB