Skip to content

Commit

Permalink
Merge branch 'ob-10.1' into 10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Buggynours committed Mar 27, 2018
2 parents a0f47c3 + 494fb25 commit 3bd6e68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/connect/tabjdbc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ bool TDBJDBC::OpenDB(PGLOBAL g)

if (Memory < 3) {
// Method will depend on cursor type
if ((Rbuf = Jcp->Rewind(Query->GetStr())) < 0)
if ((Rbuf = Query ? Jcp->Rewind(Query->GetStr()) : 0) < 0)
if (Mode != MODE_READX) {
Jcp->Close();
return true;
Expand Down

0 comments on commit 3bd6e68

Please sign in to comment.