Fixed some compilation errors
This commit is contained in:
parent
501cc7e8fa
commit
757958b521
@ -260,7 +260,7 @@ class DebugProcessor {
|
||||
try {
|
||||
ctx.statement().close();
|
||||
// Better return possibility? Based on originating query?
|
||||
String sql = new Executor(ctx.getDialect()).selectZero().where("1 = 2").getSQL();
|
||||
String sql = new Executor(ctx.configuration().getDialect()).selectZero().where("1 = 2").getSQL();
|
||||
ctx.sql(sql);
|
||||
ctx.statement(ctx.connection().prepareStatement(sql));
|
||||
} catch(Exception e) {
|
||||
|
||||
@ -308,7 +308,7 @@ class LocalDebugger implements Debugger {
|
||||
}
|
||||
@Override
|
||||
public SQLDialect getSQLDialect() {
|
||||
return ctx.getDialect();
|
||||
return ctx.configuration().getDialect();
|
||||
}
|
||||
@Override
|
||||
public String[] getTableNames() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user