Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

- Fixed bug #63214 (Large PDO Firebird Queries)

  • Loading branch information...
commit 9a6bc885652e0f9ecf2cea1d0c741cd91a1477c6 1 parent f8e26d9
@felipensp felipensp authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ext/pdo_firebird/firebird_driver.c
View
2  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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.