Fixed some compilation errors

This commit is contained in:
Lukas Eder 2013-03-25 07:13:46 +01:00
parent 501cc7e8fa
commit 757958b521
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -308,7 +308,7 @@ class LocalDebugger implements Debugger {
}
@Override
public SQLDialect getSQLDialect() {
return ctx.getDialect();
return ctx.configuration().getDialect();
}
@Override
public String[] getTableNames() {