Diff for /embedaddon/php/ext/pdo_firebird/firebird_driver.c between versions 1.1.1.2 and 1.1.1.3

version 1.1.1.2, 2012/05/29 12:34:41 version 1.1.1.3, 2013/07/22 01:31:58
Line 2 Line 2
   +----------------------------------------------------------------------+    +----------------------------------------------------------------------+
   | PHP Version 5                                                        |    | PHP Version 5                                                        |
   +----------------------------------------------------------------------+    +----------------------------------------------------------------------+
  | Copyright (c) 1997-2012 The PHP Group                                |  | Copyright (c) 1997-2013 The PHP Group                                |
   +----------------------------------------------------------------------+    +----------------------------------------------------------------------+
   | This source file is subject to version 3.01 of the PHP license,      |    | This source file is subject to version 3.01 of the PHP license,      |
   | that is bundled with this package in the file LICENSE, and is        |    | that is bundled with this package in the file LICENSE, and is        |
Line 401  static int firebird_alloc_prepare_stmt(pdo_dbh_t *dbh, Line 401  static int firebird_alloc_prepare_stmt(pdo_dbh_t *dbh,
         long l, pindex = -1;          long l, pindex = -1;
                                   
         /* Firebird allows SQL statements up to 64k, so bail if it doesn't fit */          /* Firebird allows SQL statements up to 64k, so bail if it doesn't fit */
        if (sql_len > SHORT_MAX) {        if (sql_len > 65536) {
                 strcpy(dbh->error_code, "01004");                  strcpy(dbh->error_code, "01004");
                 return 0;                  return 0;
         }          }

Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>