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

DatabaseEventListener now calls setProgress whenever a statement starts and ends.

上级 19623545
...@@ -801,6 +801,12 @@ public class TestPageStore extends TestBase implements DatabaseEventListener { ...@@ -801,6 +801,12 @@ public class TestPageStore extends TestBase implements DatabaseEventListener {
// ignore // ignore
return; return;
} }
switch (state) {
case DatabaseEventListener.STATE_STATEMENT_START:
case DatabaseEventListener.STATE_STATEMENT_END:
case DatabaseEventListener.STATE_STATEMENT_PROGRESS:
return;
}
event("setProgress " + state + " " + name + " " + x + " " + max); event("setProgress " + state + " " + name + " " + x + " " + max);
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论