wcdb icon indicating copy to clipboard operation
wcdb copied to clipboard

[WCDB][ERROR]Code:21, Type:SQLite, Tag:0, Op:4, ExtCode:0, Msg:not an error, SQL:PRAGMA synchronous='NORMAL'

Open yishuiliunian opened this issue 5 years ago • 2 comments

The language of WCDB

e.g. Objective-C, Swift or Java

Objective-C

The version of WCDB

e.g. v1.0.5

1.0.6

The platform of WCDB

e.g. iOS, macOS or Android

iOS

The installation of WCDB

e.g. Cocoapods, Carthage, Maven, AAR Package or Git clone

Cocoapods

What's the issue?

it can not create tables in the wcdb.

my code is

    [_dataBase createTableAndIndexesOfName:kCDCardTableName withClass:CDCardModel.class];

the console is :

[WCDB][ERROR]Code:21, Type:SQLite, Tag:0, Op:4, ExtCode:0, Msg:not an error, SQL:PRAGMA synchronous='NORMAL', Path:/Users/dongzhao/Library/Developer/CoreSimulator/Devices/7F8A5E17-0F41-46AB-9450-99A3D1283CCC/data/Containers/Data/Application/6EB4D660-2712-43A9-B49E-61E69EADF19F/Documents/MainData/default/message.db
2020-10-21 12:56:08.919570+0800 ChatNote[76250:23001131] Received XPC error Connection interrupted for message type 3 kCFNetworkAgentXPCMessageTypePACQuery
2020-10-21 12:56:08.919724+0800 ChatNote[76250:23001131] Received XPC error Connection invalid for message type 3 kCFNetworkAgentXPCMessageTypePACQuery

yishuiliunian avatar Oct 21 '20 05:10 yishuiliunian

same error.

dimsky avatar Dec 15 '20 11:12 dimsky

https://github.com/Tencent/wcdb/issues/716#issuecomment-984333318 实测有效

ToForgive avatar Dec 02 '21 07:12 ToForgive