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

Issue 1757653002: [sqlite] sql::Recovery working under USE_SYSTEM_SQLITE. (Closed)

Created:
4 years, 9 months ago by Scott Hess - ex-Googler
Modified:
4 years, 9 months ago
Reviewers:
sdefresne
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@zzzzsql_ios_recover_review1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[sqlite] sql::Recovery working under USE_SYSTEM_SQLITE. Removes the USE_SYSTEM_SQLITE conditional sections in sql::Recover implementation and tests. third_party/sqlite includes sqlite_recover library for the USE_SYSTEM_SQLITE case, with recover.c compiled against the system version of SQLite. Additionally remove interiorCursorEOF() from recover.c, as it was unused, rather than adding a compile flag to allow it. BUG=584407 Committed: https://crrev.com/7776a37d651f0afdf61f150fba50884f2ad3ac5d Cr-Commit-Position: refs/heads/master@{#380076}

Patch Set 1 #

Total comments: 6

Patch Set 2 : copy_test_data_ios.gypi for test data. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -37 lines) Patch
M sql/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M sql/recovery.cc View 3 chunks +1 line, -18 lines 0 comments Download
M sql/recovery_unittest.cc View 2 chunks +0 lines, -4 lines 0 comments Download
M sql/sql.gyp View 1 1 chunk +12 lines, -0 lines 0 comments Download
M third_party/sqlite/BUILD.gn View 2 chunks +12 lines, -0 lines 0 comments Download
M third_party/sqlite/sqlite.gyp View 2 chunks +15 lines, -0 lines 0 comments Download
M third_party/sqlite/src/src/recover.c View 3 chunks +0 lines, -15 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 26 (9 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1757653002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1757653002/1
4 years, 9 months ago (2016-03-01 23:49:47 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/138814)
4 years, 9 months ago (2016-03-02 00:41:57 UTC) #4
Scott Hess - ex-Googler
https://codereview.chromium.org/1757653002/diff/1/sql/recovery_unittest.cc File sql/recovery_unittest.cc (right): https://codereview.chromium.org/1757653002/diff/1/sql/recovery_unittest.cc#newcode714 sql/recovery_unittest.cc:714: ASSERT_TRUE(PathService::Get(sql::test::DIR_TEST_DATA, &golden_path)); This is failing on iOS. I'm guessing ...
4 years, 9 months ago (2016-03-02 01:00:32 UTC) #5
Scott Hess - ex-Googler
Annotate for reviewer. https://codereview.chromium.org/1757653002/diff/1/third_party/sqlite/BUILD.gn File third_party/sqlite/BUILD.gn (right): https://codereview.chromium.org/1757653002/diff/1/third_party/sqlite/BUILD.gn#newcode228 third_party/sqlite/BUILD.gn:228: ] Since this is a custom-to-us ...
4 years, 9 months ago (2016-03-02 01:24:44 UTC) #6
Scott Hess - ex-Googler
Thanks for volunteering!
4 years, 9 months ago (2016-03-02 18:44:59 UTC) #8
Scott Hess - ex-Googler
https://codereview.chromium.org/1757653002/diff/1/sql/recovery_unittest.cc File sql/recovery_unittest.cc (right): https://codereview.chromium.org/1757653002/diff/1/sql/recovery_unittest.cc#newcode714 sql/recovery_unittest.cc:714: ASSERT_TRUE(PathService::Get(sql::test::DIR_TEST_DATA, &golden_path)); On 2016/03/02 01:00:32, Scott Hess wrote: > ...
4 years, 9 months ago (2016-03-07 21:50:14 UTC) #9
Scott Hess - ex-Googler
copy_test_data_ios.gypi for test data.
4 years, 9 months ago (2016-03-07 23:09:59 UTC) #10
Scott Hess - ex-Googler
https://codereview.chromium.org/1757653002/diff/1/sql/recovery_unittest.cc File sql/recovery_unittest.cc (right): https://codereview.chromium.org/1757653002/diff/1/sql/recovery_unittest.cc#newcode714 sql/recovery_unittest.cc:714: ASSERT_TRUE(PathService::Get(sql::test::DIR_TEST_DATA, &golden_path)); On 2016/03/07 21:50:13, Scott Hess wrote: > ...
4 years, 9 months ago (2016-03-07 23:11:15 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1757653002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1757653002/20001
4 years, 9 months ago (2016-03-07 23:11:56 UTC) #13
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/192641)
4 years, 9 months ago (2016-03-08 00:00:36 UTC) #15
sdefresne
lgtm
4 years, 9 months ago (2016-03-08 15:50:28 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1757653002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1757653002/20001
4 years, 9 months ago (2016-03-08 23:23:50 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/193429)
4 years, 9 months ago (2016-03-09 00:54:55 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1757653002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1757653002/20001
4 years, 9 months ago (2016-03-09 04:50:04 UTC) #22
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-09 05:30:39 UTC) #23
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/7776a37d651f0afdf61f150fba50884f2ad3ac5d Cr-Commit-Position: refs/heads/master@{#380076}
4 years, 9 months ago (2016-03-09 05:31:54 UTC) #25
Scott Hess - ex-Googler
4 years, 9 months ago (2016-03-09 06:20:38 UTC) #26
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/1778823002/ by shess@chromium.org.

The reason for reverting is:
https://build.chromium.org/p/chromium/builders/Linux/builds/72746/steps/compi...

FAILED: /b/build/slave/Linux/build/src/build/goma/client/gomacc
../../third_party/llvm-build/Release+Asserts/bin/clang -MMD -MF
obj/third_party/sqlite/src/src/sqlite_recover.recover_varint.o.d
-DSQLITE_ENABLE_FTS3 -DSQLITE_DISABLE_FTS3_UNICODE
-DSQLITE_DISABLE_FTS4_DEFERRED -DSQLITE_ENABLE_ICU
-DSQLITE_ENABLE_MEMORY_MANAGEMENT -DSQLITE_SECURE_DELETE
-DSQLITE_SEPARATE_CACHE_POOLS -DTHREADSAFE -DSQLITE_MAX_WORKER_THREADS=0
-DSQLITE_MAX_MMAP_SIZE=268435456 -DSQLITE_MMAP_READ_ONLY=1
-DSQLITE_DEFAULT_PCACHE_INITSZ=0 -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2
-D_FILE_OFFSET_BITS=64 -DCHROMIUM_BUILD -DCR_CLANG_REVISION=261368-1
-DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_PANGO=1 -DUSE_CAIRO=1
-DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DUSE_X11=1
-DUSE_CLIPBOARD_AURAX11=1 -DENABLE_WEBRTC=1 -DENABLE_MEDIA_ROUTER=1
-DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS
-DENABLE_TOPCHROME_MD=1 -DUSE_UDEV -DFIELDTRIAL_TESTING_ENABLED
-DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PDF=1 -DENABLE_PLUGINS=1
-DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1
-DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_PRINT_PREVIEW=1
-DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1
-DENABLE_SETTINGS_APP=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_MDNS=1
-DENABLE_SERVICE_DISCOVERY=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DFULL_SAFE_BROWSING
-DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DUSE_LIBPCI=1 -DUSE_OPENSSL=1
-DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DNDEBUG -DNVALGRIND
-DDYNAMIC_ANNOTATIONS_ENABLED=0 -Igen -fstack-protector
--param=ssp-buffer-size=4 -Werror -pthread -fno-strict-aliasing -Wall
-Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe
-fPIC -Xclang -load -Xclang
/b/build/slave/Linux/build/src/third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so
-Xclang -add-plugin -Xclang find-bad-constructs -Xclang
-plugin-arg-find-bad-constructs -Xclang check-templates -Xclang
-plugin-arg-find-bad-constructs -Xclang follow-macro-expansion
-momit-leaf-frame-pointer -mstack-alignment=16 -mstackrealign
-fcolor-diagnostics
-B/b/build/slave/Linux/build/src/third_party/binutils/Linux_x64/Release/bin
-Wheader-hygiene -Wno-char-subscripts -Wno-unneeded-internal-declaration
-Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing
-Wno-deprecated-register -Wno-inconsistent-missing-override
-Wno-shift-negative-value -Wno-unused-variable -msse2 -mfpmath=sse -mmmx -m32
--sysroot=/b/build/slave/Linux/build/src/build/linux/debian_wheezy_i386-sysroot
-O2 -fno-ident -fdata-sections -ffunction-sections -funwind-tables   -c
../../third_party/sqlite/src/src/recover_varint.c -o
obj/third_party/sqlite/src/src/sqlite_recover.recover_varint.o
../../third_party/sqlite/src/src/recover_varint.c:18:10: fatal error:
'sqlite3.h' file not found
#include "sqlite3.h"
.

Powered by Google App Engine
This is Rietveld 408576698