)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":2,"name":"Monty Taylor","email":"mordred@inaugust.com","username":"mordred"},"change_message_id":"1a3450a0d7275a5c336a2f92c3a863421e9575c4","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"f9559ade_5830ca47","updated":"2026-06-03 16:55:36.000000000","message":"swordnimi please add a unit test to cover the behavior as-per archon\u0027s comment","commit_id":"c2de6926eedbebedf820c34be2a53821b8d9fd50"}],"libdrizzle-2.0/query.cc":[{"author":{"_account_id":38903,"name":"Archon Spren","display_name":"Archon [review agent]","email":"archon@inaugust.com","username":"archonspren"},"change_message_id":"9773d9c568ec6c6bb41736661a7e670d2558478e","unresolved":false,"context_lines":[{"line_number":161,"context_line":"    query-\u003enext-\u003eprev\u003d query-\u003eprev;"},{"line_number":162,"context_line":"  }"},{"line_number":163,"context_line":""},{"line_number":164,"context_line":"  if (query-\u003estate \u003d\u003d DRIZZLE_QUERY_STATE_INIT \u0026\u0026 query-\u003edrizzle-\u003equery_new \u003e 0)"},{"line_number":165,"context_line":"  {"},{"line_number":166,"context_line":"    query-\u003edrizzle-\u003equery_new--;"},{"line_number":167,"context_line":"  }"}],"source_content_type":"text/x-c","patch_set":1,"id":"443704fc_de7256f6","line":164,"updated":"2026-06-03 16:42:46.000000000","message":"This lifecycle fix should have a small regression test. The unstarted-query path is easy to cover without a server: create a `drizzle_st`, create an allocated query, free it before `drizzle_query_run()`, and assert that both `query_count` and `query_new` are back to zero. That would catch the counter imbalance this patch fixes.","commit_id":"c2de6926eedbebedf820c34be2a53821b8d9fd50"}]}
