Loading core/jni/android_database_SQLiteDatabase.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -470,7 +470,7 @@ void throw_sqlite3_exception_errcode(JNIEnv* env, int errcode, const char* messa if (errcode == SQLITE_DONE) { throw_sqlite3_exception(env, errcode, NULL, message); } else { char temp[20]; char temp[21]; sprintf(temp, "error code %d", errcode); throw_sqlite3_exception(env, errcode, temp, message); } Loading core/jni/android_database_SQLiteProgram.cpp +4 −4 Original line number Diff line number Diff line Loading @@ -45,8 +45,8 @@ static jfieldID gStatementField; static void native_compile(JNIEnv* env, jobject object, jstring sqlString) { char buf[32]; sprintf(buf, "android_database_SQLiteProgram->native_compile() not implemented"); char buf[65]; strcpy(buf, "android_database_SQLiteProgram->native_compile() not implemented"); throw_sqlite3_exception(env, GET_HANDLE(env, object), buf); return; } Loading Loading @@ -152,8 +152,8 @@ static void native_clear_bindings(JNIEnv* env, jobject object) static void native_finalize(JNIEnv* env, jobject object) { char buf[32]; sprintf(buf, "android_database_SQLiteProgram->native_finalize() not implemented"); char buf[66]; strcpy(buf, "android_database_SQLiteProgram->native_finalize() not implemented"); throw_sqlite3_exception(env, GET_HANDLE(env, object), buf); return; } Loading Loading
core/jni/android_database_SQLiteDatabase.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -470,7 +470,7 @@ void throw_sqlite3_exception_errcode(JNIEnv* env, int errcode, const char* messa if (errcode == SQLITE_DONE) { throw_sqlite3_exception(env, errcode, NULL, message); } else { char temp[20]; char temp[21]; sprintf(temp, "error code %d", errcode); throw_sqlite3_exception(env, errcode, temp, message); } Loading
core/jni/android_database_SQLiteProgram.cpp +4 −4 Original line number Diff line number Diff line Loading @@ -45,8 +45,8 @@ static jfieldID gStatementField; static void native_compile(JNIEnv* env, jobject object, jstring sqlString) { char buf[32]; sprintf(buf, "android_database_SQLiteProgram->native_compile() not implemented"); char buf[65]; strcpy(buf, "android_database_SQLiteProgram->native_compile() not implemented"); throw_sqlite3_exception(env, GET_HANDLE(env, object), buf); return; } Loading Loading @@ -152,8 +152,8 @@ static void native_clear_bindings(JNIEnv* env, jobject object) static void native_finalize(JNIEnv* env, jobject object) { char buf[32]; sprintf(buf, "android_database_SQLiteProgram->native_finalize() not implemented"); char buf[66]; strcpy(buf, "android_database_SQLiteProgram->native_finalize() not implemented"); throw_sqlite3_exception(env, GET_HANDLE(env, object), buf); return; } Loading