Commit 2fe016bd authored by Ajit Deshmukh's avatar Ajit Deshmukh

correct the create statement

parent 35004a40
......@@ -1868,12 +1868,7 @@ public class ManageSqlConf extends ActionHandlerEJB {
String error = null;
try {
Statement stmt = null;
try {
stmt = connForQueryExec.createStatement();
} finally {
if (stmt != null) stmt.close();
}
Statement stmt = connForQueryExec.createStatement();
if (isTrigger(finalSql) || isDdl(finalSql)) {
// --- A. Execute the Main DDL (DROP TABLE/VIEW/SEQ) ---
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment