nolanlawson/cordova-plugin-sqlite-2

Android: should throw meaningful errors when the 1MB CursorWindow limit is reached

Open

#46 aperta il 18 dic 2016

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)JavaScript (29 fork)github user discovery
enhancementhelp wanted

Metriche repository

Star
 (168 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Currently these errors just get swallowed, e.g.: https://github.com/pouchdb/pouchdb/issues/5413

We just return empty results which causes bugs later on down the line that are hard to diagnose: https://github.com/nolanlawson/cordova-plugin-sqlite-2/blob/33afdef8409b8782b7a82ca7d59270e7e11541dd/src/android/SQLitePlugin.java#L93-L96

Guida contributor