aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/dbi.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v3/dbi.rb')
-rw-r--r--lib/sisu/v3/dbi.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/sisu/v3/dbi.rb b/lib/sisu/v3/dbi.rb
index f11d9e81..57a6e4f2 100644
--- a/lib/sisu/v3/dbi.rb
+++ b/lib/sisu/v3/dbi.rb
@@ -126,11 +126,13 @@ module SiSU_DBI
when /pg/; read_psql
when /sqlite/; read_sqlite
end
- SiSU_Screen::Ansi.new(@opt.cmd,"DBI (#{@sql_type}) #{@opt.mod}",@opt.fns).dbi_title unless @opt.cmd =~/q/
+ SiSU_Screen::Ansi.new(@opt.cmd,"DBI (#{@sql_type}) #{@opt.mod}",@opt.fno).dbi_title unless @opt.cmd =~/q/
begin
SiSU_DbDBI::Case.new(@opt,@conn,@sql_type).cases
rescue
- SiSU_Errors::InfoError.new($!,$@,@cf,@opt.fns).error
+ SiSU_Errors::InfoError.new($!,$@,@cf,@opt.fns).error do
+ __LINE__.to_s + ':' + __FILE__
+ end
ensure
end
begin