1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Add tests to e_update.test.

FossilOrigin-Name: 528f71e29c5422af778dbae2c1dce3b0ee289750
This commit is contained in:
dan
2010-09-21 16:59:16 +00:00
parent af1dcab2b7
commit b04757adaf
5 changed files with 333 additions and 29 deletions

View File

@ -402,6 +402,11 @@ proc do_select_tests {prefix args} {
}
}
proc delete_all_data {} {
db eval {SELECT tbl_name AS t FROM sqlite_master WHERE type = 'table'} {
db eval "DELETE FROM '[string map {' ''} $t]'"
}
}
# Run an SQL script.
# Return the number of microseconds per statement.