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