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

Different result between Budibase and MySQL CLI #15778

Open
Philippe-M opened this issue Mar 20, 2025 · 1 comment
Open

Different result between Budibase and MySQL CLI #15778

Philippe-M opened this issue Mar 20, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@Philippe-M
Copy link

Checklist

  • [ *] I have searched budibase discussions and github issues to check if my issue already exists

Hosting

  • Self
    • Method: docker compose
    • Budibase Version: 3.5.3
    • App Version: 3.5.3

Describe the bug
The result of a query is different when executed from Budibase compared to when it is executed directly in the MySQL console.

To Reproduce
Steps to reproduce the behavior:

  1. Go to query in datasource (mysql)
  2. Add this dump : MySQL-dump.zip
  3. Create a new query : checkSscc
  4. SELECT count(ssccNum) AS nbsscc FROM sdelivery WHERE ssccNum = "{{ ssccnum }}"
  5. add binding parameter : ssccnum
  6. save
  7. in new screen add form with et text field name : ssccnum. And add text field name result
  8. add button and add 3 action on click :
  9. reset to default value result field
  10. execute query checkSscc with parameter : {{ ssccnum.Value }}
  11. add update value to result field

Image

Image

Image

  1. In sdelivery table i've this data

Image

  1. Publish your app and test

In mysql console sdelivery table :

Image

My test

Image

But with mysql cli

Image

If i'm testing with "small" value

Image

Image

Desktop (please complete the following information):

  • OS: Linux Fedora 41
  • Browser Firefox
  • Version 136.01
@Philippe-M Philippe-M added the bug Something isn't working label Mar 20, 2025
Copy link

linear bot commented Mar 20, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant