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
124dd034
Commit
124dd034
authored
Jan 07, 2014
by
Dane Springmeyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
integrate minor C++ fixes from @mscdex - refs #223
parent
bbb5de16
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
database.h
src/database.h
+2
-1
statement.cc
src/statement.cc
+1
-1
statement.h
src/statement.h
+1
-1
No files found.
src/database.h
View file @
124dd034
...
@@ -105,7 +105,8 @@ protected:
...
@@ -105,7 +105,8 @@ protected:
pending
(
0
),
pending
(
0
),
serialize
(
false
),
serialize
(
false
),
debug_trace
(
NULL
),
debug_trace
(
NULL
),
debug_profile
(
NULL
)
{
debug_profile
(
NULL
),
update_event
(
NULL
)
{
}
}
...
...
src/statement.cc
View file @
124dd034
...
@@ -247,7 +247,7 @@ template <class T> T* Statement::Bind(const Arguments& args, int start, int last
...
@@ -247,7 +247,7 @@ template <class T> T* Statement::Bind(const Arguments& args, int start, int last
return
baton
;
return
baton
;
}
}
bool
Statement
::
Bind
(
const
Parameters
parameters
)
{
bool
Statement
::
Bind
(
const
Parameters
&
parameters
)
{
if
(
parameters
.
size
()
==
0
)
{
if
(
parameters
.
size
()
==
0
)
{
return
true
;
return
true
;
}
}
...
...
src/statement.h
View file @
124dd034
...
@@ -217,7 +217,7 @@ protected:
...
@@ -217,7 +217,7 @@ protected:
template
<
class
T
>
inline
Values
::
Field
*
BindParameter
(
const
Handle
<
Value
>
source
,
T
pos
);
template
<
class
T
>
inline
Values
::
Field
*
BindParameter
(
const
Handle
<
Value
>
source
,
T
pos
);
template
<
class
T
>
T
*
Bind
(
const
Arguments
&
args
,
int
start
=
0
,
int
end
=
-
1
);
template
<
class
T
>
T
*
Bind
(
const
Arguments
&
args
,
int
start
=
0
,
int
end
=
-
1
);
bool
Bind
(
const
Parameters
parameters
);
bool
Bind
(
const
Parameters
&
parameters
);
static
void
GetRow
(
Row
*
row
,
sqlite3_stmt
*
stmt
);
static
void
GetRow
(
Row
*
row
,
sqlite3_stmt
*
stmt
);
static
Local
<
Object
>
RowToJS
(
Row
*
row
);
static
Local
<
Object
>
RowToJS
(
Row
*
row
);
...
...
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