Update oracledb_session.rb

Update format_options for sqlplus to support all versions.
Reference: Issue 5182

Signed-off-by: pacopal <fpalomares@hotmail.com>
This commit is contained in:
pacopal 2020-08-11 13:01:18 +02:00
parent fb0be93a00
commit 7843349582

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)