Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

MySQL Warning: Statement may not be safe to log in statement form #4156

Closed
anonymous-piwik-user opened this Issue · 2 comments

2 participants

Anonymous Piwik user Matthieu Aubry
Anonymous Piwik user

When using replication, MySQL Reports the following error:

mysqld: [Warning] Statement may not be safe to log in statement format. Statement: DELETE FROM piwik_log_conversion_item WHERE idvisit <= '61828' LIMIT 100000

The solution is to add ORDER_BY to the statement. See https://dev.mysql.com/doc/refman/5.1/en/replication-features-limit.html

Matthieu Aubry
Owner

In ce6254e: Thanks for the report. Could you apply this patch and confirm it is working for you?

Fixes #4156 Adding ORDER BY clause when DELETING so that it works with replication
https://dev.mysql.com/doc/refman/5.1/en/replication-features-limit.html

Matthieu Aubry
Owner

In e1a7aca: Thanks for the report. Could you apply this patch and confirm it is working for you?

Fixes #4156 Adding ORDER BY clause when DELETING so that it works with replication
https://dev.mysql.com/doc/refman/5.1/en/replication-features-limit.html
(cherry picked from commit ce6254e)

Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Matthieu Aubry mattab Thanks for the report. Could you apply this patch and confirm it is w…
…orking for you?

Fixes #4156 Adding ORDER BY clause when DELETING so that it works with replication
https://dev.mysql.com/doc/refman/5.1/en/replication-features-limit.html
ce6254e
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Matthieu Aubry mattab Thanks for the report. Could you apply this patch and confirm it is w…
…orking for you?

Fixes #4156 Adding ORDER BY clause when DELETING so that it works with replication
https://dev.mysql.com/doc/refman/5.1/en/replication-features-limit.html
(cherry picked from commit ce6254e)
e1a7aca
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.