mirror of
https://github.com/inspec/inspec
synced 2025-01-02 16:29:04 +00:00
Update oracledb_session.rb
Update format_options for sqlplus to support all versions. Reference: Issue 5182
This commit is contained in:
parent
fb0be93a00
commit
56ba334af8
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ module Inspec::Resources
|
||||||
format_options = "set sqlformat csv\nSET FEEDBACK OFF"
|
format_options = "set sqlformat csv\nSET FEEDBACK OFF"
|
||||||
else
|
else
|
||||||
@bin = "#{@sqlplus_bin} -S"
|
@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
|
end
|
||||||
|
|
||||||
command = command_builder(format_options, sql)
|
command = command_builder(format_options, sql)
|
||||||
|
|
Loading…
Reference in a new issue