You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by ma...@apache.org on 2016/08/15 06:04:14 UTC

[2/2] kylin git commit: ODBC: to support cognos use mysql as DBMS name

ODBC: to support cognos use mysql as DBMS name


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

Branch: refs/heads/master
Commit: 5860c497e718a82a2162742320e8c566a5c0c266
Parents: 5483375
Author: Hongbin Ma <ma...@apache.org>
Authored: Mon Aug 15 13:50:55 2016 +0800
Committer: Hongbin Ma <ma...@apache.org>
Committed: Mon Aug 15 13:51:23 2016 +0800

----------------------------------------------------------------------
 odbc/Driver/KO_INFO.CPP | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/5860c497/odbc/Driver/KO_INFO.CPP
----------------------------------------------------------------------
diff --git a/odbc/Driver/KO_INFO.CPP b/odbc/Driver/KO_INFO.CPP
index 21c39e6..55641ea 100644
--- a/odbc/Driver/KO_INFO.CPP
+++ b/odbc/Driver/KO_INFO.CPP
@@ -392,7 +392,7 @@ RETCODE SQL_API SQLGetInfoW ( SQLHDBC pConn,
             break;
 
         case SQL_DBMS_NAME : // 17 called
-            _SQLCopyWCharData ( _DIAGCONN ( pConn ), pInfoValuePtr, pBufferLength, pStringLengthPtr, 16, "Gen ODBC Server", -1 );
+            _SQLCopyWCharData ( _DIAGCONN ( pConn ), pInfoValuePtr, pBufferLength, pStringLengthPtr, 16, "MySQL", -1 );
             break;
 
         case SQL_ODBC_SQL_CONFORMANCE : // 15
@@ -970,7 +970,7 @@ RETCODE SQL_API SQLGetInfo ( SQLHDBC pConn,
             break;
 
         case SQL_DBMS_NAME : // 17 called
-            _SQLCopyCharData ( _DIAGCONN ( pConn ), pInfoValuePtr, pBufferLength, pStringLengthPtr, 16, "Gen ODBC Server", -1 );
+            _SQLCopyCharData ( _DIAGCONN ( pConn ), pInfoValuePtr, pBufferLength, pStringLengthPtr, 16, "MySQL", -1 );
             break;
 
         case SQL_ODBC_SQL_CONFORMANCE : // 15