Skip to content

Commit

Permalink
Fix issues #536 #537 #538 #542
Browse files Browse the repository at this point in the history
  • Loading branch information
jepiqueau committed Apr 23, 2024
1 parent 4b0dabf commit 187d602
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# 5.7.3-2 (2024-04-23)

### Bug Fixes

- Fix escape string in multi row statements values via DatabaseUtils issue#537 (PR from lasher23)
- Fix(readme): missing closing code symbol issue#542 (PR from mirsella)
- Fix Multiple Row Statement Values case insensitive issue#536
- Fix delete useless semicolon issue#538 (PR#539 from lasher23)

# 5.7.3-1 (2024-04-22)

### Chore
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<a href="https://www.npmjs.com/package/@capacitor-community/sqlite"><img src="https://img.shields.io/npm/dw/@capacitor-community/sqlite?style=flat-square" /></a>
<a href="https://www.npmjs.com/package/@capacitor-community/sqlite"><img src="https://img.shields.io/npm/v/@capacitor-community/sqlite?style=flat-square" /></a>
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
<a href="#contributors-"><img src="https://img.shields.io/badge/all%20contributors-41-orange?style=flat-square" /></a>
<a href="#contributors-"><img src="https://img.shields.io/badge/all%20contributors-43-orange?style=flat-square" /></a>
<!-- ALL-CONTRIBUTORS-BADGE:END -->
</p>

Expand Down Expand Up @@ -410,6 +410,10 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<a href="https://github.com/msfstef" title="msfstef"><img src="https://avatars.githubusercontent.com/u/12274098?v=4" width="50" height="50" /></a>
<a href="https://github.com/ChrisHSandN" title="
ChrisHSandN"><img src="https://avatars.githubusercontent.com/u/13466620?v=4" width="50" height="50" /></a>
<a href="https://github.com/lasher23" title="
lasher23"><img src="https://avatars.githubusercontent.com/u/24244618?v=4" width="50" height="50" /></a>
<a href="https://github.com/mirsella" title="
mirsella"><img src="https://avatars.githubusercontent.com/u/45905567?v=4" width="50" height="50" /></a>
</p>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ public JSObject multipleRowsStatement(String statement, JSONArray valuesJson, St
}

public String extractQuestionMarkValues(String input) {
Pattern pattern = Pattern.compile("VALUES \\((\\?(?:,\\s*\\?\\s*)*)\\)");
Pattern pattern = Pattern.compile("(?i)VALUES \\((\\?(?:,\\s*\\?\\s*)*)\\)");
Matcher matcher = pattern.matcher(input);

if (matcher.find()) {
Expand Down

0 comments on commit 187d602

Please sign in to comment.