diff options
author | Brian Cully <bjc@kublai.com> | 2008-03-01 15:15:18 -0500 |
---|---|---|
committer | Brian Cully <bjc@kublai.com> | 2008-03-01 15:15:18 -0500 |
commit | 2b72e23a8ed765cfe62715168f75a199dfd9421c (patch) | |
tree | c9715167fb811935845e29e8fe69c33ac2e8365d /src | |
parent | d7751a3a4adf0bde22278bf8828664a38d08d53b (diff) | |
download | mysqlerl-2b72e23a8ed765cfe62715168f75a199dfd9421c.tar.gz mysqlerl-2b72e23a8ed765cfe62715168f75a199dfd9421c.zip |
Use commit as a test instead of custom.
Diffstat (limited to 'src')
-rw-r--r-- | src/mysqlerl.erl | 3 |
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). |