Skip to content

Commit 5cf6334

Browse files
committed
Merge branch 'PHP-5.4'
* PHP-5.4: - Fixed bug #63214 (Large PDO Firebird Queries)
2 parents 2634f55 + 9a6bc88 commit 5cf6334

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/pdo_firebird/firebird_driver.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ static int firebird_alloc_prepare_stmt(pdo_dbh_t *dbh, const char *sql, long sql
401401
long l, pindex = -1;
402402

403403
/* Firebird allows SQL statements up to 64k, so bail if it doesn't fit */
404-
if (sql_len > SHORT_MAX) {
404+
if (sql_len > 65536) {
405405
strcpy(dbh->error_code, "01004");
406406
return 0;
407407
}

0 commit comments

Comments
 (0)