Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(128)

Side by Side Diff: third_party/sqlite/sqlite-src-3100200/ext/rbu/rbu_common.tcl

Issue 1610543003: [sql] Import reference version of SQLite 3.10.2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 # 2015 Aug 8
2 #
3 # The author disclaims copyright to this source code. In place of
4 # a legal notice, here is a blessing:
5 #
6 # May you do good and not evil.
7 # May you find forgiveness for yourself and forgive others.
8 # May you share freely, never taking more than you give.
9 #
10 #***********************************************************************
11 #
12
13 if {![info exists testdir]} {
14 set testdir [file join [file dirname [info script]] .. .. test]
15 }
16 source $testdir/tester.tcl
17
18 # Run the RBU in file $rbu on target database $target until completion.
19 #
20 proc run_rbu {target rbu} {
21 sqlite3rbu rbu $target $rbu
22 while 1 {
23 set rc [rbu step]
24 if {$rc!="SQLITE_OK"} break
25 }
26 rbu close
27 }
28
29 proc step_rbu {target rbu} {
30 while 1 {
31 sqlite3rbu rbu $target $rbu
32 set rc [rbu step]
33 rbu close
34 if {$rc != "SQLITE_OK"} break
35 }
36 set rc
37 }
38
OLDNEW
« no previous file with comments | « third_party/sqlite/sqlite-src-3100200/ext/rbu/rbuB.test ('k') | third_party/sqlite/sqlite-src-3100200/ext/rbu/rbucrash.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698