diff options
author | Brian Cully <bjc@kublai.com> | 2008-07-28 15:20:58 -0400 |
---|---|---|
committer | Brian Cully <github.20.shmit@spamgourmet.com> | 2008-07-28 15:20:58 -0400 |
commit | ebf2069c6a2bd209c932a91e5dfa68c914e2910f (patch) | |
tree | 1e06a7b92455092bac2430ae07e4222ef86d29f8 /src | |
parent | 9f98def45db9207fca60a9301476ac97b60d8587 (diff) | |
download | mysqlerl-ebf2069c6a2bd209c932a91e5dfa68c914e2910f.tar.gz mysqlerl-ebf2069c6a2bd209c932a91e5dfa68c914e2910f.zip |
Note that mysqlerl:test_param_query/0 should have an INSERT or
something, since you don't normally use bind params with SELECT.
Diffstat (limited to 'src')
-rw-r--r-- | src/mysqlerl.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mysqlerl.erl b/src/mysqlerl.erl index 726a55f..e59de7d 100644 --- a/src/mysqlerl.erl +++ b/src/mysqlerl.erl @@ -33,6 +33,8 @@ test_query() -> "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"]}]). |