Merge "bug:2868568 reduce the message level from error to warning"

This commit is contained in:
Vasu Nori
2010-09-27 11:39:44 -07:00
committed by Android (Google) Code Review

View File

@@ -91,7 +91,7 @@ static void registerLoggingFunc(const char *path) {
LOGV("Registering sqlite logging func \n");
int err = sqlite3_config(SQLITE_CONFIG_LOG, &sqlLogger, (void *)createStr(path, 0));
if (err != SQLITE_OK) {
LOGE("sqlite_config failed error_code = %d. THIS SHOULD NEVER occur.\n", err);
LOGW("sqlite returned error = %d when trying to register logging func.\n", err);
return;
}
loggingFuncSet = true;