Implement sql_mode_allowed and sql_mode_required

Description

Please implement the feature described here:

http://mysqlserverteam.com/feedback-request-enforcing-sql-mode/

This won't have any negative impact if all modes are allowed by default.

Environment

None

Status

Assignee

Unassigned

Reporter

Federico Razzoli

Labels

External issue ID

None

External issue ID

None

Priority

Major
Configure