sql_mode can be set in session, therefore we should look for ANSI_QUOTES in session variable instead of global variable (#677)

* issue-671: get ASNI_QUOTES from session sql_mode instead of GLOBAL sql_mode
This commit is contained in:
Soledad208 2024-11-07 15:56:31 +07:00 committed by GitHub
commit ebb37ae7a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 131 additions and 1 deletions

View file

@ -282,6 +282,12 @@
- import_tasks: issue-64560.yaml
tags:
- issue-64560
- name: Test ANSI_QUOTES
ansible.builtin.import_tasks:
file: issue-671.yaml
tags:
- issue-671
# Test that mysql_user still works with force_context enabled (database set to "mysql")
# (https://github.com/ansible-collections/community.mysql/issues/265)