id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 24675,"Skip ""SET SQL_AUTO_IS_NULL = 0"" on versions of MySQL that don't need it",ssjunior,ssjunior,"Every connection mada to MySQL is issuing an unnecessary query setting SQL_AUTO_IS_NULL to 0. Since MySQL this is not needed anymore and this can be set in the server variables too. Avoiding this query will result in better performance. This shoud be a settings options that allow user to enable or disable this unnecessary query. http://dev.mysql.com/doc/refman/5.6/en/server-system-variables.html#sysvar_sql_auto_is_null System Variable Name sql_auto_is_null Variable Scope Global, Session Dynamic Variable Yes Permitted Values Type boolean Default 0 ",Cleanup/optimization,closed,"Database layer (models, ORM)",1.8,Normal,fixed,mysql,,Accepted,1,0,0,0,0,0