diff options
author | Ingela Anderton Andin <[email protected]> | 2011-06-16 15:28:00 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2011-06-17 12:08:30 +0200 |
commit | e670d7bec29c5390f2f7a53a8730a0db4efc99d7 (patch) | |
tree | 9ec77904e4c5bc6793bc9981a8c0ebf99a35c784 /lib/odbc/test/odbc_test_lib.erl | |
parent | 364d34ddc383690a76d517e6c9bc717af40f80c6 (diff) | |
download | otp-e670d7bec29c5390f2f7a53a8730a0db4efc99d7.tar.gz otp-e670d7bec29c5390f2f7a53a8730a0db4efc99d7.tar.bz2 otp-e670d7bec29c5390f2f7a53a8730a0db4efc99d7.zip |
Added code to handle old postgres drivers on solaris and running against
postgres for linux 64 bits (MySQL 64 seems to be broken).
Diffstat (limited to 'lib/odbc/test/odbc_test_lib.erl')
-rw-r--r-- | lib/odbc/test/odbc_test_lib.erl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/odbc/test/odbc_test_lib.erl b/lib/odbc/test/odbc_test_lib.erl index 9cd8aff648..3e78105cf3 100644 --- a/lib/odbc/test/odbc_test_lib.erl +++ b/lib/odbc/test/odbc_test_lib.erl @@ -69,3 +69,11 @@ strict(Ref, mysql) -> odbc:sql_query(Ref, "SET sql_mode='STRICT_ALL_TABLES,STRICT_TRANS_TABLES';"); strict(_,_) -> ok. + +platform_options() -> + case os:type() of + {unix, sunos} -> + [{scrollable_cursors, off}]; + _ -> + [] + end. |