How to cancel sqlcipher export during migration on Android

I am migrating my sqlite database on android from unencrypted database to an encrypted one using sqlcipher export query.

SELECT sqlcipher_export('main', 'old')

I would like to cancel the migration if it is not successful after a timeout.

But it appears that this export function does not work like a normal query, I cannot cancel it using sqlite interrupt or using a cancellation signal.

Is cancelling the export operation supported natively by sql cipher?

Hello @Ozioma_Ogbe - sqlcipher_export is not currently a cancellable operation.

1 Like