草庐IT

Unencrypted

全部标签

iOS sqlcipher fmdb inTransaction “File is encrypted or is not a database”

当我使用sqlcipher加密我的数据库,并调用FMDatabaseQueue中的inDatabase——成功!但是当我将inDatabase更改为inTransaction时,控制台显示“文件已加密或不是数据库”。代码:FMDatabaseQueue*queue=[FMDatabaseQueuedatabaseQueueWithPath:st_dbPath];//success[queueinDatabase:^(FMDatabase*db){[dbsetKey:st_dbKey];[dbexecuteUpdate:@"INSERTINTOt_userVALUES(16)"];}];

git clone 报错:fatal: Unencrypted HTTP is not supported for GitLab. Ensure the repository remote URL i

 git版本问题,是当前版本过高,要求使用https协议,需要根据需要安装指定版本。遇到这个问题时我的git版本是: 需要安装指定版本。