提交 9a21ab92 authored 作者: sugnkeunkim's avatar sugnkeunkim

drop test table after test

上级 0799edc0
...@@ -78,6 +78,16 @@ public class TestMvccMultiThreaded2 extends TestBase { ...@@ -78,6 +78,16 @@ public class TestMvccMultiThreaded2 extends TestBase {
} catch (InterruptedException e) { } catch (InterruptedException e) {
e.printStackTrace(); e.printStackTrace();
} }
smtm = conn.createStatement();
smtm.execute("DROP TABLE TEST");
if (conn != null) {
try {
conn.close();
} catch (SQLException e1) {
e1.printStackTrace();
}
}
} }
private class SelectForUpdate extends Thread { private class SelectForUpdate extends Thread {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论