tests.apsw_ext.TestAPSWExtension tests failing (LockedError) after 10be40b2ea3d76a9 (RETURNING support)
Thanks for reporting and bisecting, I've got a fix and will push a new release later today. Thank you, I can confirm that tests pass on master now.
I'm getting 12 test errors with the git master (and 3.14.6) release that are regressions compared to 3.14.4. An example test error looks like the following:

```
======================================================================
ERROR: test_update_delete (tests.apsw_ext.TestAPSWExtension)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/peewee/tests/base.py", line 246, in tearDown
    self.database.drop_tables(self.requires, safe=True)
  File "/tmp/peewee/peewee.py", line 3352, in drop_tables
    model.drop_table(**kwargs)
  File "/tmp/peewee/peewee.py", line 6730, in drop_table
    cls._schema.drop_all(safe, drop_sequences, **options)
  File "/tmp/peewee/peewee.py", line 5838, in drop_all
    self.drop_table(safe, **options)
  File "/tmp/peewee/peewee.py", line 5711, in drop_table
    self.database.execute(self._drop_table(safe=safe, **options))
  File "/tmp/peewee/peewee.py", line 3173, in execute
    return self.execute_sql(sql, params, commit=commit)
  File "/tmp/peewee/playhouse/apsw_ext.py", line 122, in execute_sql
    cursor.execute(sql, params or ())
apsw.LockedError: LockedError: database table is locked
```

Full build and test log: [test.log](https://github.com/coleifer/peewee/files/7424610/test.log)

I have reproduced the problem with Python 3.8.12 and 3.10.0.

A quick bisect points to the following commit as the first bad one:

```
commit 10be40b2ea3d76a9e410e1e5d0a7b5c1c58c8467 (refs/bisect/bad)
Author: Charles Leifer <coleifer@gmail.com>
Date:   2021-10-21 15:52:55 +0200

    Add provisional support for RETURNING for sqlite_ext/mariadb.
    
    Sqlite has kind-of unusual behavior with regards to lastrowid and the
    rowid in general, so I'm retaining the original behavior for the
    standard SqliteDatabase, but using SqliteExtDatabase will now support
    RETURNING for Sqlite 3.35 or newer.
    
    Similarly, MariaDBConnectorDatabase will also support RETURNING for
    MariaDB 10.5 or newer.
```