sougatamondal / migratordotnet

Automatically exported from code.google.com/p/migratordotnet
0 stars 0 forks source link

IDbCommand objects are not being properly disposed of #125

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have encountered an issue with sqlite (managed provider) where the file 
will remain locked if the command object is not properly disposed of.  

To reproduce the issue, run a migration and attempt to delete the file after 
the migration has completed.  You will encounter an exception due to the file 
being locked by another process. You can verify that the migrations are 
causing the lock by monitoring the process with sysinternal's process 
explorer.   

Original issue reported on code.google.com by messorian@gmail.com on 22 Sep 2009 at 3:30

Attachments:

GoogleCodeExporter commented 8 years ago
Svn 146
Added the using statements around DbCommand execution.

Original comment by geoffl...@gmail.com on 25 Mar 2010 at 10:42