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
d74f2e23
Commit
d74f2e23
authored
Mar 26, 2011
by
Carter Thaxton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing compiler issue due to nested classes not having friend status
parent
5bc0ac79
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
+4
-1
database.h
src/database.h
+3
-0
statement.h
src/statement.h
+1
-1
No files found.
src/database.h
View file @
d74f2e23
...
@@ -89,6 +89,9 @@ public:
...
@@ -89,6 +89,9 @@ public:
std
::
string
tablename
;
std
::
string
tablename
;
sqlite3_int64
rowid
;
sqlite3_int64
rowid
;
};
};
bool
IsOpen
()
{
return
open
;
}
bool
IsLocked
()
{
return
locked
;
}
typedef
Async
<
std
::
string
,
Database
>
AsyncTrace
;
typedef
Async
<
std
::
string
,
Database
>
AsyncTrace
;
typedef
Async
<
ProfileInfo
,
Database
>
AsyncProfile
;
typedef
Async
<
ProfileInfo
,
Database
>
AsyncProfile
;
...
...
src/statement.h
View file @
d74f2e23
...
@@ -134,7 +134,7 @@ public:
...
@@ -134,7 +134,7 @@ public:
}
}
virtual
~
PrepareBaton
()
{
virtual
~
PrepareBaton
()
{
stmt
->
Unref
();
stmt
->
Unref
();
if
(
!
db
->
open
&&
db
->
locked
)
{
if
(
!
db
->
IsOpen
()
&&
db
->
IsLocked
()
)
{
// The database handle was closed before the statement could be
// The database handle was closed before the statement could be
// prepared.
// prepared.
stmt
->
Finalize
();
stmt
->
Finalize
();
...
...
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