Browse Source

xhttp_pi: fix query operation for db w/o fetch support (like db_text)

Ovidiu Sas 12 năm trước cách đây
mục cha
commit
ec617a2735
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      modules/xhttp_pi/xhttp_pi_fnc.c

+ 1 - 1
modules/xhttp_pi/xhttp_pi_fnc.c

@@ -2707,7 +2707,7 @@ int ph_run_pi_cmd(pi_ctx_t* ctx)
 				command->q_keys,
 				command->c_keys_size,
 				command->q_keys_size,
-				command->o_keys?*command->o_keys:0, 0) < 0){
+				command->o_keys?*command->o_keys:0, &res) < 0){
 				XHTTP_PI_COMPLETE_REPLY(ctx,
 					"Error while querying database.");
 				goto done;