From 04b1fa06752bdcbf38884cdc1ee72ad852b56757 Mon Sep 17 00:00:00 2001 From: Thomas Vang Johansen <8313369+sitzz@users.noreply.github.com> Date: Mon, 6 Jul 2026 14:58:00 +0200 Subject: [PATCH] fix:fixed attempt to assign bool to int - The ViewOptions.skip should be assigned an integer value, but it was being attempted assigned as a boolean value instead. --- src/wrapper/connection_handle.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wrapper/connection_handle.cxx b/src/wrapper/connection_handle.cxx index d380d84a..27dcf89b 100644 --- a/src/wrapper/connection_handle.cxx +++ b/src/wrapper/connection_handle.cxx @@ -2769,7 +2769,7 @@ connection_handle::view_query(zval* return_value, if (auto e = cb_assign_integer(request.limit, options, "limit"); e.ec) { return e; } - if (auto e = cb_assign_boolean(request.skip, options, "skip"); e.ec) { + if (auto e = cb_assign_integer(request.skip, options, "skip"); e.ec) { return e; } if (auto e = cb_assign_string(request.key, options, "key"); e.ec) {