@Better-Auth/Kysely-Adapter
A race condition exists when using MySQL or MariaDB serial IDs. This occurs because the ID of an inserted row is retrieved using a separate `LAST INSERT ID()` query, which may execute on a different pooled connection. In scenarios with concurrent load, a user signing in may be assigned another user's session, allowing them to impersonate that user.