Only 4.1 and later supports setting sql_mode on a per session basis

According to [MySQL 4.1 Docs](http://dev.mysql.com/doc/refman/4.1/en/server-sql-mode.html) its not possible to set sql_mode on a session basis before version 4.1.