mirror of
https://github.com/moparisthebest/PhoneGap-SQLitePlugin-Android
synced 2024-11-14 04:55:04 -05:00
Reflect change to SQLitePlugin.js diff in README.md
This commit is contained in:
parent
03242c7359
commit
aa46459410
12
README.md
12
README.md
@ -63,16 +63,16 @@ This is a pretty strong test: first we create a table and add a single entry, th
|
||||
**Android version only:** In this case, the same transaction in the first executeSql() callback is being reused to run executeSql() again. This version will only work on the Android version and only if you make the following patch:
|
||||
|
||||
diff --git a/Android/assets/www/SQLitePlugin.js b/Android/assets/www/SQLitePlugin.js
|
||||
index 6349baf..8a3c50f 100755
|
||||
index 51761ea..10b7595 100755
|
||||
--- a/Android/assets/www/SQLitePlugin.js
|
||||
+++ b/Android/assets/www/SQLitePlugin.js
|
||||
@@ -78,7 +78,7 @@
|
||||
//this.optimization_no_nested_callbacks: default is true.
|
||||
//if set to true large batches of queries within a transaction will be much faster but
|
||||
//you will lose the ability to do multi level nesting of executeSQL callbacks
|
||||
@@ -59,7 +59,7 @@
|
||||
this.trans_id = get_unique_id();
|
||||
this.__completed = false;
|
||||
this.__submitted = false;
|
||||
- this.optimization_no_nested_callbacks = true;
|
||||
+ this.optimization_no_nested_callbacks = false;
|
||||
console.log("root.SQLitePluginTransaction - this.trans_id:"+this.trans_id);
|
||||
console.log("SQLitePluginTransaction - this.trans_id:" + this.trans_id);
|
||||
transaction_queue[this.trans_id] = [];
|
||||
transaction_callback_queue[this.trans_id] = new Object();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user