#16 Connection close after ExecuteScalar

closed
nobody
None
5
2007-03-23
2004-03-07
Waquesseix
No

Connection close after MySQLCommand::ExecuteScalar.
I think it's strange behavior. For example at
SqlCommand(SQL Server Driver) connection don't close
after calling.
This is not useful.

MySqlCommand.cs:339

// Call to ExecuteReader and force to close connection
after close DataReader
dr = ExecuteReader(true);

false should be passed.

Discussion

    • status: open --> closed