We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b52cbec + efdf3eb commit 253c93dCopy full SHA for 253c93d
lib/postgresql_stubs.c
@@ -315,7 +315,7 @@ CAMLprim value PQconndefaults_stub(value __unused v_unit)
315
for (j = 0; j < 7; j++) Field(v_el, j) = v_None;
316
Store_field(v_res, i, v_el);
317
v_field = caml_copy_string(p->keyword);
318
- Field(v_el, 0) = v_field;
+ Store_field(v_el, 0, v_field);
319
if (p->envvar) {
320
v_field = make_some(caml_copy_string(p->envvar));
321
caml_modify(&Field(v_el, 1), v_field);
0 commit comments