Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kkaefer committed Feb 16, 2011
1 parent 337bdb1 commit c09549d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 9 deletions.
4 changes: 0 additions & 4 deletions src/database.cc
Expand Up @@ -72,10 +72,6 @@ Handle<Value> Database::New(const Arguments& args) {
return args.This();
}

inline void Database::RunQueue(std::queue<Call*> queue) {

}

void Database::ProcessQueue(Database* db) {
while (!db->queue.empty()) {
Call* call = db->queue.front();
Expand Down
1 change: 0 additions & 1 deletion src/database.h
Expand Up @@ -67,7 +67,6 @@ class Database : public EventEmitter {
static Handle<Value> New(const Arguments& args);

static void ProcessQueue(Database* db);
inline static void RunQueue(std::queue<Call*> queue);

static Handle<Value> OpenSync(const Arguments& args);
static Handle<Value> Open(const Arguments& args);
Expand Down
1 change: 0 additions & 1 deletion src/sqlite3_bindings.cc
Expand Up @@ -26,7 +26,6 @@
extern "C" void init (v8::Handle<Object> target) {
Database::Init(target);
Statement::Init(target);
Demo::Init(target);

DEFINE_CONSTANT_INTEGER(target, SQLITE_OPEN_READONLY, OPEN_READONLY);
DEFINE_CONSTANT_INTEGER(target, SQLITE_OPEN_READWRITE, OPEN_READWRITE);
Expand Down
6 changes: 3 additions & 3 deletions test/blob.test.js
@@ -1,4 +1,4 @@
var sqlite = require('sqlite3'),
var sqlite3 = require('sqlite3'),
Step = require('step'),
fs = require('fs'),
assert = require('assert')
Expand All @@ -9,8 +9,8 @@ var elmo = fs.readFileSync(__dirname + '/support/elmo.png', 'binary');
var elmo_str = elmo.toString('binary');

exports['Blob overflow test'] = function(beforeExit) {
var db = new sqlite.Database('');
var total = 100;
var db = new sqlite3.Database('');
var total = 10;
var inserted = 0;
var retrieved = 0;

Expand Down

0 comments on commit c09549d

Please sign in to comment.