From 2b72e23a8ed765cfe62715168f75a199dfd9421c Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Sat, 1 Mar 2008 15:15:18 -0500 Subject: Use commit as a test instead of custom. --- src/mysqlerl.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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). -- cgit v1.2.3