Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 011651c5 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Frameworks: Fix scoping problem in SQLite"

parents 15e76d62 f02798b9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -223,8 +223,8 @@ void throw_sqlite3_exception(JNIEnv* env, int errcode,
    if (sqlite3Message) {
        String8 fullMessage;
        fullMessage.append(sqlite3Message);
        const char* errcode_msg = sqlite3_error_code_to_msg(errcode).c_str();
        fullMessage.appendFormat(" (code %s)", errcode_msg); // print extended error code
        std::string errcode_msg = sqlite3_error_code_to_msg(errcode);
        fullMessage.appendFormat(" (code %s)", errcode_msg.c_str()); // print extended error code
        if (message) {
            fullMessage.append(": ");
            fullMessage.append(message);