Skip to content

Commit 5ebdf1f

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 3b5c115 commit 5ebdf1f

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
@@ -282,7 +282,7 @@ static int pgsql_stmt_execute(pdo_stmt_t *stmt)
282282
S->param_formats,
283283
0);
284284
} else {
285-
S->result = PQexecPrepared(H->server, S->stmt_name,
285+
S->result = PQexecPrepared(H->server, S->stmt_name,
286286
stmt->bound_params ?
287287
zend_hash_num_elements(stmt->bound_params) :
288288
0,
@@ -302,7 +302,7 @@ static int pgsql_stmt_execute(pdo_stmt_t *stmt)
302302
S->param_formats,
303303
0);
304304
} else {
305-
S->result = PQexecParams(H->server, ZSTR_VAL(S->query),
305+
S->result = PQexecParams(H->server, ZSTR_VAL(S->query),
306306
stmt->bound_params ? zend_hash_num_elements(stmt->bound_params) : 0,
307307
S->param_types,
308308
(const char**)S->param_values,
@@ -315,7 +315,7 @@ static int pgsql_stmt_execute(pdo_stmt_t *stmt)
315315
if (S->is_unbuffered) {
316316
dispatch_result = PQsendQuery(H->server, ZSTR_VAL(stmt->active_query_string));
317317
} else {
318-
S->result = PQexec(H->server, ZSTR_VAL(stmt->active_query_string));
318+
S->result = PQexec(H->server, ZSTR_VAL(stmt->active_query_string));
319319
}
320320
}
321321

0 commit comments

Comments
 (0)