Skip to content

Conversation

@gilsonjoanelo
Copy link
Contributor

@gilsonjoanelo gilsonjoanelo commented Sep 24, 2024

included the isUnicode parameter in the StringLiteralQueryType method so that it can be turned off if desired. tests performed on Firebird 4 and Firebird 5

@gilsonjoanelo
Copy link
Contributor Author

code changed, do I send a new PR?

var length = MinimumStringQueryTypeLength(s);
EnsureStringLiteralQueryTypeLength(length);
return $"VARCHAR({length}) CHARACTER SET UTF8";
var charset = isUnicode ? " CHARACTER SET UTF8" : "";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use string.Empty instead of "".

@cincuranet
Copy link
Member

No need to send new PR.

@gilsonjoanelo
Copy link
Contributor Author

changed to string.empty

@cincuranet cincuranet merged commit 795b51b into FirebirdSQL:master Sep 26, 2024
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