Skip to content

Conversation

@CyrusNajmabadi
Copy link
Contributor

@ericsink For your consideration. Not sure how tests work here. Would def like to ensure this actually gets coverage. Thanks!

@ericsink
Copy link
Owner

I'll run tests and get back to you.

@ericsink ericsink merged commit 1c2868b into ericsink:master Feb 11, 2021
@ericsink
Copy link
Owner

I'm seeing a failing test case when the string is zero-length. I put in a quickie fix for that and I'm going to run the EFCore test suite, which is much more comprehensive.

@ericsink
Copy link
Owner

After my tweak for the empty string case, this passes all my tests and the EF Core tests.

@sharwell
Copy link
Contributor

@ericsink Is there a follow-up issue for modifying this method to call SQLite's UTF-16 method instead of relying on managed code to do the conversion?

@ericsink
Copy link
Owner

@sharwell Not yet. Sorry I'm a bit slow on responses -- I'm swamped with another project today. Feel free to log such an issue. I don't plan any objections, although I do want to make sure I understand exactly how the underlying C API works.

@ericsink ericsink mentioned this pull request Aug 25, 2021
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.

3 participants