php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #62578
Patch new-datatypes-support revision 2014-11-06 10:39 UTC by nohez at cmie dot com

Patch new-datatypes-support for Sybase-ct (ctlib) related Bug #62578

Patch version 2014-11-06 10:39 UTC

Return to Bug #62578 | Download this patch
Patch Revisions:

Developer: nohez@cmie.com

--- php_sybase_ct.c    2013-09-18 11:18:57.000000000 +0530
+++ php_sybase_ct.c    2014-10-09 15:47:06.845586881 +0530
@@ -1366,6 +1366,15 @@
                 result->datafmt[i].maxlength = 24;
                 result->numerics[i] = 2;
                 break;
+            case CS_BIGINT_TYPE:
+            case CS_UBIGINT_TYPE:
+                result->datafmt[i].maxlength = 22;
+                result->numerics[i] = 1;
+                break;
+            case CS_DATE_TYPE:
+            case CS_TIME_TYPE:
+            case CS_BIGDATETIME_TYPE:
+            case CS_BIGTIME_TYPE:
             case CS_DATETIME_TYPE:
             case CS_DATETIME4_TYPE:
                 result->datafmt[i].maxlength = 30;
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 28 17:01:31 2024 UTC