Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
node-sqlite3
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
俞永鹏
node-sqlite3
Commits
c09549d0
Commit
c09549d0
authored
Feb 16, 2011
by
Konstantin Käfer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup
parent
337bdb10
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
9 deletions
+3
-9
database.cc
src/database.cc
+0
-4
database.h
src/database.h
+0
-1
sqlite3_bindings.cc
src/sqlite3_bindings.cc
+0
-1
blob.test.js
test/blob.test.js
+3
-3
No files found.
src/database.cc
View file @
c09549d0
...
...
@@ -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
();
...
...
src/database.h
View file @
c09549d0
...
...
@@ -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
);
...
...
src/sqlite3_bindings.cc
View file @
c09549d0
...
...
@@ -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
);
...
...
test/blob.test.js
View file @
c09549d0
var
sqlite
=
require
(
'sqlite3'
),
var
sqlite
3
=
require
(
'sqlite3'
),
Step
=
require
(
'step'
),
fs
=
require
(
'fs'
),
assert
=
require
(
'assert'
)
...
...
@@ -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
=
10
0
;
var
db
=
new
sqlite
3
.
Database
(
''
);
var
total
=
10
;
var
inserted
=
0
;
var
retrieved
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment