Skip to content

Commit

Permalink
#33 prepare direct queries
Browse files Browse the repository at this point in the history
  • Loading branch information
artpaul committed Sep 13, 2017
1 parent 48d22d2 commit 526c4a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion driver/odbc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ SQLExecDirect(HSTMT statement_handle,
if (query.empty())
throw std::runtime_error("ExecDirect called with empty query.");

statement.setQuery(query);
statement.prepareQuery(query);
}

LOG(query);
Expand Down

0 comments on commit 526c4a4

Please sign in to comment.