You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't like so many changes in so many source files. Looks like over-complicated and resembles a patchwork quilt. Sorry.
And this is just an initial work...)
I prefer not to increase the FB ODBC driver code entropy, since it's already very very high.
And the lack of testing tools, as well as near-to-zero test coverage, make such a changes vastly dangerous.
And all this only to support a case that has never been seen since the FB ODBC driver foundation)) i.e. "for ages")
What options can I suggest:
You make a fork of the ODBC driver (concerning all this unicode stuff) and maintain it by your own, occasionally merging a master branch from here to your fork. And I can mention your fork somewhere here.
OR Try to make your changes more systemic. For example, you can create some wrapper/helper class(es) that encapsulate all the charset conversion logic. As the first step, you implement these helpers into the existing codebase (i.e. pure refactoring, without any new functionality). We merge it and test it and it's okay. We can then override these helper layer to implement some new functionality, that will resolve a ticket Unicode support on Linux #247. If we do this carefully, we can switch between legacy and new unicode conversion logic simply with a #define or some feature-flag.
OR Cover all the code you touch with unit tests, for all possible scenarios & platforms, and consider merging your patches as is. Suppose that's a kind of non-science fiction)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.