sqlitepp
sqlitepp copied to clipboard
Single C++ STL header wrapper for the SQLite3 db
origin code: case SQLITE_INTEGER: _row.push_back(field_type(sqlite3_column_int(stmt_, i), ::sqlite3_column_name(stmt_, i))); here sqlite3_column_int should change to sqlite3_column_int64, or we'll get wrong value if value > 2G _row.push_back(field_type(sqlite3_column_int64(stmt_, i), ::sqlite3_column_name(stmt_, i)));
I ran into trouble trying to use this library in Android Studio with the NDK. I got complaints about these two functions because they have non-null return values but the...