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

Side by Side Diff: third_party/sqlite/attach-integer.patch

Issue 6990047: Import SQLite 3.7.6.3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/sqlite/amalgamation/sqlite3.h ('k') | third_party/sqlite/fts3.patch » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 --- src/attach.c.orig 2010-03-21 21:28:14.144127448 -0700
2 +++ src/attach.c 2010-03-21 21:55:58.224754199 -0700
3 @@ -313,6 +313,12 @@
4 #ifndef SQLITE_OMIT_AUTHORIZATION
5 if( pAuthArg ){
6 char *zAuthArg = pAuthArg->u.zToken;
7 + int i;
8 + char iBuf[32];
9 + if( sqlite3ExprIsInteger(pAuthArg, &i) ){
10 + sqlite3_snprintf(sizeof(iBuf), iBuf, "%d", pAuthArg->u.iValue);
11 + zAuthArg = iBuf;
12 + }
13 if( NEVER(zAuthArg==0) ){
14 goto attach_end;
15 }
OLDNEW
« no previous file with comments | « third_party/sqlite/amalgamation/sqlite3.h ('k') | third_party/sqlite/fts3.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698