Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MultiRemove fails on Windows #755

Closed
1 task done
tero-paananen opened this issue Feb 17, 2022 · 5 comments · Fixed by #772
Closed
1 task done

MultiRemove fails on Windows #755

tero-paananen opened this issue Feb 17, 2022 · 5 comments · Fixed by #772
Labels
bug Something isn't working platform: Windows This is Windows specific

Comments

@tero-paananen
Copy link

tero-paananen commented Feb 17, 2022

What happened?

MultiRemove fails in this row in Windows:

CHECK(BindString(statement, i + 1, keys[i]));

fix is to call CHECK_SQL_OK(BindString(statement, i + 1, keys[i]));

sqlite3_bind_text returns SQLITE_OK see more from https://www.sqlite.org/c3ref/bind_blob.html

Version

1.15.15

What platforms are you seeing this issue on?

  • Windows

System Information

System:
    OS: Windows 10 10.0.19044
    CPU: (12) x64 Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz
    Memory: 17.89 GB / 31.90 GB
  Binaries:
    Node: 12.22.5 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.5 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
    npm: 6.14.14 - C:\Program Files\nodejs\npm.CMD
    Watchman: Not Found
  SDKs:
    Android SDK: Not Found
    Windows SDK:
      AllowDevelopmentWithoutDevLicense: Enabled
      AllowAllTrustedApps: Enabled
      Versions: 10.0.18362.0, 10.0.19041.0
  IDEs:
    Android Studio: Not Found
    Visual Studio: 16.11.31829.152 (Visual Studio Community 2019)
  Languages:
    Java: Not Found
  npmPackages:
    @react-native-community/cli: Not Found
    react: Not Found
    react-native: 0.65.1 => 0.65.1
    react-native-windows: 0.65.9 => 0.65.9
  npmGlobalPackages:
    *react-native*: Not Found

Steps to Reproduce

Try to remove from storage

@tero-paananen tero-paananen added the bug Something isn't working label Feb 17, 2022
@tido64
Copy link
Member

tido64 commented Feb 17, 2022

@vmoroz: Can you please have a look? Or forward this to someone who can?

@tido64 tido64 added the platform: Windows This is Windows specific label Feb 17, 2022
@tero-paananen
Copy link
Author

@vmoroz: Can you please have a look? Or forward this to someone who can?

I would be good to fix this soon

@vmoroz
Copy link
Contributor

vmoroz commented Mar 14, 2022

@tero-paananen, @tido64 thank you for reminding! Sorry, it completely dropped off my radar. I will fix it this week.

@vmoroz
Copy link
Contributor

vmoroz commented Mar 14, 2022

@tero-paananen, thank you for reporting the issue!
It seems that there is nothing else to do besides fixing the use of the macro as it mentioned in the issue.
Do not hesitate to submit a PR for issues like this in future. :)

@krizzu
Copy link
Member

krizzu commented Mar 15, 2022

🎉 This issue has been resolved in version 1.16.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working platform: Windows This is Windows specific
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants