Skip to content

Commit

Permalink
Merge pull request #4 from immuta/fix-inf-loop
Browse files Browse the repository at this point in the history
Fix infinite loop with KDB
  • Loading branch information
KyleLilly authored Feb 13, 2019
2 parents 744f94b + 094e86e commit 986f737
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/odbc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,9 @@ Handle<Value> ODBC::GetColumnValue( SQLHSTMT hStmt, Column column,
if (len == 0) {
break;
}
if (len < bufferLength) {
break;
}

count += 1;
}
Expand Down

0 comments on commit 986f737

Please sign in to comment.