mirror of https://github.com/sysown/proxysql
The Bring up infrastructure step pipes the SQL block to `mysql` via docker exec -i with stdin redirected from a heredoc. With stdin not attached to a tty `mysql` switches to a silent default that suppresses header + row output for non-error queries, so the existing SELECT COUNT(*) probes left no trace in the CI log — making it impossible to tell whether the lazy-refresh nudge ran, whether LOAD MYSQLX TO RUNTIME returned errors, or whether the install_*_from_admin path saw zero source rows. Two surgical changes: * `mysql --table` forces boxed output regardless of stdin shape, so SELECT results land in the runner log. * Add a final UNION SELECT that counts rows in runtime_mysqlx_users / runtime_mysqlx_routes / runtime_mysqlx_ backend_endpoints after the LOAD statements run. Zero in any of those columns localises the bind failure to install_*_from_admin having seen empty source rows.v3.0_fix_ci-mysqlx-cache-and-soak
parent
ae139b9119
commit
2001c429f8
Loading…
Reference in new issue