def set_sql_mode(self, sql_mode):
if self._server_version < (<NUM_LIT:4>, <NUM_LIT:1>):<EOL><INDENT>raise NotSupportedError("<STR_LIT>")<EOL><DEDENT>self.query("<STR_LIT>" % sql_mode)<EOL>self.store_result()<EOL>
Set the connection sql_mode. See MySQL documentation for
        legal values.