From 784334958226ad07230d095a2c9c2994f5be4141 Mon Sep 17 00:00:00 2001 From: pacopal Date: Tue, 11 Aug 2020 13:01:18 +0200 Subject: [PATCH] Update oracledb_session.rb Update format_options for sqlplus to support all versions. Reference: Issue 5182 Signed-off-by: pacopal --- lib/inspec/resources/oracledb_session.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/inspec/resources/oracledb_session.rb b/lib/inspec/resources/oracledb_session.rb index abda3a808..250338c35 100644 --- a/lib/inspec/resources/oracledb_session.rb +++ b/lib/inspec/resources/oracledb_session.rb @@ -48,7 +48,7 @@ module Inspec::Resources format_options = "set sqlformat csv\nSET FEEDBACK OFF" else @bin = "#{@sqlplus_bin} -S" - format_options = "SET MARKUP CSV ON\nSET PAGESIZE 32000\nSET FEEDBACK OFF" + format_options = "SET PAGESIZE 32000\nSET FEEDBACK OFF\nSET UNDERLINE OFF" end command = command_builder(format_options, sql)