Permalink
Browse files

Merge branch 'PHP-5.4'

* PHP-5.4:
  - Fixed bug #63214 (Large PDO Firebird Queries)
  • Loading branch information...
2 parents 2634f55 + 9a6bc88 commit 5cf6334e847c3a78f28453b55d3c25537b03a8ff @felipensp felipensp committed Oct 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 ext/pdo_firebird/firebird_driver.c
@@ -401,7 +401,7 @@ static int firebird_alloc_prepare_stmt(pdo_dbh_t *dbh, const char *sql, long sql
long l, pindex = -1;
/* 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");
return 0;
}

0 comments on commit 5cf6334

Please sign in to comment.