mirror of
https://github.com/moparisthebest/PhoneGap-SQLitePlugin-Android
synced 2025-02-16 06:50:14 -05:00
Comment out change in xtra-DroidGap-test from accidental commit
This commit is contained in:
parent
199eb6a15e
commit
a651e8758c
@ -174,10 +174,12 @@ public class SQLitePlugin extends Plugin {
|
||||
long insertId = myStatement.executeInsert();
|
||||
this.sendJavascript("dddb.completeQuery('" + tx_id + "', [{'insertId':'" + insertId +
|
||||
"', 'rowsAffected':'1'}]);");
|
||||
/* Test fix for #22, requires API 11+: **
|
||||
} else if (cmd.startsWith("update") || cmd.startsWith("delete")) {
|
||||
SQLiteStatement myStatement = this.myDb.compileStatement(query);
|
||||
int rowsAffected = myStatement.executeUpdateDelete();
|
||||
this.sendJavascript("dddb.completeQuery('" + tx_id + "', [{'rowsAffected':'" + rowsAffected + "'}]);");
|
||||
* END of Test fix for #22, requires API 11+ */
|
||||
} else if (isDDL(query)) {
|
||||
this.myDb.execSQL(query);
|
||||
this.sendJavascript("dddb.completeQuery('" + tx_id + "', '');");
|
||||
|
Loading…
Reference in New Issue
Block a user