Update oracledb_session.rb

Update format_options for sqlplus to support all versions.
Reference: Issue 5182
This commit is contained in:
pacopal 2020-08-11 13:01:18 +02:00
parent fb0be93a00
commit 56ba334af8

View file

@ -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)