mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-24 16:57:50 +00:00
parent
9fb67b9f03
commit
a2d04f4806
@ -143,7 +143,7 @@ public class FullBackupExporter extends FullBackupBase {
|
||||
for (int i=0;i<cursor.getColumnCount();i++) {
|
||||
if (cursor.getType(i) == Cursor.FIELD_TYPE_STRING) {
|
||||
statement.append('\'');
|
||||
statement.append(cursor.getString(i));
|
||||
statement.append(cursor.getString(i).replace("'", "\\'"));
|
||||
statement.append('\'');
|
||||
} else if (cursor.getType(i) == Cursor.FIELD_TYPE_FLOAT) {
|
||||
statement.append(cursor.getFloat(i));
|
||||
|
Loading…
x
Reference in New Issue
Block a user