Files
2meet-data-optimizer/tests/bench/wp-stub/wp-admin/includes/upgrade.php
T
wpdev 8fc1dc1f1c test(2meet-data-optimizer): add scale seeder for 100k vendors / 1M listings
- Seed a HivePress-shaped dataset three ways (native meta, entity tables,
  hot table) with flat tables built by TMDO's own schema code
- Refuse any database not named *_bench before the bootstrap connects;
  bootstrap now honours a pre-defined ABSPATH for the wp-admin stub
- Full scale seeds 9.5M postmeta rows in 7m25s; 0 value mismatches

Verify: TMDO_TEST_DB_NAME=wp_wpdo_bench php tests/bench/seed.php
  --vendors=100000 --listings=1000000; unit 600 OK, integration 416 OK
PR: PR-004
2026-09-25 20:55:25 +08:00

10 lines
283 B
PHP

<?php
/**
* Stand-in for WordPress's wp-admin/includes/upgrade.php during bench seeding.
*
* TMDO_Schema_Manager and TMDO_Installer require this file for dbDelta();
* tests/integration/bootstrap.php already provides dbDelta(), so it is empty.
*
* @package TMDO\Tests\Bench
*/