Skip to content

Commit cd71454

Browse files
bagyi0vim-scripts
authored andcommitted
Version 16.0
Posted by David Fishburn Bug Fixes --------- - For Oracle databases, the SQLPlus command had unmatched quotation marks which could lead to errors displayed by dbext indicating it could not open the file to execute the SQL (JustinF Zhang).
1 parent 4d4d121 commit cd71454

File tree

4 files changed

+23
-16
lines changed

4 files changed

+23
-16
lines changed

autoload/dbext.vim

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
" dbext.vim - Commn Database Utility
22
" Copyright (C) 2002-10, Peter Bagyinszki, David Fishburn
33
" ---------------------------------------------------------------
4-
" Version: 15.00
4+
" Version: 16.00
55
" Maintainer: David Fishburn <dfishburn dot vim at gmail dot com>
66
" Authors: Peter Bagyinszki <petike1 at dpg dot hu>
77
" David Fishburn <dfishburn dot vim at gmail dot com>
8-
" Last Modified: 2012 Apr 30
8+
" Last Modified: 2012 May 22
99
" Based On: sqlplus.vim (author: Jamis Buck)
1010
" Created: 2002-05-24
1111
" Homepage: http://vim.sourceforge.net/script.php?script_id=356
@@ -38,7 +38,7 @@ if v:version < 700
3838
echomsg "dbext: Version 4.00 or higher requires Vim7. Version 3.50 can stil be used with Vim6."
3939
finish
4040
endif
41-
let g:loaded_dbext_auto = 1500
41+
let g:loaded_dbext_auto = 1600
4242

4343
" Turn on support for line continuations when creating the script
4444
let s:cpo_save = &cpo
@@ -2899,7 +2899,7 @@ function! s:DB_ORA_execSql(str)
28992899
\ s:DB_option('/', s:DB_get("passwd"), '') .
29002900
\ s:DB_option('@', s:DB_get("srvname"), '') .
29012901
\ s:DB_option(' ', dbext#DB_getWTypeDefault("extra"), '') .
2902-
\ '" @' . s:dbext_tempfile
2902+
\ "' @" . s:dbext_tempfile
29032903
let result = s:DB_runCmd(cmd, output, "")
29042904

29052905
return result

autoload/dbext_dbi.vim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
" It adds transaction support and the ability
55
" to reach any database currently supported
66
" by Perl and DBI.
7-
" Version: 15.00
7+
" Version: 16.00
88
" Maintainer: David Fishburn <dfishburn dot vim at gmail dot com>
99
" Authors: David Fishburn <dfishburn dot vim at gmail dot com>
10-
" Last Modified: 2012 Apr 05
10+
" Last Modified: 2012 Jun 11
1111
" Created: 2007-05-24
1212
" Homepage: http://vim.sourceforge.net/script.php?script_id=356
1313
"
@@ -124,7 +124,7 @@ if !has('perl')
124124
let g:loaded_dbext_dbi_msg = 'Vim does not have perl support enabled'
125125
finish
126126
endif
127-
let g:loaded_dbext_dbi = 1500
127+
let g:loaded_dbext_dbi = 1600
128128

129129
if !exists("dbext_dbi_debug")
130130
let g:dbext_dbi_debug = 0

doc/dbext.txt

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*dbext.txt* For Vim version 7.0. Last change: 2012 May 01
1+
*dbext.txt* For Vim version 7.0. Last change: 2012 Jun 11
22

33

44
VIM REFERENCE MANUAL
@@ -7,7 +7,7 @@
77
Peter Bagyinszki
88

99
Database extension plugin (dbext.vim) manual
10-
dbext.vim version 15.00
10+
dbext.vim version 16.00
1111

1212
For instructions on installing this file, type
1313
:help add-local-help
@@ -92,13 +92,19 @@ David Fishburn
9292
==============================================================================
9393
2. What's New *dbext-new*
9494

95+
Version 16.00
96+
97+
Bug Fixes
98+
---------
99+
- For Oracle databases, the SQLPlus command had unmatched quotation marks
100+
which could lead to errors displayed by dbext indicating it could not
101+
open the file to execute the SQL (JustinF Zhang).
102+
103+
95104
Version 15.00
96105

97106
New Features
98107
---------
99-
- For Oracle connection profiles, support this form of server name,
100-
srvname=(description=(address=(protocol=TCP)(host=dbhost.our.domain.com)(port=1521))(connect_data=(server=dedicated)(service_name=gps03tst.our.domain.com)))
101-
(Fredrik Acosta).
102108
- A new database confirguration parameter, g:dbext_default_DBTYPE_extra, is
103109
available to allow the user to customize command line parameters passed to
104110
the database binary used to execute the statement. This can be overriden
@@ -117,7 +123,8 @@ Version 14.00
117123

118124
New Features
119125
---------
120-
- Added support for using extended connection strings with Oracle and SQLPlus
126+
- For Oracle connection profiles, support this form of server name,
127+
srvname=(description=(address=(protocol=TCP)(host=dbhost.our.domain.com)(port=1521))(connect_data=(server=dedicated)(service_name=gps03tst.our.domain.com)))
121128
(Fredrik Acosta).
122129
- Added a new buffer option to specify which filetype dbext should use when
123130
parsing the query. If an existing language already works as you need

plugin/dbext.vim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
" dbext.vim - Commn Database Utility
22
" Copyright (C) 2002-10, Peter Bagyinszki, David Fishburn
33
" ---------------------------------------------------------------
4-
" Version: 15.00
4+
" Version: 16.00
55
" Maintainer: David Fishburn <dfishburn dot vim at gmail dot com>
66
" Authors: Peter Bagyinszki <petike1 at dpg dot hu>
77
" David Fishburn <dfishburn dot vim at gmail dot com>
8-
" Last Modified: 2012 Apr 05
8+
" Last Modified: 2012 Jun 11
99
" Based On: sqlplus.vim (author: Jamis Buck)
1010
" Created: 2002-05-24
1111
" Homepage: http://vim.sourceforge.net/script.php?script_id=356
@@ -38,7 +38,7 @@ if v:version < 700
3838
echomsg "dbext: Version 4.00 or higher requires Vim7. Version 3.50 can stil be used with Vim6."
3939
finish
4040
endif
41-
let g:loaded_dbext = 1500
41+
let g:loaded_dbext = 1600
4242

4343
" Turn on support for line continuations when creating the script
4444
let s:cpo_save = &cpo

0 commit comments

Comments
 (0)