Skip to content

Commit

Permalink
Fix crash when creating backup.
Browse files Browse the repository at this point in the history
  • Loading branch information
greyson-signal committed Feb 16, 2023
1 parent 8676cb2 commit e559198
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,8 @@ private static int exportTable(@NonNull String table,
StringBuilder statement = new StringBuilder(template);
SqlStatement.Builder statementBuilder = new SqlStatement.Builder();

statementBuilder.parameters = new ArrayList<>();

statement.append('(');

for (int i = 0; i < cursor.getColumnCount(); i++) {
Expand Down

0 comments on commit e559198

Please sign in to comment.