**Change the key on an opendatabase. If the current database isnotencrypted, this routine will encrypt it. If pNew==0ornNew==0, the database isdecrypted.
**
**The code to implement this API isnotavailable inthe public release of SQLite.
*/
/*
**Change the key on an opendatabase. If the current database isnotencrypted, this routine will encrypt it. If pNew==0ornNew==0, the database isdecrypted.
**
**The code to implement this API isnotavailable inthe public release of SQLite.
*/
/*BEGIN SQLCIPHER
SQLCipher usage note:
If the current database isplaintext SQLCipher will NOT encrypt it.
If the current database isencrypted andpNew==0ornNew==0, SQLCipher will NOT decrypt it.
This routine will ONLY work on an already encrypted database inorder to change the key.
Conversion fromplaintext-to-encrypted orencrypted-to-plaintext should
use an ATTACHed database andthe sqlcipher_export() convenience function as per the SQLCipher Documentation.
END SQLCIPHER
*/
/*BEGIN SQLCIPHER
SQLCipher usage note:
If the current database isplaintext SQLCipher will NOT encrypt it.
If the current database isencrypted andpNew==0ornNew==0, SQLCipher will NOT decrypt it.
This routine will ONLY work on an already encrypted database inorder to change the key.
Conversion fromplaintext-to-encrypted orencrypted-to-plaintext should
use an ATTACHed database andthe sqlcipher_export() convenience function as per the SQLCipher Documentation.
END SQLCIPHER
*/
SQLITE_API intsqlite3_exec(
sqlite3 *db, /*The database on which the SQL executes */
const char *zSql, /*The SQL to be executed */
sqlite3_callback xCallback, /*Invoke this callback routine */
void *pArg, /*First argument to xCallback() */
char **pzErrMsg /*Write error messages here */
)
SQLITE_API intsqlite3_exec(
sqlite3 *db, /*The database on which the SQL executes */
const char *zSql, /*The SQL to be executed */
sqlite3_callback xCallback, /*Invoke this callback routine */