diff options
author | cevans@chromium.org <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-17 03:42:12 +0000 |
---|---|---|
committer | cevans@chromium.org <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-17 03:42:12 +0000 |
commit | 2678eacdb17a3d20b7d6712004fa7deb56f0e595 (patch) | |
tree | a5e6ae47f28bd90a8cf12bb524767f4e72fc437e /third_party/sqlite/icu-regexp.patch | |
parent | f3e9efcc1fec4094e474328b37d2e5a452456f5c (diff) | |
download | chromium_src-2678eacdb17a3d20b7d6712004fa7deb56f0e595.zip chromium_src-2678eacdb17a3d20b7d6712004fa7deb56f0e595.tar.gz chromium_src-2678eacdb17a3d20b7d6712004fa7deb56f0e595.tar.bz2 |
Update README and patches for recent icu REGEXP() fix.
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
Diffstat (limited to 'third_party/sqlite/icu-regexp.patch')
-rw-r--r-- | third_party/sqlite/icu-regexp.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/third_party/sqlite/icu-regexp.patch b/third_party/sqlite/icu-regexp.patch new file mode 100644 index 0000000..cb758ce --- /dev/null +++ b/third_party/sqlite/icu-regexp.patch @@ -0,0 +1,17 @@ +--- ext/icu/icu.c.orig 2009-12-16 15:43:51.000000000 -0800 ++++ ext/icu/icu.c 2009-12-15 15:23:34.000000000 -0800 +@@ -250,12 +250,12 @@ + UErrorCode status = U_ZERO_ERROR; + URegularExpression *pExpr; + UBool res; +- const UChar *zString = sqlite3_value_text16(apArg[1]); ++ const UChar *zString; + + /* If the left hand side of the regexp operator is NULL, + ** then the result is also NULL. + */ +- if( !zString ){ ++ if( nArg<2 || !(zString=sqlite3_value_text16(apArg[1])) ){ + return; + } + |