Merge branch 'dev' of https://github.com/Microsoft/msphpsql into dev
This commit is contained in:
commit
313913adf9
|
@ -4,7 +4,7 @@ dnl
|
||||||
dnl Contents: the code that will go into the configure script, indicating options,
|
dnl Contents: the code that will go into the configure script, indicating options,
|
||||||
dnl external libraries and includes, and what source files are to be compiled.
|
dnl external libraries and includes, and what source files are to be compiled.
|
||||||
dnl
|
dnl
|
||||||
dnl Microsoft Drivers 5.4 for PHP for SQL Server
|
dnl Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
dnl Copyright(c) Microsoft Corporation
|
dnl Copyright(c) Microsoft Corporation
|
||||||
dnl All rights reserved.
|
dnl All rights reserved.
|
||||||
dnl MIT License
|
dnl MIT License
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
//
|
//
|
||||||
// Contents: JScript build configuration used by buildconf.bat
|
// Contents: JScript build configuration used by buildconf.bat
|
||||||
//
|
//
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
//
|
//
|
||||||
// Contents: Implements the PDO object for PDO_SQLSRV
|
// Contents: Implements the PDO object for PDO_SQLSRV
|
||||||
//
|
//
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
//
|
//
|
||||||
// Contents: initialization routines for PDO_SQLSRV
|
// Contents: initialization routines for PDO_SQLSRV
|
||||||
//
|
//
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
//
|
//
|
||||||
// Copyright Microsoft Corporation
|
// Copyright Microsoft Corporation
|
||||||
//
|
//
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
//
|
//
|
||||||
// Contents: Implements the PDOStatement object for the PDO_SQLSRV
|
// Contents: Implements the PDOStatement object for the PDO_SQLSRV
|
||||||
//
|
//
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
//
|
//
|
||||||
// Contents: Utility functions used by both connection or statement functions
|
// Contents: Utility functions used by both connection or statement functions
|
||||||
//
|
//
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
//
|
//
|
||||||
// Contents: Declarations for the extension
|
// Contents: Declarations for the extension
|
||||||
//
|
//
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
//
|
//
|
||||||
// Contents: Version resource
|
// Contents: Version resource
|
||||||
//
|
//
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
// Contents: Contains functions for handling Windows format strings
|
// Contents: Contains functions for handling Windows format strings
|
||||||
// and UTF-16 on non-Windows platforms
|
// and UTF-16 on non-Windows platforms
|
||||||
//
|
//
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// Contents: Contains functions for handling Windows format strings
|
// Contents: Contains functions for handling Windows format strings
|
||||||
// and UTF-16 on non-Windows platforms
|
// and UTF-16 on non-Windows platforms
|
||||||
//
|
//
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
//
|
//
|
||||||
// Contents: Contains functions for handling UTF-16 on non-Windows platforms
|
// Contents: Contains functions for handling UTF-16 on non-Windows platforms
|
||||||
//
|
//
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
//
|
//
|
||||||
// Contents: Contains functions for handling UTF-16 on non-Windows platforms
|
// Contents: Contains functions for handling UTF-16 on non-Windows platforms
|
||||||
//
|
//
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
//
|
//
|
||||||
// Contents: Core routines that use connection handles shared between sqlsrv and pdo_sqlsrv
|
// Contents: Core routines that use connection handles shared between sqlsrv and pdo_sqlsrv
|
||||||
//
|
//
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
//
|
//
|
||||||
// Contents: common initialization routines shared by PDO and sqlsrv
|
// Contents: common initialization routines shared by PDO and sqlsrv
|
||||||
//
|
//
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
//
|
//
|
||||||
// Contents: Result sets
|
// Contents: Result sets
|
||||||
//
|
//
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
//
|
//
|
||||||
// Contents: Core routines and constants shared by the Microsoft Drivers for PHP for SQL Server
|
// Contents: Core routines and constants shared by the Microsoft Drivers for PHP for SQL Server
|
||||||
//
|
//
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
//
|
//
|
||||||
// Contents: Core routines that use statement handles shared between sqlsrv and pdo_sqlsrv
|
// Contents: Core routines that use statement handles shared between sqlsrv and pdo_sqlsrv
|
||||||
//
|
//
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
//
|
//
|
||||||
// Contents: Implementation of PHP streams for reading SQL Server data
|
// Contents: Implementation of PHP streams for reading SQL Server data
|
||||||
//
|
//
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
//
|
//
|
||||||
// Comments: Mostly error handling and some type handling
|
// Comments: Mostly error handling and some type handling
|
||||||
//
|
//
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// Contents: Contains functions for handling Windows format strings
|
// Contents: Contains functions for handling Windows format strings
|
||||||
// and UTF-16 on non-Windows platforms
|
// and UTF-16 on non-Windows platforms
|
||||||
//
|
//
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// Contents: Contains a portable abstraction for interlocked, atomic
|
// Contents: Contains a portable abstraction for interlocked, atomic
|
||||||
// operations on int32_t and pointer types.
|
// operations on int32_t and pointer types.
|
||||||
//
|
//
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// Contents: Contains a portable abstraction for interlocked, atomic
|
// Contents: Contains a portable abstraction for interlocked, atomic
|
||||||
// operations on int32_t and pointer types.
|
// operations on int32_t and pointer types.
|
||||||
//
|
//
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// Contents: Contains a portable abstraction for interlocked, singly
|
// Contents: Contains a portable abstraction for interlocked, singly
|
||||||
// linked list.
|
// linked list.
|
||||||
//
|
//
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
//
|
//
|
||||||
// Contents: Contains portable classes for localization
|
// Contents: Contains portable classes for localization
|
||||||
//
|
//
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
// Must be included in one c/cpp file per binary
|
// Must be included in one c/cpp file per binary
|
||||||
// A build error will occur if this inclusion policy is not followed
|
// A build error will occur if this inclusion policy is not followed
|
||||||
//
|
//
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
// pecuniary loss) arising out of the use of or inability to use
|
// pecuniary loss) arising out of the use of or inability to use
|
||||||
// this SDK, even if Microsoft has been advised of the possibility
|
// this SDK, even if Microsoft has been advised of the possibility
|
||||||
// of such damages.
|
// of such damages.
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
//
|
//
|
||||||
// Contents: Contains the minimal definitions to build on non-Windows platforms
|
// Contents: Contains the minimal definitions to build on non-Windows platforms
|
||||||
//
|
//
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------------------
|
||||||
// File: typedefs_for_linux.h
|
// File: typedefs_for_linux.h
|
||||||
//
|
//
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// File: version.h
|
// File: version.h
|
||||||
// Contents: Version number constants
|
// Contents: Version number constants
|
||||||
//
|
//
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
// Increase Minor with backward compatible new functionalities and API changes.
|
// Increase Minor with backward compatible new functionalities and API changes.
|
||||||
// Increase Patch for backward compatible fixes.
|
// Increase Patch for backward compatible fixes.
|
||||||
#define SQLVERSION_MAJOR 5
|
#define SQLVERSION_MAJOR 5
|
||||||
#define SQLVERSION_MINOR 4
|
#define SQLVERSION_MINOR 5
|
||||||
#define SQLVERSION_PATCH 0
|
#define SQLVERSION_PATCH 0
|
||||||
#define SQLVERSION_BUILD 0
|
#define SQLVERSION_BUILD 0
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
//
|
//
|
||||||
// Contents: include for definition of Windows types for non-Windows platforms
|
// Contents: include for definition of Windows types for non-Windows platforms
|
||||||
//
|
//
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// Contents: This module defines helper functions to prevent
|
// Contents: This module defines helper functions to prevent
|
||||||
// integer overflow bugs.
|
// integer overflow bugs.
|
||||||
//
|
//
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
//
|
//
|
||||||
// Contents: Contains the minimal definitions to build on non-Windows platforms
|
// Contents: Contains the minimal definitions to build on non-Windows platforms
|
||||||
//
|
//
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
//
|
//
|
||||||
// Contents: Contains the minimal definitions to build on non-Windows platforms
|
// Contents: Contains the minimal definitions to build on non-Windows platforms
|
||||||
//
|
//
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
|
|
@ -4,7 +4,7 @@ dnl
|
||||||
dnl Contents: the code that will go into the configure script, indicating options,
|
dnl Contents: the code that will go into the configure script, indicating options,
|
||||||
dnl external libraries and includes, and what source files are to be compiled.
|
dnl external libraries and includes, and what source files are to be compiled.
|
||||||
dnl
|
dnl
|
||||||
dnl Microsoft Drivers 5.4 for PHP for SQL Server
|
dnl Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
dnl Copyright(c) Microsoft Corporation
|
dnl Copyright(c) Microsoft Corporation
|
||||||
dnl All rights reserved.
|
dnl All rights reserved.
|
||||||
dnl MIT License
|
dnl MIT License
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
//
|
//
|
||||||
// Contents: JScript build configuration used by buildconf.bat
|
// Contents: JScript build configuration used by buildconf.bat
|
||||||
//
|
//
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
//
|
//
|
||||||
// Contents: Routines that use connection handles
|
// Contents: Routines that use connection handles
|
||||||
//
|
//
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// File: init.cpp
|
// File: init.cpp
|
||||||
// Contents: initialization routines for the extension
|
// Contents: initialization routines for the extension
|
||||||
//
|
//
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
//
|
//
|
||||||
// Comments: Also contains "internal" declarations shared across source files.
|
// Comments: Also contains "internal" declarations shared across source files.
|
||||||
//
|
//
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
//
|
//
|
||||||
// Contents: Routines that use statement handles
|
// Contents: Routines that use statement handles
|
||||||
//
|
//
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
//
|
//
|
||||||
// Contents: Version resource
|
// Contents: Version resource
|
||||||
//
|
//
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
//
|
//
|
||||||
// Comments: Mostly error handling and some type handling
|
// Comments: Mostly error handling and some type handling
|
||||||
//
|
//
|
||||||
// Microsoft Drivers 5.4 for PHP for SQL Server
|
// Microsoft Drivers 5.5 for PHP for SQL Server
|
||||||
// Copyright(c) Microsoft Corporation
|
// Copyright(c) Microsoft Corporation
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
// MIT License
|
// MIT License
|
||||||
|
|
|
@ -152,18 +152,20 @@ function getOutputParam($conn, $storedProcName, $inputValue, $prec, $scale, $ino
|
||||||
$stmt->bindParam(1, $outString, $paramType, $len);
|
$stmt->bindParam(1, $outString, $paramType, $len);
|
||||||
$stmt->execute();
|
$stmt->execute();
|
||||||
|
|
||||||
// The output param value should be the same as the input value,
|
// The output param value should be unaffected by the attr
|
||||||
// unaffected by the statement attr PDO::SQLSRV_ATTR_DECIMAL_PLACES.
|
// PDO::SQLSRV_ATTR_DECIMAL_PLACES. Without ColumnEncryption, the
|
||||||
|
// output param is treated as a regular string (not a decimal), so
|
||||||
|
// no missing leading zeroes.
|
||||||
// If ColumnEncryption is enabled, in which case the driver is able
|
// If ColumnEncryption is enabled, in which case the driver is able
|
||||||
// to derive the decimal type, leading zero will be added if missing
|
// to derive the decimal type, leading zero will be added if missing.
|
||||||
if (isAEConnected()) {
|
if (isAEConnected()) {
|
||||||
trace("\ngetOutputParam ($inout) with AE:\n");
|
trace("\ngetOutputParam ($inout) with AE:\n");
|
||||||
$column = 'outputParamAE';
|
$column = 'outputParamAE';
|
||||||
compareNumbers($outString, $inputValue, $column, $scale, true);
|
compareNumbers($outString, $inputValue, $column, $scale);
|
||||||
} else {
|
} else {
|
||||||
trace("\ngetOutputParam ($inout) without AE:\n");
|
trace("\ngetOutputParam ($inout) without AE:\n");
|
||||||
$column = 'outputParam';
|
$column = 'outputParam';
|
||||||
compareNumbers($outString, $inputValue, $column, $scale, false);
|
compareNumbers($outString, $inputValue, $column, $scale);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue