/external/chromium_org/third_party/sqlite/src/test/ |
rollback.test | 12 # focus of this file is verifying that a rollback in one statement 13 # caused by an ON CONFLICT ROLLBACK clause aborts any other pending 16 # $Id: rollback.test,v 1.11 2009/06/26 07:12:07 danielk1977 Exp $ 23 do_test rollback-1.1 { 35 do_test rollback-1.2 { 37 CREATE TABLE t3(a unique on conflict rollback); 44 do_test rollback-1.3 { 50 # This causes a ROLLBACK, which deletes the table out from underneath the 53 do_test rollback-1.4 { 61 do_test rollback-1.5 [all...] |
trigger3.test | 26 # Test that we can cause ROLLBACK, FAIL and ABORT correctly 37 WHEN (new.a = 3) THEN RAISE(ROLLBACK, 'Trigger rollback') END; 51 ROLLBACK; 69 ROLLBACK; 72 # ROLLBACK 79 } {1 {Trigger rollback}} 86 # Verify that a ROLLBACK trigger works like a FAIL trigger if 94 } {1 {Trigger rollback}} 110 ROLLBACK; [all...] |
tkt2285.test | 31 ROLLBACK; 46 ROLLBACK;
|
trigger9.test | 64 do_test trigger9-1.2.4 { execsql { ROLLBACK } } {} 79 do_test trigger9-1.3.3 { execsql { ROLLBACK } } {} 94 do_test trigger9-1.4.3 { execsql { ROLLBACK } } {} 109 do_test trigger9-1.5.3 { execsql { ROLLBACK } } {} 124 do_test trigger9-1.6.3 { execsql { ROLLBACK } } {} 139 do_test trigger9-1.7.3 { execsql { ROLLBACK } } {} 158 ROLLBACK; 175 ROLLBACK; 189 ROLLBACK; 204 ROLLBACK; [all...] |
savepoint.test | 21 # and ROLLBACK TO comands are correctly parsed, and that the auto-commit 34 ROLLBACK TO sp1; 66 ROLLBACK TO sp1; 79 ROLLBACK TO SAVEPOINT sp3; 80 ROLLBACK TRANSACTION TO sp2; 81 ROLLBACK TRANSACTION TO SAVEPOINT sp1; 92 ROLLBACK TO sp1; 117 ROLLBACK TO one; 129 ROLLBACK TO one; 145 ROLLBACK TO two [all...] |
jrnlmode3.test | 45 ROLLBACK; 67 ROLLBACK; 115 # Rollback the transaction. 119 ROLLBACK; 131 # Do a the transaction. Verify that the rollback occurred 141 db eval ROLLBACK
|
journal1.test | 14 # prior databases do not try to rollback into new databases. 46 # old journal should not attempt to rollback into the new 56 ROLLBACK;
|
trans3.test | 13 # focus of this script is the response of COMMIT and ROLLBACK when 60 if {[catch {db eval ROLLBACK} errmsg]} { 67 } {1 {cannot rollback transaction - SQL statements in progress}}
|
avtrans.test | 77 set v [catch {execsql {ROLLBACK TRANSACTION 'foo'}} msg] 179 ROLLBACK; 182 } {1 {cannot rollback - no transaction is active}} 245 # Check out the commit/rollback behavior of the database 266 execsql {ROLLBACK} 325 ROLLBACK; 342 ROLLBACK; 397 ROLLBACK; 412 # within a transaction. Make sure ROLLBACK works. 420 ROLLBACK; [all...] |
trans.test | 75 set v [catch {execsql {ROLLBACK TRANSACTION 'foo'}} msg] 178 ROLLBACK; 181 } {1 {cannot rollback - no transaction is active}} 246 # Check out the commit/rollback behavior of the database 267 execsql {ROLLBACK} 326 ROLLBACK; 343 ROLLBACK; 398 ROLLBACK; 413 # within a transaction. Make sure ROLLBACK works. 421 ROLLBACK; [all...] |
/external/chromium_org/chrome/installer/util/ |
create_dir_work_item_unittest.cc | 48 work_item->Rollback(); 50 // Rollback should delete all the paths up to top_dir_to_create. 68 work_item->Rollback(); 70 // Rollback should not remove the path since it exists before 98 work_item->Rollback(); 100 // Rollback should delete dir_to_create_3. 103 // Rollback should not delete dir_to_create_2 as it is shared. 128 work_item->Rollback(); 130 // dir_to_create_3 has already been deleted, Rollback should delete
|
callback_work_item.h | 13 // A work item that invokes a callback on Do() and Rollback(). In the following 20 // // Rollback work goes here. The return value is ignored in this case. 39 virtual void Rollback() OVERRIDE;
|
copy_reg_key_work_item_unittest.cc | 33 // Test that copying a key that doesn't exist succeeds, and that rollback does 51 item->Rollback(); 59 // Test that copying an empty key succeeds, and that rollback removes the copy. 70 item->Rollback(); 77 // Test that copying a key with subkeys and values succeeds, and that rollback 89 item->Rollback(); 121 // Rollback should do nothing. 122 item->Rollback(); 131 // rollback restores the original data. 157 item->Rollback(); [all...] |
create_reg_key_work_item_unittest.cc | 65 work_item->Rollback(); 67 // Rollback should delete all the keys up to top_key_to_create. 91 work_item->Rollback(); 93 // Rollback should not remove the key since it exists before 125 work_item->Rollback(); 127 // Rollback should delete key_to_create_3. 131 // Rollback should not delete key_to_create_2 as it is shared. 165 work_item->Rollback(); 167 // key_to_create_3 has already been deleted, Rollback should delete 191 work_item->Rollback(); [all...] |
copy_tree_work_item.h | 19 // to the destination location. During rollback the original destination 25 // losing ACLs or other metadata in the case of a rollback. 32 virtual void Rollback(); 39 // Notes on temp_path: to facilitate rollback, the caller needs to supply 72 // temporary directory. If true, moving back is needed during rollback. 76 // existed and was in use. Needed during rollback.
|
delete_reg_value_work_item_unittest.cc | 45 // recreated after Rollback(). 82 work_item1->Rollback(); 83 work_item2->Rollback(); 84 work_item3->Rollback(); 128 work_item1->Rollback(); 129 work_item2->Rollback();
|
delete_reg_key_work_item.cc | 54 void DeleteRegKeyWorkItem::Rollback() { 62 LOG(ERROR) << "Failed to delete key at " << path_ << " in rollback, " 69 LOG(ERROR) << "Failed to restore key in rollback.";
|
move_tree_work_item.h | 19 // to the destination location. During rollback the original destination 27 virtual void Rollback(); 37 // specified by |dest_path|. To facilitate rollback, the caller needs to 66 // temporary directory. If true, moving back is needed during rollback.
|
set_reg_value_work_item_unittest.cc | 79 work_item1->Rollback(); 80 work_item2->Rollback(); 82 // Rollback should delete the value. 118 work_item1->Rollback(); 119 work_item2->Rollback(); 121 // Rollback should delete the value. 153 work_item->Rollback(); 170 work_item->Rollback(); 215 work_item1->Rollback(); 216 work_item2->Rollback(); [all...] |
callback_work_item_unittest.cc | 43 // Test that the callback is invoked correclty during Do() and Rollback(). 52 work_item.Rollback();
|
conditional_work_item_list.cc | 27 void ConditionalWorkItemList::Rollback() { 29 WorkItemList::Rollback();
|
create_dir_work_item.h | 21 // Rollback tries to remove all directories created along the path. 25 virtual void Rollback();
|
/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/sqlite/ |
SQLiteTransaction.cpp | 43 rollback(); 74 void SQLiteTransaction::rollback() function in class:WebCore::SQLiteTransaction 76 // We do not use the 'm_inProgress = m_db.executeCommand("ROLLBACK")' construct here, 77 // because m_inProgress should always be set to false after a ROLLBACK, and 78 // m_db.executeCommand("ROLLBACK") can sometimes harmlessly fail, thus returning 82 m_db.executeCommand("ROLLBACK");
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/sqlite3/test/ |
py25tests.py | 31 def rollback(self): member in class:MyConnection 34 sqlite.Connection.rollback(self) 55 self.con.rollback() 60 """Is a rollback called in the context manager?"""
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/sqlite3/test/ |
py25tests.py | 31 def rollback(self): member in class:MyConnection 34 sqlite.Connection.rollback(self) 55 self.con.rollback() 60 """Is a rollback called in the context manager?"""
|