0

I found some strange query in mysql logs(general_log_file)
Query SET SESSION sql_mode = REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE( @@sql_mode, "STRICT_ALL_TABLES,", ""), ",STRICT_ALL_TABLES", ""), "STRICT_ALL_TABLES", ""), "STRICT_TRANS_TABLES,", ""), ",STRICT_TRANS_TABLES", ""), "STRICT_TRANS_TABLES", "") Can anyone explain what is this? i am using Centos(7) + mariadb(5.5.56) + codeigniter(3.1.4) Thanks

1 Answer 1

3

The query disables strict sql mode in MySQL / MariaDB on session level (e.g. for the current connection), thus reducing MySQL's compliance with the sql standards.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.