diff options
author | Siri Hansen <[email protected]> | 2011-06-20 11:27:05 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2011-06-20 11:27:05 +0200 |
commit | 4dbcaa8fa84d6aa0a70a5fac9465dd7cbf2b0c76 (patch) | |
tree | e9142e45f480f8d637878a9534709260f2f1976a /lib/odbc/test/odbc_start_SUITE.erl | |
parent | bd1e97408b2b8922d96d9dcda027a1dca342366a (diff) | |
parent | d798caa64f4bb7509e89e6b8161c7eb196bc7270 (diff) | |
download | otp-4dbcaa8fa84d6aa0a70a5fac9465dd7cbf2b0c76.tar.gz otp-4dbcaa8fa84d6aa0a70a5fac9465dd7cbf2b0c76.tar.bz2 otp-4dbcaa8fa84d6aa0a70a5fac9465dd7cbf2b0c76.zip |
Merge branch 'dev' into major
Diffstat (limited to 'lib/odbc/test/odbc_start_SUITE.erl')
-rw-r--r-- | lib/odbc/test/odbc_start_SUITE.erl | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/odbc/test/odbc_start_SUITE.erl b/lib/odbc/test/odbc_start_SUITE.erl index 65b990133f..440c0ca921 100644 --- a/lib/odbc/test/odbc_start_SUITE.erl +++ b/lib/odbc/test/odbc_start_SUITE.erl @@ -125,14 +125,16 @@ start(doc) -> start(suite) -> []; start(Config) when is_list(Config) -> - {error,odbc_not_started} = odbc:connect(?RDBMS:connection_string(), []), + PlatformOptions = odbc_test_lib:platform_options(), + {error,odbc_not_started} = odbc:connect(?RDBMS:connection_string(), + PlatformOptions), odbc:start(), - case odbc:connect(?RDBMS:connection_string(), []) of + case odbc:connect(?RDBMS:connection_string(), PlatformOptions) of {ok, Ref0} -> ok = odbc:disconnect(Ref0), odbc:stop(), {error,odbc_not_started} = - odbc:connect(?RDBMS:connection_string(), []), + odbc:connect(?RDBMS:connection_string(), PlatformOptions), start_odbc(transient), start_odbc(permanent); {error, odbc_not_started} -> @@ -144,7 +146,7 @@ start(Config) when is_list(Config) -> start_odbc(Type) -> ok = odbc:start(Type), - case odbc:connect(?RDBMS:connection_string(), []) of + case odbc:connect(?RDBMS:connection_string(), odbc_test_lib:platform_options()) of {ok, Ref} -> ok = odbc:disconnect(Ref), odbc:stop(); |