aboutsummaryrefslogtreecommitdiffstats
path: root/lib/odbc/src/odbc.erl
diff options
context:
space:
mode:
authorHanfei Shen <[email protected]>2011-05-04 00:21:57 +0800
committerIngela Anderton Andin <[email protected]>2011-06-22 09:36:45 +0200
commit64633846cc6959eca307d37e7b879ac14182f3c3 (patch)
tree40e5eee967631e9bcd382c7fbb92daec344ec84b /lib/odbc/src/odbc.erl
parentb9d8ae5aa52774ed0ce12c9d21ad7f3670c2dca1 (diff)
downloadotp-64633846cc6959eca307d37e7b879ac14182f3c3.tar.gz
otp-64633846cc6959eca307d37e7b879ac14182f3c3.tar.bz2
otp-64633846cc6959eca307d37e7b879ac14182f3c3.zip
Add support for SQL_WLONGVARCHAR
Diffstat (limited to 'lib/odbc/src/odbc.erl')
-rw-r--r--lib/odbc/src/odbc.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/odbc/src/odbc.erl b/lib/odbc/src/odbc.erl
index 2634450d4a..68497292db 100644
--- a/lib/odbc/src/odbc.erl
+++ b/lib/odbc/src/odbc.erl
@@ -925,6 +925,9 @@ fix_params({{sql_wchar, Max}, InOut, Values}) ->
fix_params({{sql_wvarchar, Max}, InOut, Values}) ->
NewValues = string_terminate(Values),
{?USER_WVARCHAR, Max, fix_inout(InOut), NewValues};
+fix_params({{sql_wlongvarchar, Max}, InOut, Values}) ->
+ NewValues = string_terminate(Values),
+ {?USER_WLONGVARCHAR, Max, fix_inout(InOut), NewValues};
fix_params({{sql_float, Precision}, InOut, Values}) ->
{?USER_FLOAT, Precision, fix_inout(InOut), Values};
fix_params({sql_real, InOut, Values}) ->