mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-14 06:45:21 +00:00
#2575 Tidy up for [DDL-ClickHouse] fixes for ClickHouse platform
This commit is contained in:
1 parent
db60065389
commit
71fce1b4c5
3 files changed
+7
-8
No files matched your search
@@ -107,7 +107,6 @@ final class DScriptRunner implements ScriptRunner {
|
||||
DdlRunner runner = new DdlRunner(useAutoCommit, scriptName, platformName);
|
||||
runner.runAll(content, connection);
|
||||
if (!connection.getAutoCommit()) {
|
||||
// Clickhouse fails: Cannot commit when auto-commit is enabled
|
||||
connection.commit();
|
||||
}
|
||||
runner.runNonTransactional(connection);
|
||||
|
||||
Reference in new issue
Block a user