Open
Description
Hi, we have an xamarin.forms app using sqlit-net-pcl nuget package latest version 1.8.116 and it throws an error often "database table is locked while dropping". It does not throw any error if downgrade to package version 1.5.231. As of now we are managing deleting records with the latest nuget package but we want to drop and create table instead. Any help would be really appreciated. Erro message below,
SQLite.SQLiteException: database table is locked
at SQLite.SQLiteCommand.ExecuteNonQuery () [0x000cd] in <01c96d411fe34bd5940c99a56515582b>:0
at SQLite.SQLiteConnection.Execute (System.String query, System.Object[] args) [0x00039] in <01c96d411fe34bd5940c99a56515582b>:0
at SQLite.SQLiteConnection.DropTable (SQLite.TableMapping map) [0x00018] in <01c96d411fe34bd5940c99a56515582b>:0
at SQLite.SQLiteConnection.DropTable[T] () [0x00012] in <01c96d411fe34bd5940c99a56515582b>:0
at SQLite.SQLiteAsyncConnection+<>c__43`1[T].<DropTableAsync>b__43_0 (SQLite.SQLiteConnectionWithLock conn) [0x00000] in <01c96d411fe34bd5940c99a56515582b>:0
at SQLite.SQLiteAsyncConnection+<>c__DisplayClass33_0`1[T].<WriteAsync>b__0 () [0x00013] in <01c96d411fe34bd5940c99a56515582b>:0
at System.Threading.Tasks.Task`1[TResult].InnerInvoke () [0x0000f] in /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/src/Xamarin.iOS/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs:534
at System.Threading.Tasks.Task.Execute () [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/src/Xamarin.iOS/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2319
Thanks
Ankur