浏览代码

* Merging revisions 42737 from trunk:
------------------------------------------------------------------------
r42737 | lacak | 2019-08-19 13:52:28 +0200 (Mon, 19 Aug 2019) | 1 line

fcl-db: sqldb: Upgrade TDS protocol version from 7.0 (MS SQL Server 2000) to newer 7.3 (MS SQL Server 2008) to support new data types DATE, TIME, DATETIME2 introduced in MS SQL Server 2008.
------------------------------------------------------------------------

git-svn-id: branches/fixes_3_2@43232 -

michael 6 年之前
父节点
当前提交
89448abde1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/fcl-db/src/sqldb/mssql/mssqlconn.pp

+ 1 - 1
packages/fcl-db/src/sqldb/mssql/mssqlconn.pp

@@ -410,7 +410,7 @@ end;
 
 procedure TMSSQLConnection.DoInternalConnect;
 const
-  DBVERSION: array[boolean] of BYTE = (DBVER60, DBVERSION_100);
+  DBVERSION: array[boolean] of BYTE = (DBVERSION_73, DBVERSION_100);
   IMPLICIT_TRANSACTIONS_OFF: array[boolean] of shortstring = ('SET IMPLICIT_TRANSACTIONS OFF', 'SET CHAINED OFF');
   ANSI_DEFAULTS_ON: array[boolean] of shortstring = ('SET ANSI_DEFAULTS ON', 'SET QUOTED_IDENTIFIER ON');
   CURSOR_CLOSE_ON_COMMIT_OFF: array[boolean] of shortstring = ('SET CURSOR_CLOSE_ON_COMMIT OFF', 'SET CLOSE ON ENDTRAN OFF');