summaryrefslogtreecommitdiffstats
path: root/third_party/sqlite
Commit message (Collapse)AuthorAgeFilesLines
* Remove the comments setting emands and vim tab width and expansion variables.tony@chromium.org2011-07-111-6/+0
| | | | | | | | | | | | | | | | | These were added in r28089 (http://codereview.chromium.org/256059) but are unnecessary bloat for everyone to carry around, even those that don't use emacs or vim. In an earlier change, I added editor config files in src/tools/emacs/ and src/tools/vim/ so users of the appropriate editor can source those instead. BUG=none TEST=none Review URL: http://codereview.chromium.org/7310019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92046 0039d316-1c4b-4281-b951-d872f2087c98
* Fix authorizer issue with fts3 in WebDatabase.shess@chromium.org2011-06-234-0/+30
| | | | | | | | | | | | fts3 itself was authorized, but the most recent fts3 implementation calls PRAGMA page_size, and PRAGMA was not authorized. BUG=85522 TEST=See bug. Review URL: http://codereview.chromium.org/7230021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90163 0039d316-1c4b-4281-b951-d872f2087c98
* Remove msvs_guids from third_party, webkit, tools and views.tony@chromium.org2011-06-141-1/+0
| | | | | | | | BUG=28727 Review URL: http://codereview.chromium.org/7146001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89100 0039d316-1c4b-4281-b951-d872f2087c98
* Mac SQLite TimeMachine File Exclusionsmrossetti@chromium.org2011-05-316-11/+196
| | | | | | | | | | | | | | | | | When an SQLite database has been excluded from Time Machine backups also exclude its -journal. (In fts3_porter.c: had to rename the cType due to a conflict with an included Apple library.) BUG=74053 TEST=Manually: 1) Launch browser. 2) Run the following command: /usr/bin/xattr-2.6 ~/Library/Application\ Support/Chromium/Default/History-journal 3) Verify that the following is shown as one of the results of running the xattr-2.6 command: com.apple.metadata:com_apple_backup_excludeItem Review URL: http://codereview.chromium.org/6990066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87391 0039d316-1c4b-4281-b951-d872f2087c98
* Loosen corruption test in fts3.c while debugging.shess@chromium.org2011-05-262-2/+2
| | | | | | | | | | | | The gist of the test was right, but an uninitialized variable means it's not making the test intended. Will follow up with a fix later. BUG=84057, 83946 TEST=See bug 83946. Review URL: http://codereview.chromium.org/7075014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86864 0039d316-1c4b-4281-b951-d872f2087c98
* Import SQLite 3.7.6.3.shess@chromium.org2011-05-25551-46366/+150129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ran through the import script in third_party/sqlite/README.Chromium, including the SQLite test suite. A few minor errors under oserror-1.1.[123], I suspect my Linux reference machine is becoming outdated. SQLite changes are going to be hard/impossible to review. It's a year and a half of changes, might as well be a new package. Removed patches which are no longer necessary: icu-regepx.patch is already present safe-tolower.patch is already present attach-integer.patch no longer relevant For attach-integer.patch, the code has been refactored. The failure in http://crbug.com/38745 no longer occurs (ATTACH 12345 as db; attaches the SQLite database "12345" rather than crashing). Tweak test.patch for modern era. Adjusted webdb.patch for new flag. Clean up fts3.patch. fts3 has been substantially refactored, so much of the patch no longer applies. Reviewed fts3_write.c and many of the patches are now handled appropriately. I found one issue in fts3.c, and I'm still reviewing it. This will be ongoing. Disabled WAL (Write Ahead Log) and fts4 support for now as unknown unknowns. BUG=71731 TEST=*EVERYTHING* continues to work. Review URL: http://codereview.chromium.org/6990047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86616 0039d316-1c4b-4281-b951-d872f2087c98
* Final gyp patch to make use of the new cross-platform POSIX defines ↵tony@chromium.org2011-05-231-4/+4
| | | | | | | | toolkit_uses_gtk, os_posix, and use_x11. For lists of source files that use a mix of POSIX and Gtk APIs, toolkit_uses_gtk was given precedence. Solaris was made to use ALSA also, as libasound has been ported to FreeBSD and Solaris as a wrapper around the native OSS. Review URL: http://codereview.chromium.org/7055003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86352 0039d316-1c4b-4281-b951-d872f2087c98
* Globally replace <(library) with static_libraryevan@chromium.org2011-05-191-1/+1
| | | | | | | | | | | We provided <(library) as a variable to support a peculiar build configuration on Linux. We no longer support that build configuration, so we can simplify this code to no longer use a variable. Review URL: http://codereview.chromium.org/7051014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86004 0039d316-1c4b-4281-b951-d872f2087c98
* SQLite util.c somehow had CRLF.shess@chromium.org2011-05-191-1094/+1094
| | | | | | | | | | | This is making it impossible to test a change to it on the trybots. BUG=none TEST=none Review URL: http://codereview.chromium.org/7034042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85932 0039d316-1c4b-4281-b951-d872f2087c98
* Convert to SQLite amalgamation.shess@chromium.org2011-04-1322-4748/+109503
| | | | | | | | | | | | | | | | SQLite generally distributes using a script-generated "Giant file of stuff", called the amalgamation. It's apparently faster, due to more opportunities for optimization, but for Chromium the attraction is that we don't need as many patches to SQLite. Imports of future versions of SQLite should be simpler, so long as an Ubuntu box is available. BUG=71731 TEST=automated testing and watching closely. Review URL: http://codereview.chromium.org/6835006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81471 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup SQLite 3.6.18 import.shess@chromium.org2011-04-1257-6791/+1579
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Get things spic-n-span for converting to the amalgamation, then SQLite 3.7.x. sqlite3Preload -> sqlite3_preload because in the amalgamation, sqlite3_ is the key bit to make sure things aren't marked static. AFAICT, SQLite 3.6.18 was not imported correctly last time, throwing up spurious deltas. Re-import and re-apply patches. Remove a bunch of Gears-related stuff. Quite some time ago the Chromium and Gears SQLite imports were brought into line, but they were never fully shared. Nowadays these are completely useless: - remove fts1 patches. - add a Chromium test to make sure fts1 doesn't sneak in. - drop the Symbian stuff. - drop database poisoning. Pull out the WebDatabase patch into a patch file. Move ICU shell changes into a distinct patch file. Pull out testing patches into a separate test.patch. BUG=71731 TEST=automated testing and watching closely. Review URL: http://codereview.chromium.org/6823057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81296 0039d316-1c4b-4281-b951-d872f2087c98
* Cleaning up third_party readmes and adding a template for future use.cdn@chromium.org2011-03-161-1/+2
| | | | | | | | | | | The next step is a presubmit rule that will make people use the template. We are doing this so that we can better track dependancy versions. BUG=None TEST=N/A Review URL: http://codereview.chromium.org/6610030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78316 0039d316-1c4b-4281-b951-d872f2087c98
* Drop the icu version number from the name of icu data file on Windows. jshin@chromium.org2011-03-102-12/+8
| | | | | | | | | | | | | | | | | | | | | This is to avoid having to change a bunch of build/release configuration files everytime ICU version is changed. This will bring in the following two CLs in ICU and googleurl: http://codereview.chromium.org/6625032 http://codereview.chromium.org/6623060 BUG=74076 TEST=Chrome can be built and a binary built runs fine with an accompanying Chrome CL in place. Review URL: http://codereview.chromium.org/6624060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77684 0039d316-1c4b-4281-b951-d872f2087c98
* Add SQLITE_NO_SYNC define for ChromeOS buildgspencer@chromium.org2011-02-221-0/+10
| | | | | | | | | | | | | | | | Despite obvious warnings about not using this flag in deployment, we are turning off sqlite sync in ChromeOS and relying on the underlying journaling filesystem to do error recovery properly. It's much faster. BUG=chromium-os:12328 TEST=Build both with and without SQLITE_NO_SYNC, and measured power usage at the SATA rail. Power reduction is about 2-3%, and light use so far produced no data corruption. Review URL: http://codereview.chromium.org/6544025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75623 0039d316-1c4b-4281-b951-d872f2087c98
* sqlite: disable some warningsevan@chromium.org2011-02-081-1/+10
| | | | | | | | | The SQLite project doesn't fix compiler warnings(!), instead preferring automated testing. Review URL: http://codereview.chromium.org/6456008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74201 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "SQLite: logging to track down SQLITE_IOERR_WRITE on waterfall."shess@chromium.org2011-02-081-16/+2
| | | | | | | | | | | | | | | | Remove diagnostic logging, as I no longer see it firing on the waterfall. Original revision: http://codereview.chromium.org/3473026 http://src.chromium.org/viewvc/chrome?view=rev&revision=60938 BUG=66938,56427 TEST=none Review URL: http://codereview.chromium.org/6410093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74163 0039d316-1c4b-4281-b951-d872f2087c98
* Prepare to revert WebKit patch http://trac.webkit.org/changeset/68310 ↵phajdan.jr@chromium.org2011-01-262-22/+90
| | | | | | | | | | | | | | | because of stability issues (race conditions detected by tsan, possibly leading to crashes). Revert "Update sqlite's README.chromium with a note to keep webkit side" (http://crrev.com/62151). Revert "Remove our local modifications to sqlite's os_unix.c now that" (http://crrev.com/60761). BUG=70589, 22208 TEST=none Review URL: http://codereview.chromium.org/6330011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72673 0039d316-1c4b-4281-b951-d872f2087c98
* Call sqlite3Preload() only when not using system sqlite. Modify therohitrao@chromium.org2011-01-261-4/+0
| | | | | | | | | | sqlite3.h header to not include a stub definition of sqlite3Preload(). BUG=None TEST=None Review URL: http://codereview.chromium.org/6356012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72637 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 68506 - Update sqlite to 3.7.3.jhawkins@chromium.org2010-12-07483-85453/+32233
| | | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/5626002 TBR=jhawkins@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68531 0039d316-1c4b-4281-b951-d872f2087c98
* Update sqlite to 3.7.3.jhawkins@chromium.org2010-12-07510-32233/+85453
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/5626002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68506 0039d316-1c4b-4281-b951-d872f2087c98
* Update sqlite's README.chromium with a note to keep webkit sidephajdan.jr@chromium.org2010-10-111-0/+5
| | | | | | | | | | | in sync. BUG=22208 TEST=none Review URL: http://codereview.chromium.org/3570009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62151 0039d316-1c4b-4281-b951-d872f2087c98
* Allow building with system-provided sqlite. Last change (tm).phajdan.jr@chromium.org2010-10-051-1/+1
| | | | | | | | | | | | | This is upstreaming a Gentoo Linux patch. This patch prevents having multiple conflicting copies of sqlite3Preload at link time, and also fixes a dependency problem that could result in a header mismatch. The gyp file change ensures that we propagate the USE_SYSTEM_SQLITE preprocessor symbol to all targets that need it. BUG=22208 TEST=none Review URL: http://codereview.chromium.org/3519002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61489 0039d316-1c4b-4281-b951-d872f2087c98
* SQLite: logging to track down SQLITE_IOERR_WRITE on waterfall.shess@chromium.org2010-09-291-2/+16
| | | | | | | | | | | | Will remove once it is determined what is happening, or if the fail still happens but this logging doesn't fire. BUG=56427 TEST=none Review URL: http://codereview.chromium.org/3473026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60938 0039d316-1c4b-4281-b951-d872f2087c98
* Remove our local modifications to sqlite's os_unix.c now thatphajdan.jr@chromium.org2010-09-282-90/+17
| | | | | | | | | | | | | | | | http://trac.webkit.org/changeset/68310 has landed. They are no longer necessary, and are not used. This brings our sqlite copy a little closer to the upstream version and is a part of an effort to allow compiling with the system-provided sqlite. BUG=50769, 22208 TEST=none Review URL: http://codereview.chromium.org/3390032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60761 0039d316-1c4b-4281-b951-d872f2087c98
* Move sqlite preprocessed directory one level up, it's not from upstream.phajdan.jr@chromium.org2010-09-1610-9/+9
| | | | | | | | | | | This is a follow-up to one of my earlier patches. TEST=none BUG=22208, 50769 Review URL: http://codereview.chromium.org/3301019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59717 0039d316-1c4b-4281-b951-d872f2087c98
* Revert my two latest changes with git, seems that drover is broken.phajdan.jr@chromium.org2010-09-157-0/+10331
| | | | | | | | | | | TBR=shess BUG= TEST= Review URL: http://codereview.chromium.org/3380008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59578 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 59573 - Move sqlite preprocessed directory one level up, it's not ↵phajdan.jr@chromium.org2010-09-159-10333/+2
| | | | | | | | | | | | | | | from upstream. This is a follow-up to one of my earlier patches. TEST=none BUG=22208, 50769 Review URL: http://codereview.chromium.org/3301019 TBR=phajdan.jr@chromium.org Review URL: http://codereview.chromium.org/3389007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59575 0039d316-1c4b-4281-b951-d872f2087c98
* Move sqlite preprocessed directory one level up, it's not from upstream.phajdan.jr@chromium.org2010-09-159-2/+2
| | | | | | | | | | This is a follow-up to one of my earlier patches. TEST=none BUG=22208, 50769 Review URL: http://codereview.chromium.org/3301019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59573 0039d316-1c4b-4281-b951-d872f2087c98
* Move us closer to passing the license check script.phajdan.jr@chromium.org2010-08-301-0/+1
| | | | | | | | TEST=none BUG=28291 Review URL: http://codereview.chromium.org/3245008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57895 0039d316-1c4b-4281-b951-d872f2087c98
* Add a stub implementation of sqlite3Preload when building with system sqlite.phajdan.jr@chromium.org2010-08-261-0/+4
| | | | | | | | | | | This fixes a compile problem when using -Duse_system_sqlite=1 TEST=none BUG=22208 Review URL: http://codereview.chromium.org/3134039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57578 0039d316-1c4b-4281-b951-d872f2087c98
* Another speculative fix.phajdan.jr@chromium.org2010-08-191-0/+1
| | | | | | | | | TBR=evan BUG=22208 Review URL: http://codereview.chromium.org/3149021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56624 0039d316-1c4b-4281-b951-d872f2087c98
* Speculative fix for WebKit builder compile failures.phajdan.jr@chromium.org2010-08-181-0/+5
| | | | | | | | BUG=22208 TBR=evan git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56623 0039d316-1c4b-4281-b951-d872f2087c98
* Move bundled copy of sqlite one level deeper to better separate itphajdan.jr@chromium.org2010-08-18769-140/+155
| | | | | | | | | | | | | from our patches, READMEs, etc. Also, add a shim header so we can use it for building with system sqlite. TEST=compile BUG=22208 Review URL: http://codereview.chromium.org/3108030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56619 0039d316-1c4b-4281-b951-d872f2087c98
* Backport SQLite http://www.sqlite.org/src/ci/b8b465ed2cphajdan.jr@chromium.org2010-08-094-10/+72
| | | | | | | | | | | | This brings some improvements for ctype's locale-sensitive handling of some ASCII characters, see http://crbug.com/15261. TEST=none BUG=50769 Review URL: http://codereview.chromium.org/2884069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55504 0039d316-1c4b-4281-b951-d872f2087c98
* Unfork one of our SQLite patches, icu-regexp.patchphajdan.jr@chromium.org2010-08-032-19/+16
| | | | | | | | | | | See discussion: http://thread.gmane.org/gmane.comp.db.sqlite.general/58457 TEST=none BUG=50769 Review URL: http://codereview.chromium.org/2806096 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54809 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a fts3 typo/bug.dumi@chromium.org2010-07-032-2/+2
| | | | | | | | | | TEST=crash doesn't seem to happen anymore BUG=47059 Review URL: http://codereview.chromium.org/2829042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51584 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the FTS3 patch.dumi@chromium.org2010-06-162-52/+55
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2849007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49898 0039d316-1c4b-4281-b951-d872f2087c98
* Turn on fts3.dumi@chromium.org2010-06-091-1/+3
| | | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/2562002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49333 0039d316-1c4b-4281-b951-d872f2087c98
* Porting fts2.patch to fts3. fts2.patch was created indumi@chromium.org2010-06-036-274/+2592
| | | | | | | | | | | | http://codereview.chromium.org/243068 and fts2.c was patched in http://codereview.chromium.org/216026. BUG=none TEST=none Review URL: http://codereview.chromium.org/1638019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48812 0039d316-1c4b-4281-b951-d872f2087c98
* GYP changes for FreeBSD and OpenBSDpvalchev@google.com2010-05-141-2/+2
| | | | | | Review URL: http://codereview.chromium.org/1480002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47327 0039d316-1c4b-4281-b951-d872f2087c98
* Add licensing info for another set of projects in third_party.evan@chromium.org2010-03-222-0/+9
| | | | | | | | | | Allow special cases in licenses.py for when we pull code directly from an upstream and can't check in a README.chromium. (In particular, we'll need this for WebKit.) Review URL: http://codereview.chromium.org/1075015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42288 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash with "ATTACH 12345 as db". Believed to not have security impact.cevans@chromium.org2010-03-223-0/+25
| | | | | | | | | BUG=38745 TEST="ATTACH 12345 as db" Review URL: http://codereview.chromium.org/1108003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42255 0039d316-1c4b-4281-b951-d872f2087c98
* Update README and patches for recent icu REGEXP() fix.cevans@chromium.org2009-12-172-1/+22
| | | | | | | | | | | This fix was reported to sqlite upstream. TEST=NONE BUG=NONE Review URL: http://codereview.chromium.org/506048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34807 0039d316-1c4b-4281-b951-d872f2087c98
* Don't access out-of-bounds arguments.cevans@chromium.org2009-12-161-2/+2
| | | | | | | | | TEST=select REGEXP('abc') from sqlite_master BUG=30510 Review URL: http://codereview.chromium.org/501038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34754 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up os_unix.c.dumi@google.com2009-11-131-24/+18
| | | | | | | | | | | TEST=none BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=31888 Review URL: http://codereview.chromium.org/384075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31936 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 31888 - This change depended on a new version of WebKit levin@chromium.org2009-11-131-21/+24
| | | | | | | | | which is no longer present in chromium a the moment. TBR=dumi@google.com git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31889 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up os_unix.c.dumi@google.com2009-11-131-24/+21
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/384075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31888 0039d316-1c4b-4281-b951-d872f2087c98
* Revert the patch that makes SQLite interpret BEGIN as BEGIN IMMEDIATE,dumi@google.com2009-11-125-229/+205
| | | | | | | | | | | | and go back to the default behavior which treats BEGIN as BEGIN DEFERRED. TEST=none BUG=none Review URL: http://codereview.chromium.org/387030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31763 0039d316-1c4b-4281-b951-d872f2087c98
* Change os_unix.c to expose some functions that allows the xDlOpendumi@google.com2009-11-122-22/+90
| | | | | | | | | | | | method in Chromium's custom Posix VFS implementation to correctly implement the 'unused file descriptors' logic. TEST=none BUG=26041 Review URL: http://codereview.chromium.org/377039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31750 0039d316-1c4b-4281-b951-d872f2087c98
* Enable sqlite3_release_memory().pkasting@chromium.org2009-10-271-1/+2
| | | | | | | | BUG=23400 TEST=none Review URL: http://codereview.chromium.org/333034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30239 0039d316-1c4b-4281-b951-d872f2087c98