-
Notifications
You must be signed in to change notification settings - Fork 101
Commit a3efda9
Version 11.00
Posted by David Fishburn
New Features
------------
- When autoclose is enabled, a message is displayed indicating autoclose is enabled. This message will now also include the number of rows affected by the last statement (if applicable). This is available for all database interfaces which can provide this information. Vim scripts or mappings have access to this value by referencing the g:dbext_rows_affected variable (Philippe Moravie).
- The Select, Update, Delete, Alter and Drop commands will now complete table names.
- Revamped the saved variables (see |dbext-tutorial-variables|). dbext checks your queries and will prompt for variables (see |dbext-prompting|). dbext uses regular expressions to determine which variables should be prompted. To see how you can easily extend the regular expressions follow the tutorial. This replaces the previous method which was too limiting. The new technique uses Vim's standard regular expressions. This introduces the variable_def_regex dbext option and deprecates the variable_def dbext option.
- With the introduction of saved variables, you are now prompted during SQL execution to determine whether the previously saved variables should be substituted.
Bug Fixes
---------
- If you re-sourced plugin/dbext.vim you would receive the following error: E227: mapping already exists for <Leader>sas
- Errors were reported about undefined variable, dbext_sqlvar_temp_mv, if executing a SQL statement directly from a filetype which was not SQL (i.e. PHP, Java, csharp, ...).
- If saved variables were in use, it was possible for dbext to used the replaced variables without the user knowing. For example stored procedures could be created with the replaced strings instead of the variables.1 parent aea775e commit a3efda9Copy full SHA for a3efda9
File tree
Expand file treeCollapse file tree
4 files changed
+515
-82
lines changedFilter options
- autoload
- doc
- plugin
Expand file treeCollapse file tree
4 files changed
+515
-82
lines changed
0 commit comments