aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2008-07-28 15:06:14 -0400
committerBrian Cully <github.20.shmit@spamgourmet.com>2008-07-28 15:06:14 -0400
commit9f98def45db9207fca60a9301476ac97b60d8587 (patch)
treed916c4e97dc3b4dea82097dc0c9c08c2c6795aec /src
parent88f25db3801139eb6e7b41d3f006b78dd069a9ba (diff)
downloadmysqlerl-9f98def45db9207fca60a9301476ac97b60d8587.tar.gz
mysqlerl-9f98def45db9207fca60a9301476ac97b60d8587.zip
Change param test to have a list, like the docs.
Diffstat (limited to 'src')
-rw-r--r--src/mysqlerl.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mysqlerl.erl b/src/mysqlerl.erl
index 53f526e..726a55f 100644
--- a/src/mysqlerl.erl
+++ b/src/mysqlerl.erl
@@ -35,7 +35,7 @@ test_query() ->
test_param_query() ->
param_query(mysqlerl_connection_sup:random_child(),
"SELECT * FROM user WHERE username=?",
- [{{sql_varchar, 20}, "bjc"}]).
+ [{{sql_varchar, 20}, ["bjc"]}]).
start() ->
start(temporary).