|
1 | 1 | " dbext.vim - Commn Database Utility |
2 | 2 | " Copyright (C) 2002-10, Peter Bagyinszki, David Fishburn |
3 | 3 | " --------------------------------------------------------------- |
4 | | -" Version: 17.00 |
| 4 | +" Version: 18.00 |
5 | 5 | " Maintainer: David Fishburn <dfishburn dot vim at gmail dot com> |
6 | 6 | " Authors: Peter Bagyinszki <petike1 at dpg dot hu> |
7 | 7 | " David Fishburn <dfishburn dot vim at gmail dot com> |
8 | | -" Last Modified: 2012 Sep 29 |
| 8 | +" Last Modified: 2012 Oct 31 |
9 | 9 | " Based On: sqlplus.vim (author: Jamis Buck) |
10 | 10 | " Created: 2002-05-24 |
11 | 11 | " Homepage: http://vim.sourceforge.net/script.php?script_id=356 |
@@ -38,7 +38,7 @@ if v:version < 700 |
38 | 38 | echomsg "dbext: Version 4.00 or higher requires Vim7. Version 3.50 can stil be used with Vim6." |
39 | 39 | finish |
40 | 40 | endif |
41 | | -let g:loaded_dbext_auto = 1700 |
| 41 | +let g:loaded_dbext_auto = 1800 |
42 | 42 |
|
43 | 43 | " Turn on support for line continuations when creating the script |
44 | 44 | let s:cpo_save = &cpo |
@@ -2924,11 +2924,11 @@ function! s:DB_ORA_execSql(str) |
2924 | 2924 |
|
2925 | 2925 | let cmd = dbext_bin . |
2926 | 2926 | \ ' ' . dbext#DB_getWType("cmd_options") . |
2927 | | - \ s:DB_option(" '", s:DB_get("user"), '') . |
| 2927 | + \ s:DB_option(' "', s:DB_get("user"), '') . |
2928 | 2928 | \ s:DB_option('/', s:DB_get("passwd"), '') . |
2929 | 2929 | \ s:DB_option('@', s:DB_get("srvname"), '') . |
2930 | 2930 | \ s:DB_option(' ', dbext#DB_getWTypeDefault("extra"), '') . |
2931 | | - \ "' @" . s:dbext_tempfile |
| 2931 | + \ '" @' . s:dbext_tempfile |
2932 | 2932 | let result = s:DB_runCmd(cmd, output, "") |
2933 | 2933 |
|
2934 | 2934 | return result |
@@ -6982,6 +6982,7 @@ function! dbext#DB_parseQuery(query) |
6982 | 6982 | " let query = s:DB_parseSQL(a:query) |
6983 | 6983 | return s:DB_parseHostVariables(a:query) |
6984 | 6984 | elseif matchstr( l:filetype, "java" ) == "java" || |
| 6985 | + \ matchstr( l:filetype, "cs" ) == "cs" || |
6985 | 6986 | \ matchstr( l:filetype, "jsp" ) == "jsp" || |
6986 | 6987 | \ matchstr( l:filetype, "html" ) == "html" || |
6987 | 6988 | \ matchstr( l:filetype, "javascript" ) == "javascript" |
|
0 commit comments