You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by vo...@apache.org on 2016/02/10 15:21:49 UTC
[8/8] ignite git commit: IGNITE-2495: Review.
IGNITE-2495: Review.
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/cd439823
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/cd439823
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/cd439823
Branch: refs/heads/ignite-1786
Commit: cd439823f2e64fc143c70cff77c8b71f2bafcb38
Parents: 836c6a7
Author: vozerov-gridgain <vo...@gridgain.com>
Authored: Wed Feb 10 17:21:28 2016 +0300
Committer: vozerov-gridgain <vo...@gridgain.com>
Committed: Wed Feb 10 17:21:28 2016 +0300
----------------------------------------------------------------------
modules/platforms/cpp/odbc/include/ignite/odbc/cursor.h | 3 +--
modules/platforms/cpp/odbc/src/diagnostic/diagnosable_adapter.cpp | 1 +
modules/platforms/cpp/odbc/src/query/data_query.cpp | 3 +--
3 files changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/cd439823/modules/platforms/cpp/odbc/include/ignite/odbc/cursor.h
----------------------------------------------------------------------
diff --git a/modules/platforms/cpp/odbc/include/ignite/odbc/cursor.h b/modules/platforms/cpp/odbc/include/ignite/odbc/cursor.h
index fcff839..057d6b2 100644
--- a/modules/platforms/cpp/odbc/include/ignite/odbc/cursor.h
+++ b/modules/platforms/cpp/odbc/include/ignite/odbc/cursor.h
@@ -89,8 +89,7 @@ namespace ignite
/**
* Get current row.
*
- * @return Current row. Returns zero if cursor needs data update or
- * has no more data.
+ * @return Current row. Returns zero if cursor needs data update or has no more data.
*/
Row* GetRow();
http://git-wip-us.apache.org/repos/asf/ignite/blob/cd439823/modules/platforms/cpp/odbc/src/diagnostic/diagnosable_adapter.cpp
----------------------------------------------------------------------
diff --git a/modules/platforms/cpp/odbc/src/diagnostic/diagnosable_adapter.cpp b/modules/platforms/cpp/odbc/src/diagnostic/diagnosable_adapter.cpp
index 7f801ca..260e3e4 100644
--- a/modules/platforms/cpp/odbc/src/diagnostic/diagnosable_adapter.cpp
+++ b/modules/platforms/cpp/odbc/src/diagnostic/diagnosable_adapter.cpp
@@ -42,6 +42,7 @@ namespace ignite
void DiagnosableAdapter::AddStatusRecord(SqlState sqlState, const std::string& message)
{
LOG_MSG("Adding new record: %s\n", message.c_str());
+
AddStatusRecord(sqlState, message, 0, 0);
}
}
http://git-wip-us.apache.org/repos/asf/ignite/blob/cd439823/modules/platforms/cpp/odbc/src/query/data_query.cpp
----------------------------------------------------------------------
diff --git a/modules/platforms/cpp/odbc/src/query/data_query.cpp b/modules/platforms/cpp/odbc/src/query/data_query.cpp
index d2a5b5d..bf508b6 100644
--- a/modules/platforms/cpp/odbc/src/query/data_query.cpp
+++ b/modules/platforms/cpp/odbc/src/query/data_query.cpp
@@ -162,8 +162,7 @@ namespace ignite
int64_t DataQuery::AffectedRows() const
{
- // We are only support SELECT statements so we can not
- // affect any row.
+ // We are only support SELECT statements so we can not affect any row.
return 0;
}