提交 fa327e0e authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 136c2f87
...@@ -144,7 +144,7 @@ public class TestOptimizations extends TestBase { ...@@ -144,7 +144,7 @@ public class TestOptimizations extends TestBase {
long time2 = System.currentTimeMillis(); long time2 = System.currentTimeMillis();
stat.execute(sql); stat.execute(sql);
time2 = System.currentTimeMillis() - time2; time2 = System.currentTimeMillis() - time2;
if (time2 > time) { if (time2 > time * 2) {
error("not optimized: " + time + " optimized: " + time2 + " sql:" + sql); error("not optimized: " + time + " optimized: " + time2 + " sql:" + sql);
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论