#1386 (ok 4.0) CREATE DATABASE should be CREATE DATABASE IF NOT EXISTS

Needs_decision
fixed
Marc Delisle
1
2013-06-11
2012-08-02
Anonymous
No

on the database operations tab, there is tick box that says "CREATE DABASE before copying" while copying a database.

However, this operation fails if the Database in question already exists ( for example, an empty database ).
I believe that this operation should instead be CREATE DATABASE IF NOT EXISTS, fixing the failing operation

Discussion

  • Ann + J.M.
    Ann + J.M.
    2012-08-02

    Moved to Feature Requests.

     
  • Ann + J.M.
    Ann + J.M.
    2012-08-02

    • labels: 509096 --> Data insertion/extraction/manipulation
     
  • Ann + J.M.
    Ann + J.M.
    2012-08-02

    • milestone: --> Needs_decision
     
  • Ann + J.M.
    Ann + J.M.
    2012-08-02

    • priority: 5 --> 4
     
  • PHPcian
    PHPcian
    2012-12-25

    Was this feature done as requested?

     
  • Marc Delisle
    Marc Delisle
    2013-02-19

    • assigned_to: Marc Delisle
     
  • Marc Delisle
    Marc Delisle
    2013-02-19

    • summary: CREATE DATABASE should be CREATE DATABASE IF NOT EXISTS --> (ok 4.0) CREATE DATABASE should be CREATE DATABASE IF NOT EXISTS
    • priority: 4 --> 1
     
  • Marc Delisle
    Marc Delisle
    2013-02-19

    Done.

     
  • Marc Delisle
    Marc Delisle
    2013-02-19

    • status: open --> open-fixed
     
  • Michal Čihař
    Michal Čihař
    2013-05-09

    • Status: open-fixed --> closed-fixed
     
  • Michal Čihař
    Michal Čihař
    2013-06-11

    • Status: closed-fixed --> fixed