style: 补齐筛选统计守卫测试的格式

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
yml2213
2026-10-01 15:05:56 +08:00
co-authored by Cursor
parent 1239393fc2
commit b6c0e06f45
@@ -2718,10 +2718,7 @@ test('筛选统计覆盖索引必须吃掉 085,且不能为 VIP 把 JSON 列
'缺 orders 覆盖索引时,统计会把 26 万行 orders 整表扫来做 Hash Right Join',
)
assert.ok(migration.includes('INCLUDE (pay_status, order_status, total_amount)'))
assert.ok(
migration.includes('低于 5%'),
'Heap Fetches 真空后仍有约 1.7%,判据不能写成必须为 0',
)
assert.ok(migration.includes('低于 5%'), 'Heap Fetches 真空后仍有约 1.7%,判据不能写成必须为 0')
assert.ok(
!/^\s*CREATE INDEX CONCURRENTLY/m.test(migration),
'迁移在事务内执行,不能使用 CONCURRENTLY',