Skip to content

Commit b011c0e

Browse files
committed
pdo_pgsql: unbuffered fetching: formatting
reindent (the previous commits tried to get the minimal diff by _not_ reindenting preserved code that got if(){}'ed)
1 parent 5bdb515 commit b011c0e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ext/pdo_pgsql/pgsql_statement.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ static int pgsql_stmt_execute(pdo_stmt_t *stmt)
273273
S->param_formats,
274274
0);
275275
} else {
276-
S->result = PQexecPrepared(H->server, S->stmt_name,
276+
S->result = PQexecPrepared(H->server, S->stmt_name,
277277
stmt->bound_params ?
278278
zend_hash_num_elements(stmt->bound_params) :
279279
0,
@@ -293,7 +293,7 @@ static int pgsql_stmt_execute(pdo_stmt_t *stmt)
293293
S->param_formats,
294294
0);
295295
} else {
296-
S->result = PQexecParams(H->server, ZSTR_VAL(S->query),
296+
S->result = PQexecParams(H->server, ZSTR_VAL(S->query),
297297
stmt->bound_params ? zend_hash_num_elements(stmt->bound_params) : 0,
298298
S->param_types,
299299
(const char**)S->param_values,
@@ -306,7 +306,7 @@ static int pgsql_stmt_execute(pdo_stmt_t *stmt)
306306
if (S->is_unbuffered) {
307307
dispatch_result = PQsendQuery(H->server, ZSTR_VAL(stmt->active_query_string));
308308
} else {
309-
S->result = PQexec(H->server, ZSTR_VAL(stmt->active_query_string));
309+
S->result = PQexec(H->server, ZSTR_VAL(stmt->active_query_string));
310310
}
311311
}
312312

0 commit comments

Comments
 (0)