summaryrefslogtreecommitdiff
path: root/native/ctsvc_sqlite.c
diff options
context:
space:
mode:
Diffstat (limited to 'native/ctsvc_sqlite.c')
-rwxr-xr-xnative/ctsvc_sqlite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/native/ctsvc_sqlite.c b/native/ctsvc_sqlite.c
index 9dfff89..92d3876 100755
--- a/native/ctsvc_sqlite.c
+++ b/native/ctsvc_sqlite.c
@@ -72,7 +72,7 @@ int ctsvc_db_open(void) {
ctsvc_db_data_company_delete_callback, NULL, NULL);
RETVM_IF(SQLITE_OK != ret, CONTACTS_ERROR_DB,
"sqlite3_create_function() Failed(%d)", ret);
- ret = sqlite3_create_function(ctsvc_db, "_NORMALIZE_INDEX_", 1, SQLITE_UTF8, NULL,
+ ret = sqlite3_create_function(ctsvc_db, "_NORMALIZE_INDEX_", 2, SQLITE_UTF8, NULL,
ctsvc_db_normalize_str_callback, NULL, NULL);
RETVM_IF(SQLITE_OK != ret, CONTACTS_ERROR_DB,
"sqlite3_create_function() Failed(%d)", ret);