Skip to content

Commit db72749

Browse files
committed
unify indentation and rework database opening, closing and garbage collection
1 parent 493050a commit db72749

7 files changed

Lines changed: 616 additions & 434 deletions

File tree

lib/sqlite3.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
var sqlite3 = module.exports = exports = require('./sqlite3_bindings');
1717
var sys = require("sys");
1818

19+
20+
21+
/*
1922
sqlite3.Database.prototype.query = function(sql, bindings, rowCallback) {
2023
var self = this;
2124
@@ -68,7 +71,7 @@ function _doStep(db, statement, rowCallback) {
6871
6972
// Execute a single SQL query with the given optional parameters. Calls
7073
// `callback` with all rows or an error on query completion.
71-
sqlite3.Database.prototype.execute = function (sql /* , bindings, callback */) {
74+
sqlite3.Database.prototype.execute = function (sql /* , bindings, callback ) {
7275
var self = this;
7376
var bindings, callback;
7477
var n = arguments.length;
@@ -248,3 +251,4 @@ sqlite3.sanitizeError = function(err, data) {
248251
'" with values ' + JSON.stringify(data, false, 4);
249252
return err;
250253
};
254+
*/

0 commit comments

Comments
 (0)