• Magne Mahre's avatar
    Bug#48800 CREATE TABLE t...SELECT fails if t is a temporary · 1cf9861f
    Magne Mahre authored
              table
    
    If a temporary table A exists, and a (permanent) table 
    with the same name is attempted created with 
    "CREATE TABLE ... AS SELECT", the create would fail with 
    an error.
       1050: Table 'A' already exists
    
    The error occured in MySQL 5.1 releases, but is not
    present in MySQL 5.5.   This patch adds a regression
    test to ensure that the problem does not reoccur.
    1cf9861f
create.test 54.5 KB