Skip to content

Commit c270c8c

Browse files
committed
Code formatting improvements
1 parent 81a4ae5 commit c270c8c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/postgresql.mli

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,6 @@ object
583583
?expect : result_status list -> ?params : string array ->
584584
?binary_params : bool array -> ?binary_result : bool ->
585585
string -> result
586-
587586
(** [exec ?expect ?params ?binary_params ?binary_result query]
588587
synchronous execution of query or command [query]. The result
589588
status will be checked against all elements in [expect]. If
@@ -595,7 +594,7 @@ object
595594
as $1, $2, ... The value [null] can be used in the [params]
596595
array to denote an SQL NULL. It is possible to specify that some
597596
of the query parameters are passed as binary strings using the
598-
[binary_params] array. By default, results are returned in text
597+
[binary_params] array. By default, results are returned in text
599598
format, but will be returned in binary format if [binary_result]
600599
is true.
601600

src/postgresql_stubs.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,9 @@ CAMLprim value PQexecParams_stub(
642642
res =
643643
(nparams == 0 && !binary_result)
644644
? PQexec(conn, query)
645-
: PQexecParams(conn, query, nparams, NULL, params, lengths, formats, binary_result);
645+
: PQexecParams(
646+
conn, query, nparams, NULL,
647+
params, lengths, formats, binary_result);
646648
free_binary_params(formats, lengths);
647649
free_params(params, nparams);
648650
caml_stat_free(query);

0 commit comments

Comments
 (0)