cyrusimap / cassandane

Other
6 stars 11 forks source link

Add run_dbcommand logic ported from Fastmail code #150

Closed brong closed 2 years ago

brong commented 2 years ago

This was SUPPOSED to be a small metadata test, and turned into realising that all of the Metadata tests weren't actually working correctly, because list_annotations wasn't doing what it said on the tin for two separate bugs - but comparing the replication still got us zero / zero annotations, which funnily enough passed the tests.

Doing things this way gives us a much more powerful ability to manipulate database files.

brong commented 2 years ago

All requested changes added :) It's been rebased on latest master too.