You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2017/06/20 06:00:15 UTC

[13/50] ignite git commit: IGNITE-5525: Fix for ODBC example

IGNITE-5525: Fix for ODBC example

(cherry picked from commit 7cfad49)


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/afa08106
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/afa08106
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/afa08106

Branch: refs/heads/ignite-2.1.2-exchange
Commit: afa0810639e92db2ba229a6a829109e399e34637
Parents: 5376f22
Author: Igor Sapego <is...@gridgain.com>
Authored: Fri Jun 16 18:34:31 2017 +0300
Committer: Igor Sapego <is...@gridgain.com>
Committed: Fri Jun 16 18:37:44 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/afa08106/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;