-
Notifications
You must be signed in to change notification settings - Fork 350
Open
Labels
Description
MySqlDataSource has methods to create connections and commands. It might be a performance enhancement (from creating less garbage) to pool and reuse these objects.
Disposing a MySqlConnection or MySqlCommand would clear its internal values and return it to the MySqlDataSource.
MySqlConnection.CreateCommand could also pull from the pool if the MySqlConnection were associated with a MySqlDataSource.
It might also be possible to pool MySqlDataReader objects.