Skip to content

Use sqlite_string_mode not sqlite_unicode (#21)#22

Merged
Grinnz merged 1 commit intoGrinnz:masterfrom
AdamWill:dbd-unicode-change
Aug 1, 2021
Merged

Use sqlite_string_mode not sqlite_unicode (#21)#22
Grinnz merged 1 commit intoGrinnz:masterfrom
AdamWill:dbd-unicode-change

Conversation

@AdamWill
Copy link
Contributor

DBD::SQLite wants to move away from the use of sqlite_unicode
in favor of setting sqlite_string_mode. This requires
version 1.68 or higher of DBD::SQLite.

Signed-off-by: Adam Williamson awilliam@redhat.com

@AdamWill
Copy link
Contributor Author

I was assuming there would be CI to check my perl. :D

@Grinnz
Copy link
Owner

Grinnz commented Jul 30, 2021

Travis is pretty much unusable now and I havent set up github actions on my repos yet.

@AdamWill
Copy link
Contributor Author

Thanks, wasn't sure how those worked. I'll tweak those shortly.

@AdamWill AdamWill force-pushed the dbd-unicode-change branch from a00d545 to a88f3a4 Compare July 30, 2021 20:54
DBD::SQLite wants to move away from the use of `sqlite_unicode`
in favor of setting `sqlite_string_mode`. This requires
version 1.68 or higher of DBD::SQLite.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
@AdamWill AdamWill force-pushed the dbd-unicode-change branch from a88f3a4 to 383298a Compare July 30, 2021 20:55
@Grinnz Grinnz merged commit ecd891a into Grinnz:master Aug 1, 2021
@Grinnz
Copy link
Owner

Grinnz commented Aug 1, 2021

Thanks!

Grinnz added a commit that referenced this pull request Aug 2, 2021
  - Increase DBD::SQLite dependency to 1.68 to support and use sqlite_string_mode over sqlite_unicode (#22, Adam Williamson)
  - The default options now set sqlite_string_mode to DBD_SQLITE_STRING_MODE_UNICODE_FALLBACK,
    unless sqlite_unicode is specified explicitly in from_string or from_filename. This is equivalent
    to the previous behavior but ensures that DBD::SQLite will not return malformed strings.
  - Support wal_mode option to enable WAL journaling mode, which is still currently the default,
    but may not be set by default in a future release.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants