diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-11-01 18:54:07 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-11-01 18:54:07 +0200 |
commit | 46b13215f079139220d6886c9919a9a228d8d486 (patch) | |
tree | 970916a8cb8f97588833f7d7cd7c5650450f30fa /doc/vmod-sql.3 | |
parent | b9f2a6f03404cc5d85240250f4f961775dc44648 (diff) | |
download | vmod-sql-46b13215f079139220d6886c9919a9a228d8d486.tar.gz vmod-sql-46b13215f079139220d6886c9919a9a228d8d486.tar.bz2 |
Support for VCL 4.0
* NEWS: Update.
* configure.ac: Version 1.0.90.
Detect Varnish version.
* doc/vmod-sql.3: Update.
* src/.gitignore: Update.
* src/Makefile.am: Always build vcc_if.c and vcc_if.h
* src/vmod-sql.c: Use Varnish datatypes; define them for v.3
(vmod_ntuples, vmod_nfields): New functions.
* src/vmod.vcc: Rewrite in VCL 4.0 format.
Diffstat (limited to 'doc/vmod-sql.3')
-rw-r--r-- | doc/vmod-sql.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/vmod-sql.3 b/doc/vmod-sql.3 index 864c6e1..446cfbc 100644 --- a/doc/vmod-sql.3 +++ b/doc/vmod-sql.3 @@ -13,7 +13,7 @@ .\" .\" You should have received a copy of the GNU General Public License .\" along with vmod-sql. If not, see <http://www.gnu.org/licenses/>. -.TH VMOD-SQL 1 "October 19, 2013" "VMOD-SQL" "User Reference" +.TH VMOD-SQL 1 "November 1, 2014" "VMOD-SQL" "User Reference" .SH NAME vmod-sql \- SQL access for Varnish Cache .SH SYNOPSIS @@ -132,7 +132,7 @@ descriptor will be the lowest-numbered descriptor not currently open for any connection. .PP The function -.B sql.connect0 +.B sql.connect_init is equivalent to .BR sql.connect , but succeeds only if the connection is assigned the descriptor @@ -146,7 +146,7 @@ closes an existing database connection identified by descriptor .PP The function .B sql.query -performs a database query given as its first argument. The second +performs a database query given in argument \fIquery\fR. \fIParams\fR argument is a list of variable assignments separated with semicolons, similarly to the \fIparams\fR argument described above. Each assignment has the form \fINAME\fB=\fIVALUE\fR. |