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

Side by Side Diff: third_party/sqlite/README.chromium

Issue 6990066: Mac TimeMachine File Exclusions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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 | Annotate | Revision Log
OLDNEW
1 Name: sqlite 1 Name: sqlite
2 License File: src/LICENSE 2 License File: src/LICENSE
3 URL: http://sqlite.org/ 3 URL: http://sqlite.org/
4 Version: 3.7.6.3 4 Version: 3.7.6.3
5 Included In Release: Yes 5 Included In Release: Yes
6 Security Critical: Yes 6 Security Critical: Yes
7 7
8 Instructions for importing a new release of SQLite from sqlite.org. 8 Instructions for importing a new release of SQLite from sqlite.org.
9 9
10 Note: our current base version is 3.7.6.3. 10 Note: our current base version is 3.7.6.3.
(...skipping 26 matching lines...) Expand all
37 37
38 # Use kdiff3 to merge the changes: 38 # Use kdiff3 to merge the changes:
39 kdiff3 -m sqlite-$BASE sqlite-$LATEST sqlite 39 kdiff3 -m sqlite-$BASE sqlite-$LATEST sqlite
40 40
41 # Resolve any conflicts. Figure out if we've got everything we should 41 # Resolve any conflicts. Figure out if we've got everything we should
42 # have (see below), or if we can omit any changes we no longer need. 42 # have (see below), or if we can omit any changes we no longer need.
43 43
44 # Change to the sqlite directory: 44 # Change to the sqlite directory:
45 cd sqlite 45 cd sqlite
46 46
47 # Run the google_generate_preprocessed.sh script: 47 # Run the google_generate_amalgamation.sh script:
48 ./google_generate_preprocessed.sh 48 ./google_generate_amalgamation.sh
49 49
50 # Find a sucker. Send review. 50 # Find a sucker. Send review.
51 # TODO(shess) Describe an appropriate comment style. Seems like it 51 # TODO(shess) Describe an appropriate comment style. Seems like it
52 # should at least include the SQLite version number. 52 # should at least include the SQLite version number.
53 53
54 -------------------------------------------- 54 --------------------------------------------
55 55
56 For reference, all of our local patches are also kept as .patch files in the 56 For reference, all of our local patches are also kept as .patch files in the
57 sqlite directory. Here is a list of the patches, in the order they should be 57 sqlite directory. Here is a list of the patches, in the order they should be
58 applied to a vanilla SQLite (of the version we currently have) to get, in 58 applied to a vanilla SQLite (of the version we currently have) to get, in
59 principle, exactly what is checked in: 59 principle, exactly what is checked in:
60 60
61 misc.patch 61 misc.patch
62 preload-cache.patch 62 preload-cache.patch
63 safe-tolower.patch 63 safe-tolower.patch
64 fts2.patch 64 fts2.patch
65 fts3.patch 65 fts3.patch
66 icu-regexp.patch 66 icu-regexp.patch
67 icu-shell.patch 67 icu-shell.patch
68 attach-integer.patch 68 attach-integer.patch
69 webdb.patch 69 webdb.patch
70 test.patch 70 test.patch
71 mac_time_machine.patch
71 72
72 So, e.g. you could do this to apply all our patches to vanilla SQLite: 73 So, e.g. you could do this to apply all our patches to vanilla SQLite:
73 74
74 cd sqlite-$LATEST 75 cd sqlite-$LATEST
75 patch -p0 < ../sqlite/misc.patch 76 patch -p0 < ../sqlite/misc.patch
76 patch -p0 < ../sqlite/preload-cache.patch 77 patch -p0 < ../sqlite/preload-cache.patch
77 patch -p0 < ../sqlite/safe-tolower.patch
78 patch -p0 < ../sqlite/fts2.patch 78 patch -p0 < ../sqlite/fts2.patch
79 patch -p0 < ../sqlite/fts3.patch 79 patch -p0 < ../sqlite/fts3.patch
80 patch -p0 < ../sqlite/icu-regexp.patch
81 patch -p0 < ../sqlite/icu-shell.patch 80 patch -p0 < ../sqlite/icu-shell.patch
82 patch -p0 < ../sqlite/attach-integer.patch
83 patch -p0 < ../sqlite/webdb.patch 81 patch -p0 < ../sqlite/webdb.patch
84 patch -p0 < ../sqlite/test.patch 82 patch -p0 < ../sqlite/test.patch
83 patch -p0 < ../sqlite/mac_time_machine.patch
85 84
86 This will only be the case if all changes we make also update the corresponding 85 This will only be the case if all changes we make also update the corresponding
87 patch files. Therefore please remember to do that whenever you make a change! 86 patch files. Therefore please remember to do that whenever you make a change!
88 87
89 Descriptions of the changes we've made can be found at the bottom of this file. 88 Descriptions of the changes we've made can be found at the bottom of this file.
90 89
91 -------------------------------------------- 90 --------------------------------------------
92 91
93 How to run the SQLite tests for the Chromium version of SQLite on Linux. 92 How to run the SQLite tests for the Chromium version of SQLite on Linux.
94 93
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 os_unix.c, to allow Chromium's Posix VFS implementation in 169 os_unix.c, to allow Chromium's Posix VFS implementation in
171 WebKit/WebCore/platform/sql/chromium/SQLiteFileSystemChromiumPosix.cpp 170 WebKit/WebCore/platform/sql/chromium/SQLiteFileSystemChromiumPosix.cpp
172 to correctly implement the "unused file descriptors" logic in the 171 to correctly implement the "unused file descriptors" logic in the
173 xDlOpen() method. The new functions are 172 xDlOpen() method. The new functions are
174 chromium_sqlite3_get_reusable_file_handle(), 173 chromium_sqlite3_get_reusable_file_handle(),
175 chromium_sqlite3_update_reusable_file_handle() and 174 chromium_sqlite3_update_reusable_file_handle() and
176 chromium_sqlite3_destroy_reusable_file_handle(). Also, added the 175 chromium_sqlite3_destroy_reusable_file_handle(). Also, added the
177 chromium_sqlite3_fill_in_unix_sqlite3_file() function that calls 176 chromium_sqlite3_fill_in_unix_sqlite3_file() function that calls
178 fillInUnixFile(), which will be made static again as soon as a 177 fillInUnixFile(), which will be made static again as soon as a
179 WebKit patch using the new function lands. 178 WebKit patch using the new function lands.
179 - From mac_time_machine.patch:
180 When __APPLE__ and when creating a -journal file, determine if the database
181 for which the journal is being created has been excluded from being backed
182 up using Apple's Time Machine and if so then also exclude the journal. These
183 changes were made in pager.c with includes of Apple interfaces being made in
184 sqliteInt.h. In order to eliminate a symbol conflict with an Apple library
Mark Mentovai 2011/05/27 17:20:37 Extra space between “conflict” and “with.”
mrossetti 2011/05/27 19:20:35 Done.
185 after amalgamation it was also necessary to rename fts3_porter.c's 'cType'
186 to 'vOrCType'.
OLDNEW
« no previous file with comments | « no previous file | third_party/sqlite/amalgamation/sqlite3.c » ('j') | third_party/sqlite/src/src/pager.c » ('J')

Powered by Google App Engine
This is Rietveld 408576698