mirror of
https://github.com/php/php-src.git
synced 2026-10-28 17:56:50 +08:00
[skip ci] Fix typos in ext/pdo_pgsql comments
Closes GH-24550
This commit is contained in:
1 parent
12ef787293
commit
f2a6e29267
1 file changed
+2
-2
@@ -269,9 +269,9 @@ static int pgsql_stmt_execute(pdo_stmt_t *stmt)
|
||||
|
||||
bool in_trans = stmt->dbh->methods->in_transaction(stmt->dbh);
|
||||
|
||||
/* in unbuffered mode, finish any running statement: libpq explicitely prohibits this
|
||||
/* in unbuffered mode, finish any running statement: libpq explicitly prohibits this
|
||||
* and returns a PGRES_FATAL_ERROR when PQgetResult gets called for stmt 2 if DEALLOCATE
|
||||
* was called for stmt 1 inbetween
|
||||
* was called for stmt 1 in between
|
||||
* (maybe it will change with pipeline mode in libpq 14?) */
|
||||
if (S->is_unbuffered && H->running_stmt) {
|
||||
pgsql_stmt_finish(H->running_stmt, FIN_CLOSE);
|
||||
|
||||
Reference in new issue
Block a user