﻿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
26991	Check for SQL_AUTO_IS_NULL fails on special database connections	Markus Gerards	nobody	"With #24675 a check for SQL_AUTO_IS_NULL is introduced in initializing a MySQL database connection. 

I have some special use case here in which this causes an error. I'm connecting via MySQL to an sphinxsearch database. It basically uses the MySQL query language but has some special features. `cursor.execute('SELECT @@SQL_AUTO_IS_NULL')` returns `None` and therefore `is_sql_auto_is_null_enabled` in `features.py` is failing.

I think a simple check if `cursor.fetchone()` has a result would solve the problem."	Bug	closed	Database layer (models, ORM)	1.10	Release blocker	fixed			Accepted	1	0	0	0	0	0
