diff options
author | Felipe Pena <felipensp@gmail.com> | 2012-10-12 19:42:43 -0300 |
---|---|---|
committer | Felipe Pena <felipensp@gmail.com> | 2012-10-12 19:42:43 -0300 |
commit | 9a6bc885652e0f9ecf2cea1d0c741cd91a1477c6 (patch) | |
tree | 03ff44849a597d0a3abf871bed8dc700ca8b745b | |
parent | f8e26d95f27779276a2dcf9d3aefb6b2b604ba63 (diff) | |
download | php-git-9a6bc885652e0f9ecf2cea1d0c741cd91a1477c6.tar.gz |
- Fixed bug #63214 (Large PDO Firebird Queries)
-rw-r--r-- | ext/pdo_firebird/firebird_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_firebird/firebird_driver.c b/ext/pdo_firebird/firebird_driver.c index e39555fb97..9b0f596959 100644 --- a/ext/pdo_firebird/firebird_driver.c +++ b/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; } |