Repository: ignite Updated Branches: refs/heads/master ce1de0ef7 -> 7d3c5d05c
IGNITE-5525: Fix for ODBC example Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/7d3c5d05 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/7d3c5d05 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/7d3c5d05 Branch: refs/heads/master Commit: 7d3c5d05cd15b82f8c666d6ce43e58bb79d26cc0 Parents: ce1de0e Author: Igor Sapego <[email protected]> Authored: Fri Jun 16 18:43:34 2017 +0300 Committer: Igor Sapego <[email protected]> Committed: Fri Jun 16 18:43:34 2017 +0300 ---------------------------------------------------------------------- modules/platforms/cpp/examples/odbc-example/src/odbc_example.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/7d3c5d05/modules/platforms/cpp/examples/odbc-example/src/odbc_example.cpp ---------------------------------------------------------------------- diff --git a/modules/platforms/cpp/examples/odbc-example/src/odbc_example.cpp b/modules/platforms/cpp/examples/odbc-example/src/odbc_example.cpp index 38e7426..11ba56f 100644 --- a/modules/platforms/cpp/examples/odbc-example/src/odbc_example.cpp +++ b/modules/platforms/cpp/examples/odbc-example/src/odbc_example.cpp @@ -580,7 +580,7 @@ int main() SQLAllocHandle(SQL_HANDLE_DBC, env, &dbc); // Combining connect string - std::string connectStr = "DRIVER={Apache Ignite};SERVER=localhost;PORT=10800;CACHE=Person;"; + std::string connectStr = "DRIVER={Apache Ignite};SERVER=localhost;PORT=10800;SCHEMA=Person;"; SQLCHAR outstr[ODBC_BUFFER_SIZE]; SQLSMALLINT outstrlen;
