From 586381f8db3497c24c11f96234f1879b34e74bc7 Mon Sep 17 00:00:00 2001 From: "mpcomplete@google.com" Date: Tue, 6 Jan 2009 22:39:41 +0000 Subject: Upgrade our sqlite to 3.6.1, with the local changes made by Gears. I'm checking in the full sqlite tree to make upstream merges easier. This means we'll have generated sources split out from the originals. One important change this makes is that "BEGIN" now defaults to "BEGIN IMMEDIATE" rather than "BEGIN DEFERRED". This doesn't affect us because we don't use unqualified BEGIN statements. The full CL is too big for Rietveld. I'm splitting it into 2. This one is reviewable. The other CL is just a fresh drop of: //depot/googleclient/gears/opensource/third_party/sqlite_google Review URL: http://codereview.chromium.org/15067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7623 0039d316-1c4b-4281-b951-d872f2087c98 --- third_party/sqlite/google_generate_preprocessed.sh | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 third_party/sqlite/google_generate_preprocessed.sh (limited to 'third_party/sqlite/google_generate_preprocessed.sh') diff --git a/third_party/sqlite/google_generate_preprocessed.sh b/third_party/sqlite/google_generate_preprocessed.sh new file mode 100755 index 0000000..d28038f --- /dev/null +++ b/third_party/sqlite/google_generate_preprocessed.sh @@ -0,0 +1,26 @@ +#!/bin/bash +# +# Copyright 2007 Google Inc. All Rights Reserved. +# Author: shess@google.com (Scott Hess) + +g4 edit preprocessed/... + +mkdir bld +cd bld +../configure +FILES="keywordhash.h opcodes.c opcodes.h parse.c parse.h sqlite3.h" +OPTS="" +# These options should match those in ../../tools/config.mk. +OPTS="$OPTS -DSQLITE_OMIT_LOAD_EXTENSION=1" +OPTS="$OPTS -DSQLITE_TRANSACTION_DEFAULT_IMMEDIATE=1" +make "OPTS=$OPTS" $FILES +cp -f $FILES ../preprocessed + +cd .. +rm -rf bld + +g4 revert -a preprocessed/... + +# TODO(shess) I can't find config.h, which exists in the original +# third_party/sqlite/ directory. I also haven't found a client of it, +# yet, so maybe it's not a file we need. -- cgit v1.1