Skip to content

Commit 9a6bc88

Browse files
committed
- Fixed bug #63214 (Large PDO Firebird Queries)
1 parent f8e26d9 commit 9a6bc88

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)