aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Implemented FetchAssetMetadataSet in DB backends.Mike Mazur2009-03-091-0/+51
| | | | | | | | | | | | | This method fetches metadata for a subset of the entries in the assets database. This functionality is used in the ForEach calls in the asset storage providers in AssetInventoryServer. With this implemented, frontends such as the BrowseFrontend should now work. - MySQL: implemented, sanity tested - SQLite: implemented, sanity tested - MSSQL: implemented, not tested - NHibernate: not implemented
* * Refactored SOP.FolderID weirdness by removing calls to empty setter. YEs, ↵lbsa712009-02-251-4/+0
| | | | | | | I do realize the setter has to be there for legacy reasons, but since the calls will never acually DO anyhting, I'm removing them. * So, SOP.FolderID is actually a cruft field that should be removed.
* Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke2009-02-227-12/+29
| | | | | | | | | * Added log4net dependency to physxplugin in prebuild.xml. * Added missing m_log fields to classes. * Replaced Console.WriteLine with appropriate m_log.Xxxx * Tested that nant test target runs succesfully. * Tested that local opensim sandbox starts up without errors.
* * Applied a patch that: Added estate ban table to migration scripts and ↵lbsa712009-02-211-4/+4
| | | | | | | | | | | | | | nhibernate mapping. Refactored property getters and setters for estate ban object to support NHibernate. * Added estate ban table to migration scripts of all supported databases. * Added nhibernate mapping for EstateBans property of EstateSettings * Refactored property accessors for EstateBan object. * Added comments for EstateBan properties. * Ensured that NHibernate tests pass with NUnitGUI. * Ensured that nant test target passes. This fixes mantis #3210. Thank you, tlaukkan!
* * Upped VersionInfo to 0.6.3 and in the process, changed assemblyinfo to ↵lbsa712009-02-201-3/+3
| | | | 0.6.3.* to better track down dll ref and overwrite problems.
* Fix estate ban list persistence in MySQL and reenable testsMelanie Thielker2009-02-181-1/+1
|
* remove legacy pre-migration code for mysql grid adapter, who knew thisSean Dague2009-02-181-55/+0
| | | | | was still in there.
* remove all the very old create and upgrade sql files, these wereSean Dague2009-02-1717-288/+0
| | | | | outdated by migrations 6 months ago.
* * Moved the nifty MySQLEstateData connectionstring password-stripper out ↵lbsa712009-02-171-31/+15
| | | | into the Util project
* - remove the Metadata property from AssetBase and return all previousMike Mazur2009-02-171-17/+17
| | | | | | | | | properties as before - prefix private variables with m_ in AssetBase.cs - related to Mantis #3122, as mentioned in https://lists.berlios.de/pipermail/opensim-dev/2009-February/005088.html - all services will likely need to be upgraded after this commit
* AssetInventoryServer plugins can't be a dependency for the ↵Mike Mazur2009-02-161-1/+0
| | | | OpenSim.Data.MySQL addin.
* Rename NewAssetServer AssetInventoryServer and fully qualify withMike Mazur2009-02-161-1/+1
| | | | | OpenSim.Grid.AssetInventoryServer.
* - add OpenSim.Grid.AssetServer.Plugins.OpenSim as a dependency for ↵Mike Mazur2009-02-161-0/+1
| | | | | | | | OpenSim.Data.*.addin.xml - remove OpenSim.Grid.NewAssetServer.exe from bin/OpenSim.Data.addin.xml - add prebuild.xml section for OpenSim.Grid.AssetServer.Plugins.OpenSim.dll
* * optimized usings.lbsa712009-02-1214-77/+31
|
* Update svn properties, minor formatting cleanup.Jeff Ames2009-02-091-99/+99
|
* Thank you kindly, TLaukkan (Timmil) for a patch that:Charles Krinke2009-02-091-0/+99
| | | | | | | * Fixed and added athursv's BasicEstateTest * Added MySQLEstateTest * Added SQLiteEstateTest
* This changeset is the step 1 of 2 in refactoringDr Scofield2009-02-067-9/+9
| | | | | | | | | | | | | | | | | | | | OpenSim.Region.Environment into a "framework" part and a modules only part. This first changeset refactors OpenSim.Region.Environment.Scenes, OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region modules in OpenSim.Region.Environment. The next step will be to move region modules up from OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and then sort out which modules are really core modules and which should move out to forge. I've been very careful to NOT BREAK anything. i hope i've succeeded. as this is the work of a whole week i hope i managed to keep track with the applied patches of the last week --- could any of you that did check in stuff have a look at whether it survived? thx!
* - add OpenSim.Framework.AssetMetadata class. AssetBase is now composed of itMike Mazur2009-02-041-17/+17
| | | | | - trim trailing whitespace
* Rename IAssetProviderPlugin to IAssetDataPlugin aligning with the other data ↵Mike Mazur2009-02-031-1/+1
| | | | plugins.
* * If an orphaned group is found in the mysql or mssql databases (i.e. there ↵Justin Clarke Casey2009-01-291-1/+15
| | | | | | | | | | | | is no prim where UUID = SceneGroupID), then force one prim to have UUID = SceneGroupID. * A warning is posted about this on startup giving the location of the object * This should allow one class of persistently undeletable prims to be removed * This change should not cause any issues, but I still suggest that you backup your database beforehand * If this doesn't work for previously linked objects, then you could also try the workaround in http://opensimulator.org/mantis/view.php?id=3059 * This change has been made to mysql and mssql, but sqlite appears to work in a different way
* Slight cleanup of docs, removing trailing whitespace.Mike Mazur2009-01-281-6/+5
|
* * Remove unused prims.ParentID field from SQLite and MySQLJustin Clarke Casey2009-01-191-0/+5
| | | | | | | * Since this is a db change, as always I strongly recommend that you backup your database before updating to this revision * Haven't touched MSSQL in case I get it wrong - looking for some kind soul to take care of this.
* Avoid an invalid cast on legacy dataMelanie Thielker2009-01-181-1/+8
|
* * Added MySQL Grid unit testsSean Dague2009-01-141-0/+83
| | | | | From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
* * Apply http://opensimulator.org/mantis/view.php?id=2948Justin Clarke Casey2009-01-073-55/+55
| | | | | | | * This fixes adding and updating user profiles in MySQL on platforms that have a commas as a decimal separator * Thanks Tommil!
* change the drop order to see if this affects unit test failsSean Dague2009-01-051-1/+1
| | | | | From: Sean Dague <sdague@gmail.com>
* * Fix http://opensimulator.org/mantis/view.php?id=2889Justin Clarke Casey2008-12-231-2/+2
| | | | | | * Primshapes uuid wasn't being converted to raw (non-dashed) format before being used in primshapes delete command
* Update the MySQL connector to 5.2.5. Fixes Mantids#2673. Thanks for the ↵Homer Horwitz2008-12-221-1/+1
| | | | hint, jhurliman.
* change a UUID cast to an actual new UUID call to be consistant withSean Dague2008-12-081-1/+1
| | | | | the rest of the assignments here.
* fix an issue I found where primshapes weren't every being removedSean Dague2008-12-081-9/+82
| | | | | | | | because of a logic error. attempt to speed up deletes a bit by batching up all the primitem deletes and primshape deletes into single delete statements. This removes the lock/release/lock/release/lock/release for loop.
* * Resolve http://opensimulator.org/mantis/view.php?id=2743 and ↵Justin Clarke Casey2008-12-021-5/+3
| | | | | | | | | | | | http://opensimulator.org/mantis/view.php?id=2739 by no longer bothering to store or retrieve the local parentID in the region database * The original issue is that the now randomly generated local ids do not fit into the int parentID datatype * However, as far as I know it's actually pointless to store this local parent ID anyway (we already store the groupUUID), especially as we don't bother to store the localID (as opposed to UUID itself). * Conservatively, the actual column will be removed in a later commit
* Catch all possible exceptions in the mysql module. It throws non-mysqlMelanie Thielker2008-12-021-2/+2
| | | | | | exceptions as well.
* Fix the terrain loaderMelanie Thielker2008-12-011-1/+1
|
* More reverts. Revert the MySQL database module. This caused more issuesMelanie Thielker2008-12-011-474/+513
| | | | | | than it solved by trying to use, and then exhausting, the connection pool
* More changes to the MySQL adapter. take advantage of pooling and run lock-free.Melanie Thielker2008-11-301-507/+472
| | | | | | | | This should finally kill the "There is already an open data reader associated with this connection, which must be closed first" error that makes people's builds not save
* Update svn properties. Add copyright header. Minor formatting cleanup.Jeff Ames2008-11-301-1/+1
|
* Explicitly Dispose() all cmd objectsMelanie Thielker2008-11-291-1/+15
|
* * minor: remove mono compiler warningsJustin Clarke Casey2008-11-271-1/+0
|
* * Remove unused and largely unimplemented UpdateUserCurrentRegion()Justin Clarke Casey2008-11-271-5/+0
| | | | | | * please say if this causes you a problem
* * restore deleted method documentation, some to IRegionDataStore and some to ↵Justin Clarke Casey2008-11-261-1/+10
| | | | | | | | MySQLRegionData * I would like to keep documentation on methods, even if it sometimes seems obvious (and not all of these are)
* Yay for unit tests. Increased the type width of the prims and primshapesMelanie Thielker2008-11-262-75/+79
| | | | | | | tables, and changed the database modules to actually push these doubles down into the database layer.
* A migration to make the floats in prims table be doublesMelanie Thielker2008-11-261-0/+41
|
* A migration to convert the floats int the database to doubles.Melanie Thielker2008-11-262-0/+60
| | | | | | Maybe we don't have to say "Shift happens" as often anymore....
* Fix 2 of the failed tests. Cause terrain queries to return null when noMelanie Thielker2008-11-261-1/+1
| | | | | | | | | terrain is found, rather than a default "0" terrain. Remove the "remove object wrong region" test. UUIDs either are unique or they're not. This test tested a bad behavior I have chosen not to duplicate.
* Committing the LCO database layer. Native MySQL, no ADO. New reconnectMelanie Thielker2008-11-262-1472/+746
| | | | | | | | mechanism to prevent prim loss. Preserve link order on sim restart and drag copy. Fix drag-copied prims' inventories. Fix persistence of child prim inventories.
* Remove code from an experimantal patch that wasn't supposed to be committedMelanie Thielker2008-11-231-39/+13
|
* Don't serve texture preview from other people's objects if youMelanie Thielker2008-11-231-13/+39
| | | | | | havenever seen that texture before.
* Plumb in the presence notifications and region shutdown/restart messagesMelanie Thielker2008-11-231-0/+26
| | | | | | | | | from the presence module to the message server, through the user server and on into the database. This should fix the "Already logged in" issue that grids see after a sim crashes, or a user crashes out of a sim. Not yet a 100% solution for friends, but getting there.
* * refactor: Rip out SOP inventory from the partial into a separate classJustin Clarke Casey2008-11-211-1/+1
| | | | | | | | * SceneObjectPartInventory.cs isn't a particularly good name but it's probably not got a long life * A proper inventory interface to follow * Parallel changes for other inventory partial classes to follow at a later date
* Update svn properties, minor formatting cleanup.Jeff Ames2008-11-211-6/+6
|