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

"Quick Filter" misses quotes if INT value selected in VARCHAR column #1386

Closed
niewouf opened this issue Jun 8, 2021 · 3 comments
Closed

Comments

@niewouf
Copy link

niewouf commented Jun 8, 2021

Preconditions

  • HeidiSQL version: 11.3.0.6311
  • Database type and version: MariaDB 10.3.16
  • OS: windows 10

Describe the bug

When pressing right mouse button on a VARCHAR data grid row field and choose "Quick Filter" the selected value or the value of the clipboard is not put into quotes anymore. Looks like it interpretes the value as INT if it only contains digits?!? This behaviour leads to much longer selection times or to complete unsuability of Heidi. Suggestion: maybe better to use the field type instead the value type to decide how to handle the filter string!

To Reproduce

MSISDN IN (49123456789)
instead of
MSISDN IN ('49123456789')
where column is defined
MSISDN VARCHAR(20) NOT NULL DEFAULT '0' COLLATE 'utf8_general_ci',

Screenshots or Crash reports

@ansgarbecker ansgarbecker added this to the v11.4 milestone Jun 9, 2021
@ansgarbecker
Copy link
Collaborator

Broken in 65cf4a5

@ansgarbecker
Copy link
Collaborator

Fixed in the next build.

@niewouf
Copy link
Author

niewouf commented Jun 9, 2021

thanks for the quick reply!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants