This website works better with JavaScript.
Home
Explore
Help
Sign In
brettlangdon
/
node-wgdb
mirror of
https://github.com/brettlangdon/node-wgdb.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
2
Wiki
Activity
Browse Source
fix a bug with findRecord and not providing lastRecord
master
Brett Langdon
13 years ago
parent
b350bc5feb
commit
006255ccb2
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/wgdb.cc
+ 1
- 1
src/wgdb.cc
View File
@ -738,7 +738,7 @@ Handle<Value> WgDB::FindRecord(const Arguments& args){
}
void
*
rec
=
NULL
;
if
(
argc
>
3
&
&
args
[
3
]
-
>
IsObject
(
)
)
{
if
(
argc
>
3
&
&
args
[
3
]
-
>
IsObject
(
)
&
&
!
args
[
3
]
-
>
IsFunction
(
)
)
{
Record
*
record
=
ObjectWrap
:
:
Unwrap
<
Record
>
(
args
[
3
]
-
>
ToObject
(
)
)
;
rec
=
record
-
>
rec_ptr
;
}
Write
Preview
Loading…
Cancel
Save