IF EXISTS sql does not work for MySQL
-------------------------------------

         Key: SEQUOIA-1109
         URL: https://forge.continuent.org/jira/browse/SEQUOIA-1109
     Project: Sequoia
        Type: Bug

  Components: Core  
    Versions: sequoia 2.10.10    
    Reporter: Adam Purkiss
    Priority: Minor


DROP TABLE IF EXISTS table_name;

If the above is run it fails to execute due to IF EXISTS being special to 
MySQL. It would be really useful to keep this in as it stops sql seed scripts 
dieing because you try to delete a table that does not exist. I dont know if 
other dbs offer a similar statement.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia

Reply via email to