SIGN IN SIGN UP

libsql: Fail sync_db_if_needed() if database exists but metadata is missing

This is an inconsistent state because there is no way for us to know
what generation the database file is tracking. For all we know, it could
be a totally unrelated database file than the one we have remotely.
Therefore, return an error.
P
Pekka Enberg committed
6c86667ff1378d80853a07cf7a3cf525cdc3d4ef
Parent: 70c9bbc