aboutsummaryrefslogtreecommitdiffstats
path: root/lib/odbc/test/odbc_test_lib.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/odbc/test/odbc_test_lib.erl')
-rw-r--r--lib/odbc/test/odbc_test_lib.erl8
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.