aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2008-03-01 15:15:18 -0500
committerBrian Cully <bjc@kublai.com>2008-03-01 15:15:18 -0500
commit2b72e23a8ed765cfe62715168f75a199dfd9421c (patch)
treec9715167fb811935845e29e8fe69c33ac2e8365d
parentd7751a3a4adf0bde22278bf8828664a38d08d53b (diff)
downloadmysqlerl-2b72e23a8ed765cfe62715168f75a199dfd9421c.tar.gz
mysqlerl-2b72e23a8ed765cfe62715168f75a199dfd9421c.zip
Use commit as a test instead of custom.
-rw-r--r--src/mysqlerl.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mysqlerl.erl b/src/mysqlerl.erl
index 68185a2..ddc8857 100644
--- a/src/mysqlerl.erl
+++ b/src/mysqlerl.erl
@@ -24,7 +24,8 @@ test_start() ->
mysqlerl:connect(Host, Port, DB, User, Pass, Options).
test_msg() ->
- mysqlerl_connection:testmsg(mysqlerl_connection_sup:random_child()).
+ commit(mysqlerl_connection_sup:random_child(),
+ rollback, 2000).
start() ->
start(temporary).