hotime/.cursor/debug.log
hoteas c2955d2500 feat(db): 实现数据库查询中的数组参数展开和空数组处理
- 在 Get 方法中添加无参数时的默认字段和 LIMIT 1 处理
- 实现 expandArrayPlaceholder 方法,自动展开 IN (?) 和 NOT IN (?) 中的数组参数
- 为空数组的 IN 条件生成 1=0 永假条件,NOT IN 生成 1=1 永真条件
- 在 queryWithRetry 和 execWithRetry 中集成数组占位符预处理
- 修复 where.go 中空切片条件的处理逻辑
- 添加完整的 IN/NOT IN 数组查询测试用例
- 更新 .gitignore 规则格式
2026-01-22 07:16:42 +08:00

182 lines
48 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{"data":null,"hypothesisId":"START","location":"main.go:35","message":"开始 HoTimeDB 全功能测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135400}
{"data":{"argsLen":1,"query":"SELECT TABLE_NAME as name,TABLE_COMMENT as label FROM INFORMATION_SCHEMA.TABLES WHERE `TABLE_SCHEMA` =? ;"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135412}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135412}
{"data":null,"hypothesisId":"EXPAND_NO_ARRAY","location":"query.go:expandArrayPlaceholder:noArray","message":"无数组参数,直接返回","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135412}
{"data":{"argsLen":2,"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135432}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135432}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135433}
{"data":null,"hypothesisId":"EXPAND_NO_ARRAY","location":"query.go:expandArrayPlaceholder:noArray","message":"无数组参数,直接返回","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135433}
{"data":{"argsLen":2,"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135437}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135437}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135437}
{"data":null,"hypothesisId":"EXPAND_NO_ARRAY","location":"query.go:expandArrayPlaceholder:noArray","message":"无数组参数,直接返回","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135438}
{"data":{"argsLen":2,"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135442}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135443}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135443}
{"data":null,"hypothesisId":"EXPAND_NO_ARRAY","location":"query.go:expandArrayPlaceholder:noArray","message":"无数组参数,直接返回","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135444}
{"data":{"argsLen":2,"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135447}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135447}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135447}
{"data":null,"hypothesisId":"EXPAND_NO_ARRAY","location":"query.go:expandArrayPlaceholder:noArray","message":"无数组参数,直接返回","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135448}
{"data":{"argsLen":2,"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135451}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135451}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135451}
{"data":null,"hypothesisId":"EXPAND_NO_ARRAY","location":"query.go:expandArrayPlaceholder:noArray","message":"无数组参数,直接返回","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135451}
{"data":{"argsLen":2,"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135455}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135456}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135456}
{"data":null,"hypothesisId":"EXPAND_NO_ARRAY","location":"query.go:expandArrayPlaceholder:noArray","message":"无数组参数,直接返回","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135457}
{"data":{"argsLen":2,"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135460}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135460}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135460}
{"data":null,"hypothesisId":"EXPAND_NO_ARRAY","location":"query.go:expandArrayPlaceholder:noArray","message":"无数组参数,直接返回","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135461}
{"data":{"argsLen":2,"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135464}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135465}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135465}
{"data":null,"hypothesisId":"EXPAND_NO_ARRAY","location":"query.go:expandArrayPlaceholder:noArray","message":"无数组参数,直接返回","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135465}
{"data":{"argsLen":2,"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135468}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135468}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135468}
{"data":null,"hypothesisId":"EXPAND_NO_ARRAY","location":"query.go:expandArrayPlaceholder:noArray","message":"无数组参数,直接返回","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135469}
{"data":{"argsLen":2,"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135473}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135473}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135473}
{"data":null,"hypothesisId":"EXPAND_NO_ARRAY","location":"query.go:expandArrayPlaceholder:noArray","message":"无数组参数,直接返回","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135473}
{"data":{"argsLen":2,"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135477}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135477}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135478}
{"data":null,"hypothesisId":"EXPAND_NO_ARRAY","location":"query.go:expandArrayPlaceholder:noArray","message":"无数组参数,直接返回","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135478}
{"data":{"argsLen":2,"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135482}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135482}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135482}
{"data":null,"hypothesisId":"EXPAND_NO_ARRAY","location":"query.go:expandArrayPlaceholder:noArray","message":"无数组参数,直接返回","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135482}
{"data":{"argsLen":2,"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135485}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135485}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135486}
{"data":null,"hypothesisId":"EXPAND_NO_ARRAY","location":"query.go:expandArrayPlaceholder:noArray","message":"无数组参数,直接返回","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135486}
{"data":{"argsLen":2,"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135491}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135492}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135492}
{"data":null,"hypothesisId":"EXPAND_NO_ARRAY","location":"query.go:expandArrayPlaceholder:noArray","message":"无数组参数,直接返回","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135492}
{"data":{"argsLen":2,"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135495}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135495}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135495}
{"data":null,"hypothesisId":"EXPAND_NO_ARRAY","location":"query.go:expandArrayPlaceholder:noArray","message":"无数组参数,直接返回","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135495}
{"data":{"argsLen":2,"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135499}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135499}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135499}
{"data":null,"hypothesisId":"EXPAND_NO_ARRAY","location":"query.go:expandArrayPlaceholder:noArray","message":"无数组参数,直接返回","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135500}
{"data":{"argsLen":2,"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135502}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135502}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135503}
{"data":null,"hypothesisId":"EXPAND_NO_ARRAY","location":"query.go:expandArrayPlaceholder:noArray","message":"无数组参数,直接返回","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135503}
{"data":{"argsLen":2,"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135506}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135506}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135506}
{"data":null,"hypothesisId":"EXPAND_NO_ARRAY","location":"query.go:expandArrayPlaceholder:noArray","message":"无数组参数,直接返回","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135506}
{"data":{"argsLen":2,"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135510}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135510}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135510}
{"data":null,"hypothesisId":"EXPAND_NO_ARRAY","location":"query.go:expandArrayPlaceholder:noArray","message":"无数组参数,直接返回","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135511}
{"data":{"argsLen":2,"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135514}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135514}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135514}
{"data":null,"hypothesisId":"EXPAND_NO_ARRAY","location":"query.go:expandArrayPlaceholder:noArray","message":"无数组参数,直接返回","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135514}
{"data":{"argsLen":2,"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135518}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135519}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135519}
{"data":null,"hypothesisId":"EXPAND_NO_ARRAY","location":"query.go:expandArrayPlaceholder:noArray","message":"无数组参数,直接返回","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135520}
{"data":{"argsLen":2,"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135522}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135522}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135522}
{"data":null,"hypothesisId":"EXPAND_NO_ARRAY","location":"query.go:expandArrayPlaceholder:noArray","message":"无数组参数,直接返回","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135524}
{"data":{"argsLen":2,"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135533}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135533}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135534}
{"data":null,"hypothesisId":"EXPAND_NO_ARRAY","location":"query.go:expandArrayPlaceholder:noArray","message":"无数组参数,直接返回","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135534}
{"data":{"argsLen":2,"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135539}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135540}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135540}
{"data":null,"hypothesisId":"EXPAND_NO_ARRAY","location":"query.go:expandArrayPlaceholder:noArray","message":"无数组参数,直接返回","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135541}
{"data":{"argsLen":2,"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135544}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135545}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135545}
{"data":null,"hypothesisId":"EXPAND_NO_ARRAY","location":"query.go:expandArrayPlaceholder:noArray","message":"无数组参数,直接返回","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135545}
{"data":{"argsLen":2,"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135551}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135551}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135551}
{"data":null,"hypothesisId":"EXPAND_NO_ARRAY","location":"query.go:expandArrayPlaceholder:noArray","message":"无数组参数,直接返回","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135551}
{"data":{"argsLen":2,"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135556}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135556}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135556}
{"data":null,"hypothesisId":"EXPAND_NO_ARRAY","location":"query.go:expandArrayPlaceholder:noArray","message":"无数组参数,直接返回","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135556}
{"data":{"argsLen":2,"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135559}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135560}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135560}
{"data":null,"hypothesisId":"EXPAND_NO_ARRAY","location":"query.go:expandArrayPlaceholder:noArray","message":"无数组参数,直接返回","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135561}
{"data":{"argsLen":2,"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135565}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135565}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135565}
{"data":null,"hypothesisId":"EXPAND_NO_ARRAY","location":"query.go:expandArrayPlaceholder:noArray","message":"无数组参数,直接返回","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135565}
{"data":{"argsLen":2,"query":"SELECT COLUMN_NAME AS name,COLUMN_TYPE AS type,COLUMN_COMMENT AS label,IS_NULLABLE AS must,COLUMN_DEFAULT AS dflt_value FROM INFORMATION_SCHEMA.COLUMNS WHERE `TABLE_NAME` =? AND `TABLE_SCHEMA` =? ORDER BY ORDINAL_POSITION ;"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135569}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135569}
{"data":{"argType":"string"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135569}
{"data":null,"hypothesisId":"EXPAND_NO_ARRAY","location":"query.go:expandArrayPlaceholder:noArray","message":"无数组参数,直接返回","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037135569}
{"data":null,"hypothesisId":"H10_RAW_SQL","location":"main.go:872","message":"开始原生 SQL 测试 (MySQL)","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139813}
{"data":{"argsLen":2,"query":"SELECT id, title, author FROM `article` WHERE state = ? LIMIT ?"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139813}
{"data":{"argType":"int"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139814}
{"data":{"argType":"int"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139814}
{"data":null,"hypothesisId":"EXPAND_NO_ARRAY","location":"query.go:expandArrayPlaceholder:noArray","message":"无数组参数,直接返回","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139814}
{"data":{"count":5},"hypothesisId":"H10_QUERY","location":"main.go:879","message":"Query 原生查询测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139828}
{"data":{"argsLen":1,"query":"SELECT id FROM `article` WHERE `state` =? LIMIT 1 ;"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139829}
{"data":{"argType":"int"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139829}
{"data":null,"hypothesisId":"EXPAND_NO_ARRAY","location":"query.go:expandArrayPlaceholder:noArray","message":"无数组参数,直接返回","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139829}
{"data":{"argsLen":1,"query":"UPDATE `article` SET modify_time = NOW() WHERE id = ?"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139836}
{"data":{"argType":"int64"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139836}
{"data":null,"hypothesisId":"EXPAND_NO_ARRAY","location":"query.go:expandArrayPlaceholder:noArray","message":"无数组参数,直接返回","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139836}
{"data":{"affected":1,"name":"Exec 原生执行","result":true},"hypothesisId":"H10_EXEC","location":"main.go:899","message":"Exec 原生执行测试","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139842}
{"data":{"ids":[1,2,3,4,5]},"hypothesisId":"H1","location":"main.go:test3","message":"H1测试开始: IN非空数组","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139842}
{"data":{"argsLen":1,"query":"SELECT id, title FROM `article` WHERE id IN (?) LIMIT 10"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139843}
{"data":{"argType":"[]int"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139843}
{"data":{"isInPattern":true,"isNotIn":false,"matchIndex":40,"prevPart":"SELECT id, title FROM `article` WHERE id IN ("},"hypothesisId":"EXPAND_IN_PATTERN","location":"query.go:expandArrayPlaceholder:inPattern","message":"IN模式检测","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139844}
{"data":{"argListLen":5,"isNotIn":false},"hypothesisId":"EXPAND_ARG_LIST","location":"query.go:expandArrayPlaceholder:argList","message":"数组转换结果","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139844}
{"data":{"argListLen":5},"hypothesisId":"EXPAND_MULTI","location":"query.go:expandArrayPlaceholder:multiArray","message":"多元素数组展开","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139845}
{"data":{"newArgsLen":5,"resultQuery":"SELECT id, title FROM `article` WHERE id IN (?, ?, ?, ?, ?) LIMIT 10"},"hypothesisId":"EXPAND_EXIT","location":"query.go:expandArrayPlaceholder:exit","message":"函数退出","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139845}
{"data":{"count":5,"data":[{"id":1,"title":"atestu"},{"id":2,"title":"atestu"},{"id":3,"title":"atestu"},{"id":4,"title":"atestu"},{"id":5,"title":"atestu"}],"lastQuery":"SELECT id, title FROM `article` WHERE id IN (?, ?, ?, ?, ?) LIMIT 10"},"hypothesisId":"H1","location":"main.go:test3","message":"H1测试结果: IN非空数组","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139849}
{"data":{"ids":[]},"hypothesisId":"H2","location":"main.go:test4","message":"H2测试开始: IN空数组","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139849}
{"data":{"argsLen":1,"query":"SELECT id, title FROM `article` WHERE id IN (?) LIMIT 10"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139850}
{"data":{"argType":"[]int"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139850}
{"data":{"isInPattern":true,"isNotIn":false,"matchIndex":40,"prevPart":"SELECT id, title FROM `article` WHERE id IN ("},"hypothesisId":"EXPAND_IN_PATTERN","location":"query.go:expandArrayPlaceholder:inPattern","message":"IN模式检测","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139851}
{"data":{"argListLen":0,"isNotIn":false},"hypothesisId":"EXPAND_ARG_LIST","location":"query.go:expandArrayPlaceholder:argList","message":"数组转换结果","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139851}
{"data":{"isNotIn":false,"matchIndex":40,"prevPart":"SELECT id, title FROM `article` WHERE ","truncateIndex":38},"hypothesisId":"EXPAND_EMPTY","location":"query.go:expandArrayPlaceholder:emptyArray","message":"空数组处理","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139851}
{"data":{"newArgsLen":0,"resultQuery":"SELECT id, title FROM `article` WHERE 1=0 LIMIT 10"},"hypothesisId":"EXPAND_EXIT","location":"query.go:expandArrayPlaceholder:exit","message":"函数退出","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139852}
{"data":{"count":0,"expected":"应包含1=0返回0条记录","lastQuery":"SELECT id, title FROM `article` WHERE 1=0 LIMIT 10"},"hypothesisId":"H2","location":"main.go:test4","message":"H2测试结果: IN空数组","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139854}
{"data":{"ids":[]},"hypothesisId":"H3","location":"main.go:test5","message":"H3测试开始: NOT IN空数组","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139855}
{"data":{"argsLen":1,"query":"SELECT id, title FROM `article` WHERE id NOT IN (?) LIMIT 10"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139855}
{"data":{"argType":"[]int"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139855}
{"data":{"isInPattern":true,"isNotIn":true,"matchIndex":40,"prevPart":"SELECT id, title FROM `article` WHERE id NOT IN ("},"hypothesisId":"EXPAND_IN_PATTERN","location":"query.go:expandArrayPlaceholder:inPattern","message":"IN模式检测","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139856}
{"data":{"argListLen":0,"isNotIn":true},"hypothesisId":"EXPAND_ARG_LIST","location":"query.go:expandArrayPlaceholder:argList","message":"数组转换结果","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139856}
{"data":{"isNotIn":true,"matchIndex":40,"prevPart":"SELECT id, title FROM `article` WHERE ","truncateIndex":38},"hypothesisId":"EXPAND_EMPTY","location":"query.go:expandArrayPlaceholder:emptyArray","message":"空数组处理","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139856}
{"data":{"newArgsLen":0,"resultQuery":"SELECT id, title FROM `article` WHERE 1=1 LIMIT 10"},"hypothesisId":"EXPAND_EXIT","location":"query.go:expandArrayPlaceholder:exit","message":"函数退出","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139857}
{"data":{"count":10,"expected":"应包含1=1返回所有记录限制10条","lastQuery":"SELECT id, title FROM `article` WHERE 1=1 LIMIT 10"},"hypothesisId":"H3","location":"main.go:test5","message":"H3测试结果: NOT IN空数组","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139858}
{"data":{"ids":[1,2,3]},"hypothesisId":"H4","location":"main.go:test6","message":"H4测试开始: NOT IN非空数组","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139859}
{"data":{"argsLen":1,"query":"SELECT id, title FROM `article` WHERE id NOT IN (?) LIMIT 10"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139859}
{"data":{"argType":"[]int"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139860}
{"data":{"isInPattern":true,"isNotIn":true,"matchIndex":40,"prevPart":"SELECT id, title FROM `article` WHERE id NOT IN ("},"hypothesisId":"EXPAND_IN_PATTERN","location":"query.go:expandArrayPlaceholder:inPattern","message":"IN模式检测","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139860}
{"data":{"argListLen":3,"isNotIn":true},"hypothesisId":"EXPAND_ARG_LIST","location":"query.go:expandArrayPlaceholder:argList","message":"数组转换结果","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139861}
{"data":{"argListLen":3},"hypothesisId":"EXPAND_MULTI","location":"query.go:expandArrayPlaceholder:multiArray","message":"多元素数组展开","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139861}
{"data":{"newArgsLen":3,"resultQuery":"SELECT id, title FROM `article` WHERE id NOT IN (?, ?, ?) LIMIT 10"},"hypothesisId":"EXPAND_EXIT","location":"query.go:expandArrayPlaceholder:exit","message":"函数退出","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139861}
{"data":{"count":10,"lastQuery":"SELECT id, title FROM `article` WHERE id NOT IN (?, ?, ?) LIMIT 10"},"hypothesisId":"H4","location":"main.go:test6","message":"H4测试结果: NOT IN非空数组","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139866}
{"data":{"limit":5,"state":0},"hypothesisId":"H5","location":"main.go:test7","message":"H5测试开始: 普通占位符","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139866}
{"data":{"argsLen":2,"query":"SELECT id, title FROM `article` WHERE state = ? LIMIT ?"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139866}
{"data":{"argType":"int"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139866}
{"data":{"argType":"int"},"hypothesisId":"EXPAND_ARG_TYPE","location":"query.go:expandArrayPlaceholder:argType","message":"参数类型检查","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139867}
{"data":null,"hypothesisId":"EXPAND_NO_ARRAY","location":"query.go:expandArrayPlaceholder:noArray","message":"无数组参数,直接返回","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139867}
{"data":{"count":5,"lastQuery":"SELECT id, title FROM `article` WHERE state = ? LIMIT ?"},"hypothesisId":"H5","location":"main.go:test7","message":"H5测试结果: 普通占位符","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139871}
{"data":null,"hypothesisId":"H2_ORM","location":"main.go:test8","message":"ORM测试开始: Select IN空数组","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139871}
{"data":{"argsLen":0,"query":"SELECT id,title FROM `article` WHERE 1=0 LIMIT 10 ;"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139871}
{"data":{"count":0,"lastQuery":"SELECT id,title FROM `article` WHERE 1=0 LIMIT 10 ;"},"hypothesisId":"H2_ORM","location":"main.go:test8","message":"ORM测试结果: Select IN空数组","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139874}
{"data":null,"hypothesisId":"H3_ORM","location":"main.go:test9","message":"ORM测试开始: Select NOT IN空数组","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139874}
{"data":{"argsLen":0,"query":"SELECT id,title FROM `article` LIMIT 10 ;"},"hypothesisId":"EXPAND_ENTRY","location":"query.go:expandArrayPlaceholder:entry","message":"函数入口","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139875}
{"data":{"count":10,"lastQuery":"SELECT id,title FROM `article` LIMIT 10 ;"},"hypothesisId":"H3_ORM","location":"main.go:test9","message":"ORM测试结果: Select NOT IN空数组","runId":"hotimedb-test-run","sessionId":"debug-session","timestamp":1769037139877}