Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man3lua Assorted fixes. Kill a few uneeded paragra...
details: https://anonhg.NetBSD.org/src/rev/d5b3b4408ef1
branches: trunk
changeset: 792152:d5b3b4408ef1
user: njoly <njoly%NetBSD.org@localhost>
date: Mon Dec 23 12:50:56 2013 +0000
description:
Assorted fixes. Kill a few uneeded paragraph macros, unbreak xref, and
numerous typos.
diffstat:
share/man/man3lua/sqlite.3lua | 24 +++++++++++-------------
1 files changed, 11 insertions(+), 13 deletions(-)
diffs (84 lines):
diff -r 8c3fdd063128 -r d5b3b4408ef1 share/man/man3lua/sqlite.3lua
--- a/share/man/man3lua/sqlite.3lua Mon Dec 23 12:39:55 2013 +0000
+++ b/share/man/man3lua/sqlite.3lua Mon Dec 23 12:50:56 2013 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: sqlite.3lua,v 1.1 2013/10/27 12:47:54 mbalmer Exp $
+.\" $NetBSD: sqlite.3lua,v 1.2 2013/12/23 12:50:56 njoly Exp $
.\"
.\" Copyright (c) 2013 Marc Balmer <mbalmer%NetBSD.org@localhost>. All rights reserved.
.\"
@@ -78,7 +78,6 @@
The
.Nm
Lua binding provides access to SQLite3 files.
-.Pp
.Sh GENERAL FUNCTIONS
.Bl -tag -width XXXX -compact
.It Dv err = sqlite.initialize()
@@ -119,8 +118,8 @@
Return the SQLite3 library version number as a number.
.Pp
.It Dv id = sqlite.sourceid()
-Return teh SQLite3 library source id as a string.
-.EL
+Return the SQLite3 library source id as a string.
+.El
.Sh DATABASE FUNCTIONS
Database functions operate on database objects returned by
.Em sqlite.open() .
@@ -157,23 +156,23 @@
.It Dv err = sqlite.bind(stmt, pidx, value)
Bind
.Ar value
-to the paramter
+to the parameter
.Ar pidx
-in the prepared statment
+in the prepared statement
.Ar stmt .
.Pp
.It Dv count = sqlite.bind_parameter_count(stmt)
-Return the number of paramaters in the prepared statement
+Return the number of parameters in the prepared statement
.Ar stmt .
.Pp
.It Dv pidx = sqlite.bind_parameter_index(stmt, name)
-Return the paramter index for
+Return the parameter index for
.Ar name
in the prepared statement
.Ar stmt .
.Pp
.It Dv name = sqlite.bind_parameter_name(stmt, pidx)
-Return the parameter name for the paramater index
+Return the parameter name for the parameter index
.Ar pidx
in the prepared statement
.Ar stmt .
@@ -212,11 +211,11 @@
.Ar stmt
is an SQL statement that does not return data (for example an UPDATE).
.El
-.Sh EROROR CODES
+.Sh ERROR CODES
Most functions return an error code, the following error codes
are defined:
.Pp
-.Bl -tag -widht XXXX -compact
+.Bl -tag -width XXXX -compact
.It Dv sqlite.OK
Successful result.
.Pp
@@ -304,11 +303,10 @@
.It Dv sqlite.DONE
sqlite.step() has finished executing.
.El
-.Pp
.Sh SEE ALSO
.Xr lua 1 ,
.Xr luac 1 ,
-.Xr sqlite3 1,
+.Xr sqlite3 1 ,
.Xr intro 3lua
.Sh HISTORY
An
Home |
Main Index |
Thread Index |
Old Index