David E. Wheeler
David E. Wheeler
Given that we would want to support the same feature with the same name in the `verify` command, I think `--require-verify` wouldn't quite cut it. Maybe strict? ``` sh sqitch...
Sqitch has always required that a database exist before deploying. Are you experiencing an error? What database engine are you using?
Hrm. Line 191 calls `lock_destination`, where at [line 1036](/sqitchers/sqitch/blob/ef7767d83d396e98c7a57222f1765bcda6189809/lib/App/Sqitch/Engine.pm#L1036) it calls `try_lock`. That method calls `initialized` in mysql.pm at[ line 332](/sqitchers/sqitch/blob/ef7767d83d396e98c7a57222f1765bcda6189809/lib/App/Sqitch/Engine/mysql.pm#L332). That method should simply return false for error 1049,...
`1049` is the error that shows up in the debug output you posted, so it should be right.
Where would it store the snapshot?
Originally posted pin the [Harness Slack](https://harnesscommunity.slack.com/archives/C028FPGCPF0/p1691711167771919), after following the comment to open an issue yesterday and following the link to discourse, which redirected to Harness.
Turns out that I had the wrong username. My company set my username to `david.wheeler`, but I changed my display name to `theory` years ago. Nowhere in my profile does...
+1 to at least fixing the union parsing; it doesn't complain about My Go code in production blocks; indeed, they seem to be quite nicely syntax highlighted.
I don't know, I would have to defer to a MySQL expert to determine the appropriate solution here.
That sounds like a decent plan, and the [mysql tests](https://github.com/sqitchers/sqitch/actions/workflows/mysql.yml) will ensure it functions properly on all (most?) supported versions of MySQL and MariaDB. You can borrow from [pg.pm's _run_registry_file...