aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/Migration.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* dispose of the DbCommand used to execute migrations after we've finished ↵Justin Clark-Casey (justincc)2010-04-231-1/+2
| | | | | | with it rather than within the loop disposing of it within the loop causes Mono.Data.Sqlite.dll to get upset, and it's the wrong behaviour anyway
* Insert a ROLLBACK command on migration step failure. This ensures thatMelanie2010-04-221-0/+2
| | | | | updating the Migrations table will not occur in a partial transaction, which would be auto-rolled-back later.
* New LL login service is working! -- tested in standalone only. Things still ↵Diva Canto2010-01-011-3/+5
| | | | missing from response, namely Library and Friends. Appearance service is also missing.
* Make Migratons continue int he face of an error. This is required for theMelanie2009-12-281-1/+8
| | | | | | | friends migration, which MAY error out if the old friends table is not in the same database as the new one being created. This error is nonfatal, it would only mean that friends will not be migrated automatically. It would bite people with nonstandard configurations.
* Reverting the memory leak patch for MySQL. Problems have been reported with ↵John Hurliman2009-11-021-41/+38
| | | | the grid server after running for several hours
* * MySQL data tests now pass by fixing a bad fix for a bad cast on the asset ↵John Hurliman2009-10-041-38/+41
| | | | | | 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)
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-011-1/+1
| | | | LICENSE.txt.
* * optimized usings.lbsa712009-02-121-1/+1
|
* Reinstate setting timeout to never, the default 30 second timeout was ↵idb2008-12-081-1/+1
| | | | causing problems with big migrations
* * Reapply http://opensimulator.org/mantis/view.php?id=2710Justin Clarke Casey2008-12-021-2/+8
| | | | | | | | | * This patch gets NHibernate working *** PLEASE NOTE: This patch now requires the libmono-oracle2.0-cil library to be installed on Ubuntu (to stop the System.Data.Oracle missing failure) *** * Not sure what the dependency is on other distros. Adding this info to http://opensimulator.org/wiki/Build_Instructions would be most welcome * Adds Castle.* libraries that were missing last time (note, dlls have been added from http://downloads.sourceforge.net/nhibernate/NHibernate-2.0.1.GA-bin.zip)
* * Unforunately it turns out not to be that simple. Revert the rest of r7560 ↵Justin Clarke Casey2008-12-011-8/+2
| | | | for now.
* * From Mantis#2701 - Implements NHibernate data adapter, adds support for ↵Adam Frisby2008-12-011-2/+8
| | | | | | | MsSql2005 to NHibernate. * Patch courtesy of Adminotech and realXtend. Thanks!
* remove some extraneous debug messages from migrationsSean Dague2008-09-201-2/+0
|
* * minor: spelling mistake and message tidying on Migration messagesJustin Clarke Casey2008-09-121-5/+5
|
* Mantis #2095Melanie Thielker2008-09-011-5/+5
| | | | | | | Thank you, RuudL, for a complete adaptation of migration and estate data to MSSQL, and the updating of the RegionData handling in MSSQL.
* Formatting cleanup.Jeff Ames2008-08-181-16/+16
|
* dr scofield's warning safari:Dr Scofield2008-06-271-23/+23
| | | | | | | | | | * commented out [Obsolete(....)] attributes where no replacement feature was available: if we want to attribute code that we think needs to be reworked, we should define a new attribute and use that instead (together with a little tool to retrieve all the attributed code then) * commenting out unused variables
* set CommandTimeout = 0 in the migration commands so that longSean Dague2008-06-161-0/+2
| | | | | | | migrations (like converting asset ids) don't run into the normal 30 second kill switch.
* be a bit more verbose about what we are doing on the migrationSean Dague2008-06-161-0/+7
| | | | | | side so that people don't think we're hung.
* fix nhibernate driver so that it starts (based on the appearanceSean Dague2008-06-161-1/+2
| | | | | | | | | | changes it wouldn't come up). include embedded dialect specific sql files for nhibernate migrations figure out how to get the raw db connection so that migrations can work with nhibernate. create initial migration for NHibernate + SQLite + Assets.
* change some messages on the migrations front to be Sean Dague2008-06-161-5/+4
| | | | | | more clear
* the beginning of the great id format migration. This makesSean Dague2008-06-161-0/+2
| | | | | | | | | asset uuids no longer binary. I've tested this migration a few times, and it seems working in all the scenarios I've found but it wouldn't hurt to backup your asset db before running this as it does touch a very sensitive part of our content system.
* Update svn properties, clean up formatting, refactor out duplicate ↵Jeff Ames2008-06-131-7/+16
| | | | hard-coded port numbers.
* check in working migration code fore SQLite. This Sean Dague2008-06-111-1/+7
| | | | | | | | is now using migrations instead of the old model to create tables. Tested for existing old tables, and for creating new ones.
* I'm going to need the Version property to manage Sean Dague2008-06-101-0/+6
| | | | | | | migrating from the old to the new system. Silly legacy code.
* update of migration code to be more sane on versionSean Dague2008-06-101-40/+37
| | | | | | | tracking, and support sub types that we'll need for nhibernate.
* Update svn properties. Formatting cleanup.Jeff Ames2008-06-101-8/+16
|
* actually create and populate the migrations table correctly.Sean Dague2008-06-091-8/+25
|
* migrations seem to not break anything at this point. Sean Dague2008-06-091-12/+24
| | | | | | | Tomorrow I'll start trying to integrate them into sqlite to see if this works right for table migration.
* move Migration support into OpenSim.Data, because itSean Dague2008-06-091-0/+198
really turned out to be small enough to not need it's own assembly