couchbase / couchbase-lite-ios

Lightweight, embedded, syncable NoSQL database engine for iOS and MacOS apps.
Apache License 2.0
1.62k stars 297 forks source link

2.0: Couchbase Lite Swift 2.0 SQLite Error #1986

Closed jayzhanghs closed 6 years ago

jayzhanghs commented 6 years ago

I saw many errors like

017-12-18 18:10:33.970800-0500 HandshakeHD[40292:1397316] CouchbaseLite  WARNING: SQLite error (code 21): misuse at line 81269 of [1a584e4999]
017-12-18 18:10:33.971402-0500 HandshakeHD[40292:1397316] CouchbaseLite  WARNING: SQLite error (code 21): bind on a busy prepared statement: [SELECT sequence, flags, 0, version, body FROM kv_default WHERE key=?]

Should I be concerned about this?

snej commented 6 years ago

What exactly is your code doing? In particular, are you calling CBL objects from multiple threads or dispatch queues? (The API is not thread-safe yet as of DB20.)

pasin commented 6 years ago

I'm closing the issue now. Feel free to provide more information and reopen the issue. Thanks.

jayzhanghs commented 6 years ago

ok @pasin