summaryrefslogtreecommitdiffstats
path: root/third_party/sqlite
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Add comments setting emacs and vim tab width and expansion variables.sgk@google.com2009-10-061-0/+6
| | | | | | | | BUG=none TEST=successful builds Review URL: http://codereview.chromium.org/256059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28089 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure my recent changes are represented in the patches.cevans@chromium.org2009-10-013-391/+1934
| | | | | | | | | | | Split out the fts2 changes a little. BUG=NONE TEST=Applied the patches in order to check for mistakes. Review URL: http://codereview.chromium.org/243068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27787 0039d316-1c4b-4281-b951-d872f2087c98
* Some simple doc updates for README.chromium:cevans@chromium.org2009-10-011-4/+17
| | | | | | | | | | | | | - Note which sqlite version we are based off. - Note some prerequisite packages for running the tests. - Note that a couple of tests fail. BUG=n/a TEST=n/a Review URL: http://codereview.chromium.org/257016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27738 0039d316-1c4b-4281-b951-d872f2087c98
* Fix numerous bugs in fts2 where a corrupt fts2 database could causecevans@chromium.org2009-09-301-237/+515
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | out-of-bounds reads and writes. Apologies for the size of the change but once I got cranking, it was about half a day to clean up most of the memory errors. This should not conflict with the in-progress sqlite-3.6.18 upgrade. I diffed sqlite-3.6.1 vs. sqlite-3.6.18 and the only changes to fts2.c were two spelling corrections in comments. These changes are not whimsical -- they do map to crashes we are seeing in the wild, e.g. 1) Crash in allocator just after leafReaderStep: http://crash/reportdetail?reportid=303de6d80936c11d 2) Crash in memcpy in leafReaderStep: http://crash/reportdetail?reportid=6b2c65459042e67c 3) Crash in memcpy in interiorReaderStep: http://crash/reportdetail?reportid=9f7ba5c321846302 4) Crash in loop in dlrStep trying to read past end of buffer: http://crash/reportdetail?reportid=61b2eb58397913b2 In addition, this will give relief to users who have (for whatever root cause) persistent corruption in their databases. Once you get into that state, Chrome might be unlaunchable or it might crash multiple times per day. There's a small chance this might help with our biggest crasher, as certain types of corrupt database could corrupt memory rather than crashing immediately. BUG=NONE TEST=Running with tricked out build with assert()s to check for false positives. Review URL: http://codereview.chromium.org/216026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27679 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a linker warning for sqlite compiled with a sufficiently optimizing ↵mdm@chromium.org2009-09-243-1/+21
| | | | | | | | | | | compiler. BUG=22635 TEST=none Review URL: http://codereview.chromium.org/231010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27078 0039d316-1c4b-4281-b951-d872f2087c98
* Update documentation on how to merge in new SQLite versions. No code change.mdm@chromium.org2009-09-234-87/+835
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/209058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26986 0039d316-1c4b-4281-b951-d872f2087c98
* Update sqlite to version 3.6.18, porting our patches.mdm@chromium.org2009-09-18468-37966/+148898
| | | | | | | | | Hopefully this will help to address some valgrind issues. BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26596 0039d316-1c4b-4281-b951-d872f2087c98
* Tweak Carlos' change to cater for the additional cases:cevans@chromium.org2009-09-171-3/+7
| | | | | | | | | | | | | | - More (ordered) segments than we expect - would previously cause stack-based buffer overflow. - Less segments than we expect, where the missing segments are a strict truncation rather than missing in the middle. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/209001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26493 0039d316-1c4b-4281-b951-d872f2087c98
* Set svn:eol-style = LF on some files in sqlite.mark@chromium.org2009-09-161-6294/+6294
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26388 0039d316-1c4b-4281-b951-d872f2087c98
* Force inclusion of build/common.gypi for all chromium gyp files.yaar@chromium.org2009-09-151-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Why: Simpler build code. If everybody includes it, it should be included automatically. Why now: The webkit chromium builds need it be specified, since can't default to build/common.gypi. What was done: 1. build/common.gypi's contents were moved to a new file build/gyp_chromium.gypi 2. tools/gyp/gyp_chromium was moved to build/gyp_chromium and made to automatically include build/gyp_chromium.gypi. 3. lots of gyp files were fixed to not refer to build/common.gypi any more. 4. o3d which also builds independently of chrome, was fixed to have a gyp_o3d that includes gyp_chromium.gypi too. 5. build/common.gypi was left empty, because there are some external projects that still refer to it. Things that are left to do after this patch is in: 1. The following external files (in other repositories) need to stop include common.gypi ./third_party/hunspell/hunspell.gyp ./third_party/icu/icu.gyp ./v8/tools/gyp/v8.gyp 2. Once nobody refers to common.gypi anymore, delete common.gypi -or- Delete gyp_chromium.gypi and move its content back to common.gypi Tested on mac, win and linux. On win, got a few unit tests errors on chrome bookmarks, which should not be related. I'm running again with clobber to verify. Review URL: http://codereview.chromium.org/206006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26302 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the Linux shared build.thestig@chromium.org2009-09-151-3/+7
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/203076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26291 0039d316-1c4b-4281-b951-d872f2087c98
* Remove svn:execute from many files in third_party/sqlite. No code change.mdm@chromium.org2009-09-15412-0/+0
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/205005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26235 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a crasher in full text search (sqlite)cpu@chromium.org2009-09-141-2/+5
| | | | | | | | | | | | | | | | - If the xxx_segdir table gets corrupted, you can have non-contiguous indexes (idx). - This causes an assertion in debug, and a crash later on on release With this change it will return 'corrupted db' We shall wait to get a couple more fixes to upstream to sqlite org. BUG=21377 TEST=see bug Review URL: http://codereview.chromium.org/203046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26118 0039d316-1c4b-4281-b951-d872f2087c98
* Temporarilly comment out SQLite load optimizationjar@chromium.org2009-09-101-1/+1
| | | | | | | | | | | | | This is meant to test to see if we can reduce SQL related crashes by removing the pre-load optimization. I also added a line of defensive code (initializing a pointer). r=brettw Review URL: http://codereview.chromium.org/203011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25822 0039d316-1c4b-4281-b951-d872f2087c98
* Replace icu38/icu38.gyp with icu/icu.gyp in gyp files replace all the ↵jshin@chromium.org2009-09-092-6/+11
| | | | | | | | | | | | | | | | | | references to third_party/icu38 and icudt38.dll with third_party/icu and icudt42.dll in vsprops and cc files. Also, update the icu data module name and the icu data symbol in icu_util.cc In addition, add a dummy C++ source file (xmldummy_mac.cc) to libxml to work around an Xcode bug (xmllint and xmlcatalog are linked with gcc rather than g++ even though it's linked to a "C++ library", libicuuc.a). Also updated is the test results for net_util_unittests. This will not be landed until deps/third_party/icu42 is ready for all 3 platforms (Windows VS build files are not yet updated there). BUG=8198 TEST=On all platforms, all the targets are built fine. Review URL: http://codereview.chromium.org/172031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25708 0039d316-1c4b-4281-b951-d872f2087c98
* Silence warnings in sqlite3.maruel@chromium.org2009-09-031-0/+3
| | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/195009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25372 0039d316-1c4b-4281-b951-d872f2087c98
* Fix issue 15261: Crash in history::TextDatabase::GetTextMatchessuzhe@chromium.org2009-09-029-8/+109
| | | | | | | | | | | | | | | The crash in history::TextDatabase::GetTextMatches is caused by unexpected result of tolower() in some locales such as tr_TR.UTF-8. This CL fixes this issue by using following statement to replace tolower(): (ch>='A' && ch<='Z') ? (ch-'A'+'a') : ch which will always return expected result for ascii characters regardless of current locale. BUG=15261 Crash in history::TextDatabase::GetTextMatches TEST=none Review URL: http://codereview.chromium.org/174387 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25141 0039d316-1c4b-4281-b951-d872f2087c98
* Chromium side patch for DB support on Linux.dumi@chromium.org2009-08-282-1/+11
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/174232 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24807 0039d316-1c4b-4281-b951-d872f2087c98
* Don't pass --atleast-version to pkg-config.agl@chromium.org2009-08-181-5/+8
| | | | | | | | | | | Turns out that pkgconfig produces no output if --atleast-version is given. Thus we list the cflags twice, once to catch the version error and then a second time to get the flags we need. (Reported by fta.) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23660 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: fix up use_system_{libxml,libxslt,sqlite3}agl@chromium.org2009-08-131-2/+11
| | | | | | | http://codereview.chromium.org/164450 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23324 0039d316-1c4b-4281-b951-d872f2087c98
* Remove *.vsprops files that are no longer referenced (or only havesgk@google.com2009-07-281-12/+0
| | | | | | | | | references to each other) anywhere in the Chromium code base. BUG=none TEST=rebuild Review URL: http://codereview.chromium.org/159523 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21873 0039d316-1c4b-4281-b951-d872f2087c98
* Stubs for DB-related methods in ChromiumBridge.dumi@chromium.org2009-07-202-1/+11
| | | | | | Review URL: http://codereview.chromium.org/159044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21130 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting patch 21083.dumi@chromium.org2009-07-202-11/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21084 0039d316-1c4b-4281-b951-d872f2087c98
* Stubs for DB-related methods in ChromiumBridge.dumi@chromium.org2009-07-202-1/+11
| | | | | | Review URL: http://codereview.chromium.org/159044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21083 0039d316-1c4b-4281-b951-d872f2087c98