yarmol / h2database

Automatically exported from code.google.com/p/h2database
0 stars 0 forks source link

drop database exception #513

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I create two database testDB1 and testDB2, but when I drop the first database 
testDB1,H2 throw an RuntimeException.

It is successful to create database testDB1
It is successful to create database testDB2
It is failed to drop database testDB1:General error: 
"java.lang.RuntimeException: Unexpected code path"; SQL statement:
DROP DATABASE IF EXISTS testDB1 [50000-169]
It is successful to drop database testDB2

Original issue reported on code.google.com by lgrg...@gmail.com on 10 Oct 2013 at 12:50

GoogleCodeExporter commented 9 years ago
When I run the statement, I get:

Syntax error in SQL statement "DROP DATABASE[*] IF EXISTS TESTDB1"

You need to provide a better description about what you do. Also, could you try 
with the latest version? You are using an older version: 1.3.169 (the version 
is in the error code, which is ...-169).

Original comment by thomas.t...@gmail.com on 10 Oct 2013 at 2:56