Summary
syslog_replace_data() computes CREATE TABLE SQL into $create_sql but executes $create instead.
Evidence
setup.php:
- Captures create SQL from
SHOW CREATE TABLE into $create_sql (821-827)
- Missing-table branch executes
syslog_db_execute($create); (831) instead of $create_sql
Impact
Remote replication bootstrap can fail when destination table is missing.
Expected fix
Execute $create_sql in missing-table branch and retain truncate/insert behavior as intended.