mirror of
https://github.com/moparisthebest/PhoneGap-SQLitePlugin-Android
synced 2024-11-27 19:02:17 -05:00
Disable optimization_no_nested_callbacks by default
This commit is contained in:
parent
61f161a6e0
commit
9c019be5c7
@ -77,10 +77,10 @@
|
||||
this.trans_id = get_unique_id();
|
||||
this.__completed = false;
|
||||
this.__submitted = false;
|
||||
//this.optimization_no_nested_callbacks: default is true.
|
||||
//this.optimization_no_nested_callbacks: default is false.
|
||||
//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
|
||||
this.optimization_no_nested_callbacks = true;
|
||||
this.optimization_no_nested_callbacks = false;
|
||||
console.log("root.SQLitePluginTransaction - this.trans_id:"+this.trans_id);
|
||||
transaction_queue[this.trans_id] = [];
|
||||
transaction_callback_queue[this.trans_id] = new Object();
|
||||
|
@ -53,10 +53,10 @@ do ->
|
||||
@trans_id = get_unique_id()
|
||||
@__completed = false
|
||||
@__submitted = false
|
||||
# this.optimization_no_nested_callbacks: default is true.
|
||||
# this.optimization_no_nested_callbacks: default is false.
|
||||
# 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
|
||||
@optimization_no_nested_callbacks = true
|
||||
@optimization_no_nested_callbacks = false
|
||||
console.log "SQLitePluginTransaction - this.trans_id:" + @trans_id
|
||||
transaction_queue[@trans_id] = []
|
||||
transaction_callback_queue[@trans_id] = new Object()
|
||||
|
@ -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("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