Skip to content

Commit b621263

Browse files
committed
1 parent 66477ca commit b621263

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pg/driver.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,11 @@ pg_resultget(struct lua_State *L, PGconn *conn, int *res_no, int status_ok, dec_
280280
lua_pushlightuserdata(L, pg_res);
281281
lua_pushlightuserdata(L, dopt);
282282
fail = lua_pcall(L, 2, 1, 0);
283-
if (!fail)
283+
if (!fail) {
284284
lua_settable(L, -3);
285+
break;
286+
}
287+
break;
285288
case PGRES_COMMAND_OK:
286289
res = 1;
287290
break;

0 commit comments

Comments
 (0)