- 19 Nov, 2014 1 commit
-
-
Martin Storsjo authored
In 32 bit ABIs, ino_t is a 32 bit type, while the st_ino field in struct stat is 64 bits wide in both 32 and 64 bit processes. This means that struct stat can expose inode numbers that are truncated when stored in an ino_t. The SDCard fuse daemon (/system/bin/sdcard) uses raw pointer values as inode numbers, so on 64 bit devices, we're very likely to observe inodes that need > 32 bits to represent. The fileHasMoved function in sqlite compares the stored inode value with a new one from stat, and when the stored value is truncated, this check will falsely indicate that the file has been moved. When the fileHasMoved function triggers, other functions start returning errors indicating that the database is in read-only mode. NOTE: Bionic differs from glibc in that struct stat's st_ino is *always* 64 bits wide, and not the same width as ino_t. bug: https://code.google.com/p/android/issues/detail?id=79994 bug: 18434265 (cherry picked from commit eef2c431) Change-Id: I832e0084e86c9a31519764d87df499ece05b488d
-
- 12 Sep, 2014 1 commit
-
- 11 Sep, 2014 3 commits
-
-
Jeff Vander Stoep authored
* commit '3e10bcc1': Fix world-readable permissions due to sqlite race condition
-
Jeff Vander Stoep authored
* commit 'c4d807da': Fix world-readable permissions due to sqlite race condition
-
Jeff Vander Stoep authored
* commit 'd4f30d0d': Fix world-readable permissions due to sqlite race condition
-
- 10 Sep, 2014 1 commit
-
-
Jeff Vander Stoep authored
Existing code uses umask() to temporarily modify the file permissions for open(). A race condition can occur where a second thread reads in the temporary value, saves it, and then restores the file to the temporary value resulting in world-readable permissions. Backporting a known fix: http://www.sqlite.org/src/info/6c4c2b7dba Bug: 15288755 Change-Id: I89779f3a5ba0bec181d6614b29b1e26ea4f4f049
-
- 20 Aug, 2014 1 commit
-
-
Jeff Brown authored
Bug: 15526305 Change-Id: Ib2c187345f845a0f86e25851b7d657c73e9b4ee4
-
- 10 Jul, 2014 2 commits
-
-
Elliott Hughes authored
Change-Id: I0b88ae01fced0f44880c30aa303c6828b6cdb821
-
Elliott Hughes authored
* commit '50af37d7': Switch sqlite to the new icu.
-
- 09 Jul, 2014 2 commits
-
-
Elliott Hughes authored
-
Elliott Hughes authored
Change-Id: I16a4b5c0d7b46a4edd61d75ba017669b0daafc90
-
- 07 Jun, 2014 3 commits
-
-
Nick Kralevich authored
* commit 'bb31ef21': sqlite: upgrade to SQLite 3.8.4.3
-
Nick Kralevich authored
Downloaded from http://www.sqlite.org/2014/sqlite-amalgamation-3080500.zip $ sha256sum sqlite-amalgamation-3080500.zip d9d5a78a5449baa54b2bc62f74f756af81ce74f953f7f0f39aa8b47b2d862029 sqlite-amalgamation-3080500.zip dist/orig contains the stock sqlite3 code, as packaged in the ZIP file above. dist contains a copy of dist/orig, but with the Android.patch file applied. Please see Android.patch for a list of differences between stock and Android. Change-Id: I675bc26116b8f02aa3ce841e48fa2ef940ffbe61
-
Nick Kralevich authored
Downloaded from http://www.sqlite.org/snapshot/sqlite-amalgamation-201405271818.zip $ sha256sum sqlite-amalgamation-3080403.zip 8bac4a9cf70270ca514db9b740e0950e7fca0c656119b42454376b7d5769b3d8 sqlite-amalgamation-3080403.zip dist/orig contains the stock sqlite3 code, as packaged in the ZIP file above. dist contains a copy of dist/orig, but with the Android.patch file applied. Please see Android.patch for a list of differences between stock and Android. Bug: 15288755 (cherry picked from commit 8fecf56c) Change-Id: Id5061a0206749fd2f41f733558a9f53f21e69d1d
-
- 29 May, 2014 1 commit
-
-
Nick Kralevich authored
Downloaded from http://www.sqlite.org/snapshot/sqlite-amalgamation-201405271818.zip $ sha256sum sqlite-amalgamation-3080403.zip 8bac4a9cf70270ca514db9b740e0950e7fca0c656119b42454376b7d5769b3d8 sqlite-amalgamation-3080403.zip dist/orig contains the stock sqlite3 code, as packaged in the ZIP file above. dist contains a copy of dist/orig, but with the Android.patch file applied. Please see Android.patch for a list of differences between stock and Android. Bug: 15288755 Change-Id: I05f0c302ecb0e6c251cbe8c888f07cf2e0498855
-
- 28 May, 2014 3 commits
-
-
Ian Rogers authored
Change-Id: I8e622c411fbd176372b657f9e1fec9402e14db65
-
Ian Rogers authored
* commit '8aa61a9d': Remove deprecated WITH_HOST_DALVIK.
-
Ian Rogers authored
-
- 23 May, 2014 1 commit
-
-
Ian Rogers authored
Bug: 13751317 Change-Id: I64e66eb34dbe10b39ec2e8c37da0038705b4931f
-
- 08 May, 2014 1 commit
-
-
Ying Wang authored
Change-Id: I7d1f542121dcb7f54fa53f19f46ed6723b618741
-
- 07 May, 2014 3 commits
- 06 Mar, 2014 1 commit
-
-
Nick Kralevich authored
-
- 03 Mar, 2014 7 commits
-
-
Nick Kralevich authored
* commit 'e6db643f': disable fts3_tokenizer
-
Nick Kralevich authored
* commit 'f6d9fa68': disable fts3_tokenizer
-
Nick Kralevich authored
* commit '20f7eeb8': disable fts3_tokenizer
-
Nick Kralevich authored
* commit '9ff7db77': disable fts3_tokenizer
-
Nick Kralevich authored
* commit 'f764dbb5': disable fts3_tokenizer
- 28 Feb, 2014 3 commits
-
-
Nick Kralevich authored
Regenerate Android.patch using the following command: diff -r -u -d orig . | grep -v "Only in" > Android.patch Change-Id: Ica6b9d5c65019b363eaa1aa46ee1fed03815f28c
-
Nick Kralevich authored
Bug: 13177500 Change-Id: I1581c7ca8ac6d931375fc2cbcbe13f43513ce3c7 (cherry picked from commit a586535b)
-
Nick Kralevich authored
Bug: 13177500 Change-Id: I1581c7ca8ac6d931375fc2cbcbe13f43513ce3c7
-
- 25 Feb, 2014 1 commit
-
-
Jeff Brown authored
This makes the "icu" tokenizer available for applications to use with full text search. Bug: 5465099 Change-Id: I5ad9790ee126d69b68eb3d8907320e74fb89219d
-
- 05 Sep, 2013 2 commits
- 24 Jul, 2013 1 commit
-
-
Colin Cross authored
Change-Id: I21a4e18f0d2aacaf76421b62d693c2ae7eb08f30
-
- 08 Jul, 2013 2 commits
-
-
Jean-Baptiste Queru authored
* commit '11ce9fa9': Fix for fts backward compatibility of previous commit
-
Jean-Baptiste Queru authored
-