aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mysqlerl.erl23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/mysqlerl.erl b/src/mysqlerl.erl
index 946e9c5..0f9e77e 100644
--- a/src/mysqlerl.erl
+++ b/src/mysqlerl.erl
@@ -8,8 +8,6 @@
-export([convert_type/1]).
--export([test_start/0, test_msg/0, test_query/0, test_param_query/0]).
-
-export([start/0, start/1, stop/0, commit/2, commit/3,
connect/6, disconnect/1, describe_table/2,
describe_table/3, first/1, first/2,
@@ -18,27 +16,6 @@
select/3, select/4, param_query/3, param_query/4,
sql_query/2, sql_query/3]).
--define(CONFIG, "/Users/bjc/tmp/test-server.cfg").
-
-test_start() ->
- {ok, [{Host, Port, DB, User, Pass, Options}]} = file:consult(?CONFIG),
- mysqlerl:connect(Host, Port, DB, User, Pass, Options).
-
-test_msg() ->
- commit(mysqlerl_connection_sup:random_child(),
- rollback, 2000).
-
-test_query() ->
- sql_query(mysqlerl_connection_sup:random_child(),
- "SELECT COUNT(*) FROM user", 2000).
-
-test_param_query() ->
- %% This should really be an update or something, since that's how
- %% it'll be used.
- param_query(mysqlerl_connection_sup:random_child(),
- "SELECT * FROM user WHERE username=?",
- [{{sql_varchar, 20}, "bjc"}]).
-
start() ->
start(temporary).