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

Side by Side Diff: third_party/sqlite/src/ext/misc/regexp.c

Issue 901033002: Import SQLite 3.8.7.4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Chromium changes to support SQLite 3.8.7.4. Created 5 years, 10 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
OLDNEW
1 /* 1 /*
2 ** 2012-11-13 2 ** 2012-11-13
3 ** 3 **
4 ** The author disclaims copyright to this source code. In place of 4 ** The author disclaims copyright to this source code. In place of
5 ** a legal notice, here is a blessing: 5 ** a legal notice, here is a blessing:
6 ** 6 **
7 ** May you do good and not evil. 7 ** May you do good and not evil.
8 ** May you find forgiveness for yourself and forgive others. 8 ** May you find forgiveness for yourself and forgive others.
9 ** May you share freely, never taking more than you give. 9 ** May you share freely, never taking more than you give.
10 ** 10 **
(...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after
751 sqlite3 *db, 751 sqlite3 *db,
752 char **pzErrMsg, 752 char **pzErrMsg,
753 const sqlite3_api_routines *pApi 753 const sqlite3_api_routines *pApi
754 ){ 754 ){
755 int rc = SQLITE_OK; 755 int rc = SQLITE_OK;
756 SQLITE_EXTENSION_INIT2(pApi); 756 SQLITE_EXTENSION_INIT2(pApi);
757 rc = sqlite3_create_function(db, "regexp", 2, SQLITE_UTF8, 0, 757 rc = sqlite3_create_function(db, "regexp", 2, SQLITE_UTF8, 0,
758 re_sql_func, 0, 0); 758 re_sql_func, 0, 0);
759 return rc; 759 return rc;
760 } 760 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698