database_exists() raises an exception if the database is Oracle:
"ORA-00923: FROM keyword not found where expected"
The problem is the following query: SELECT 1 (line 476 in functions/database.py)
Which should be: SELECT 1 FROM DUAL (for Oracle)
I found the fix here: http://stackoverflow.com/a/3670000/267719
I hope to see the fix applied for each type of db :)
Thanks for reporting. Good way to solve this would be adding some kind of dummy_query function with different compilers for each database using SQLAlchemy compilers.
database_exists()
raises an exception if the database is Oracle: "ORA-00923: FROM keyword not found where expected" The problem is the following query:SELECT 1
(line 476 in functions/database.py) Which should be:SELECT 1 FROM DUAL
(for Oracle) I found the fix here: http://stackoverflow.com/a/3670000/267719I hope to see the fix applied for each type of db :)