aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/MySQLUserAccountData.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove the using() constructs from the new style database modules; they causedMelanie2009-10-061-38/+36
| | | | | | | | the underlying connection of a reader or command to be closed before the reader or command itself. Added the proper logic to Close and dispose items in CloseDBConnection. Readers and Connections need Close(), Commands need Dispose(), in the order Reader, Command, Connection. Also reinstated 80-column-friendly formatting
* Added CloseDBConnection() to replace the old CloseReaderCommand(). This will ↵John Hurliman2009-10-051-2/+6
| | | | close the MySQLConnection attached to a MySQLCommand. I'm not sure if this accounts for every time a database connection needs to be closed, but it matches up 1:1 with the places where the database connection was previously being closed
* * MySQL data tests now pass by fixing a bad fix for a bad cast on the asset ↵John Hurliman2009-10-041-73/+68
| | | | | | Local member in MySQLAssetData * First pass at applying the using(){} pattern to IDisposable objects. Always use the using pattern on IDisposable objects whenever possible, do not manually call .Close() or .Dispose() unless there is no other way to write the code. This pass mostly covers OpenSim.Data.MySQL, and should have no functional change (tests still pass)
* Add copyright header. Formatting cleanup.Jeff Ames2009-09-291-1/+1
|
* minor: remove some mono compiler warningsJustin Clark-Casey (justincc)2009-09-251-1/+1
|
* Revising the user account data interfaces. No user functionality yetMelanie2009-09-061-0/+180