diff options
author | Ingela Anderton Andin <[email protected]> | 2011-08-17 14:43:58 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2011-09-02 09:44:41 +0200 |
commit | 6d28297e06abf065c150bd84dec6aa1d9d5b7efd (patch) | |
tree | b19caf64216c598e8a30f9e16508e4396963e79d /lib/odbc/test | |
parent | bb94e589c8495caf7c1fa6ebe808f6983ceaf44a (diff) | |
download | otp-6d28297e06abf065c150bd84dec6aa1d9d5b7efd.tar.gz otp-6d28297e06abf065c150bd84dec6aa1d9d5b7efd.tar.bz2 otp-6d28297e06abf065c150bd84dec6aa1d9d5b7efd.zip |
When using output parameters the internal odbc state was not correctly
cleaned causing the next call to param_query to missbehave.
Also corrected some test code
Diffstat (limited to 'lib/odbc/test')
-rw-r--r-- | lib/odbc/test/odbc_test_lib.erl | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/odbc/test/odbc_test_lib.erl b/lib/odbc/test/odbc_test_lib.erl index 2d6bf5fcac..4d7d1ae2fa 100644 --- a/lib/odbc/test/odbc_test_lib.erl +++ b/lib/odbc/test/odbc_test_lib.erl @@ -97,10 +97,13 @@ linux_issue() -> string:tokens(binary_to_list(Binary), " "). is_sles11(IssueTokens) -> - lists:member(11, IssueTokens). + lists:member("11", IssueTokens). is_sles10(IssueTokens) -> - lists:member(10, IssueTokens). + lists:member("10", IssueTokens). is_sles9(IssueTokens) -> - lists:member(9, IssueTokens). + lists:member("9", IssueTokens). + +is_ubuntu(IssueTokens) -> + lists:member("Ubuntu", IssueTokens). |