NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/50493 CVS commit: src/share/examples/lua



The following reply was made to PR misc/50493; it has been noted by GNATS.

From: "Kamil Rytarowski" <kamil%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/50493 CVS commit: src/share/examples/lua
Date: Tue, 8 Dec 2015 23:04:40 +0000

 Module Name:	src
 Committed By:	kamil
 Date:		Tue Dec  8 23:04:40 UTC 2015
 
 Modified Files:
 	src/share/examples/lua: sqlite.lua
 
 Log Message:
 Correct mistakes in the sqlite.lua example
 
 Changes:
 - The open flag: sqlite.OPEN_CREATE will open the DB for reading and
   writing, adding sqlite.OPEN_READWRITE to sqlite.OPEN_CREATE will cause
   the DB to not be created and prevent the script from continuing
 - When using stmt:bind_parameter_index() the parameter needs to be
   prefixed with ':' if that was used in the prepared statement,
   otherwise the incorrect index of 0 is returned.
 - The drop table statement has an "x" appended to the table name, looks
   like a typo.
 
 Patch by Travis Paul
 
 Closes PR misc/50493
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.2 -r1.3 src/share/examples/lua/sqlite.lua
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index