diff options
author | Fredrik Gustafsson <[email protected]> | 2013-02-08 09:35:29 +0100 |
---|---|---|
committer | Fredrik Gustafsson <[email protected]> | 2013-02-08 09:35:29 +0100 |
commit | 746be653563d1d6a5166efdadbc8efc2f9504a47 (patch) | |
tree | c9756412f6ef780877c14229f31a2e7219d943a6 /lib/odbc/src | |
parent | 3d8ad0032e33c15fca7e0a36817f6004ca488a1d (diff) | |
parent | 026d6778fdadce1eac8cdf486b159fa0d6669836 (diff) | |
download | otp-746be653563d1d6a5166efdadbc8efc2f9504a47.tar.gz otp-746be653563d1d6a5166efdadbc8efc2f9504a47.tar.bz2 otp-746be653563d1d6a5166efdadbc8efc2f9504a47.zip |
Merge branch 'kp/odbc-empty-params/OTP-10798'
* kp/odbc-empty-params/OTP-10798:
Add testcases for odbc:param_query
Fix odbc:param_query/3 and odbc:param_query/4.
Diffstat (limited to 'lib/odbc/src')
-rw-r--r-- | lib/odbc/src/odbc.erl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/odbc/src/odbc.erl b/lib/odbc/src/odbc.erl index 3eabec9ec3..dde96907e5 100644 --- a/lib/odbc/src/odbc.erl +++ b/lib/odbc/src/odbc.erl @@ -902,7 +902,9 @@ param_values(Params) -> [{_, Values} | _] -> Values; [{_, _, Values} | _] -> - Values + Values; + [] -> + [] end. %%------------------------------------------------------------------------- |