aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Thank you kindly, Tlaukkan (Tommil) for a patch that:Charles Krinke2009-01-1210-597/+679
| | | | | | | | | Cleaned up schema creation scripts of MySQL to compliant form and created SQLite scripts from them. In future it would be optimal if scripts from different databases could be generated from MySQL scripts to ensure optimal consistency between schemas of different databases. Did not yet review column names. ID columns seem to have variety in naming which can be confusing.
* Fix some C#3.0-isms that broke build in Mono 1.2.6 and MSVC# 2005.Homer Horwitz2009-01-121-4/+4
| | | | | Fixes Mantis #2989.
* Fixed some svn propertiesHomer Horwitz2009-01-122-134/+134
|
* * Apply http://opensimulator.org/mantis/view.php?id=2965Justin Clarke Casey2009-01-126-0/+260
| | | | | | | * Adds first version of MsSql2005Dialect support for NHibernate * Thanks mpallari
* * Apply http://opensimulator.org/mantis/view.php?id=2980Justin Clarke Casey2009-01-121-0/+4
| | | | | | | | * Add single conversion to MSSQLManager.DbTypeFromType * May resolve storage of prim information under MSSQL * Thanks SirKimba
* Thank you kindly, Tlaukkan (Tommil) for a patch that:Charles Krinke2009-01-1117-130/+750
| | | | | | | | | | | | | | | Fixed all NHibernate unit tests by implementing missing persistency methods, tables, columns and fixing bugs in the existing implementation. Two minor changes to classes outside NHibernate module: Added Scene instantiation for SceneObjectGroup in OpenSim.Data.Tests.BasicRegionTest as this was required by the NHibernate persistency. In the process added also mock constructor to Scene which only populates RegionInfo in the scene which is used by ScenePart.RegionUUID. NHibernate module is still in experimental state and has not been tested at opensim region or ugaim runtime configuration. Adding unit tests to build is not yet advisable nor using NHibernate module in any production setup.
* Thank you kindly, Tlaukkan (Tommil) for a patch that:Charles Krinke2009-01-101-45/+73
| | | | | | | | | | | | NHibernate MySQL migration was not working as mysql dialect is MySQL5Dialect now instead of MySQLDialect which is the migration sub folder name. Fixed this by adding simple dialect to migration sub type mapping to manager initialization to avoid need of renaming migration script folder each time MySQL version changes. Removed shared session and changed session to be constructed per call as NHibernate session is not thread safe. Refactored manager member names to be according to the naming convention (full words in camel case).
* Update svn properties, minor formatting cleanup.Jeff Ames2009-01-081-5/+5
|
* * 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!
* Thank you kindly, StrawberryFride for a patch that:Charles Krinke2009-01-073-629/+592
| | | | | | | Solves the problem of unable to load prim items on region start in MSSQL. The error was in the MSSQLRegionData code that loads objects from the database, due to reliance on the ParentID field that is not used.
* * Stop bothering to populate and retrieve the parent local ids for MSSQL, as ↵Justin Clarke Casey2009-01-051-2/+0
| | | | | | | | was done for SQLite and MySQL in r7586 * This may resolve http://opensimulator.org/mantis/view.php?id=2939
* * Add the actual tests from http://opensimulator.org/mantis/view.php?id=2950Justin Clarke Casey2009-01-058-0/+669
| | | | | | | * Apologies for missing these out yet again * Thanks to Tommil for this code
* fixes mantis #2950Justin Clarke Casey2009-01-055-4/+10
|
* change the drop order to see if this affects unit test failsSean Dague2009-01-051-1/+1
| | | | | From: Sean Dague <sdague@gmail.com>
* Update svn properties, minor formatting cleanup.Jeff Ames2008-12-301-5/+5
|
* Thank you kindly, StrawberryFride for a patch that:Charles Krinke2008-12-281-1/+6
| | | | | Persists appearance with MSSQL more properly.
* * 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
* * Correct build break, no idea how that one managed to slip by meJustin Clarke Casey2008-12-231-1/+1
|
* * Modify SQLite implementation of UpdateUserProfile() to allow modifications ↵Justin Clarke Casey2008-12-231-16/+21
| | | | where the name has not been changed
* Update the MySQL connector to 5.2.5. Fixes Mantids#2673. Thanks for the ↵Homer Horwitz2008-12-221-1/+1
| | | | hint, jhurliman.
* Thanks Gerhard for a patch that implements part 3 of VolumeDetection / ↵Dahlia Trimble2008-12-222-0/+15
| | | | persistance
* Mantis#2881. Thank you kindly, SirKimba for a patch that:Charles Krinke2008-12-201-5/+5
| | | | | | | | Solves inserting Wolrdparameters in SQL Database with OpenSim.Data.MSSQL.dll always crash cause there were missing some fields in the Insert-String
* * minor: Remove unused AppearanceTableMapper as pointed out by jonc in ↵Justin Clarke Casey2008-12-171-284/+0
| | | | http://opensimulator.org/mantis/view.php?id=2843
* * Implement 'Save Object Back to My Inventory'. On the Linden client this ↵Justin Clarke Casey2008-12-171-1/+1
| | | | | | | | | is in the Tools menu available when editing an object * This facility allows you to save changes to an object that you've rezzed into a region back into their original inventory item without having to take a copy of the rezzed object.
* Color was set twice, first correctly, then incorrectly, in SQLiteRegionData.Homer Horwitz2008-12-141-2/+0
| | | | | Removed the second set. Fixes Mantis#2380.
* Mantis#2811. Thank you kindly, Diva for a patch that resolvesCharles Krinke2008-12-131-1/+1
| | | | | | | some of our DNS/dotted decimal issues that plague teleporting. We are increasing the MajorInterfaceVersion from 1 to 2 in the gridserver, so sims will need to be updated on various grids.
* Move from IP to hostname for seed caps on login, for gridmode and standalone.Homer Horwitz2008-12-111-1/+1
| | | | | | | All the other caps (except the initial one) are already sent with hostname instead of IP. NOTE: This changes gridserver and userserver
* Reinstate setting timeout to never, the default 30 second timeout was ↵idb2008-12-081-1/+1
| | | | causing problems with big migrations
* 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.
* * Check in another patch from http://opensimulator.org/mantis/view.php?id=2710Justin Clarke Casey2008-12-0411-7/+693
| | | | | | | * This allows removal of the old NHiberate.Mapping.Attributes.dll * Also add in the files I forgot about last time. Doh!
* * Minor test correction, comment removalSean Dague2008-12-032-3/+1
| | | | | From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
* Extends Avatar Appearance testsSean Dague2008-12-031-1/+109
| | | | | From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
* * Reapply http://opensimulator.org/mantis/view.php?id=2710Justin Clarke Casey2008-12-0217-387/+509
| | | | | | | | | * 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)
* * Resolve http://opensimulator.org/mantis/view.php?id=2743 and ↵Justin Clarke Casey2008-12-022-8/+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
* * Unforunately it turns out not to be that simple. Revert the rest of r7560 ↵Justin Clarke Casey2008-12-0117-509/+387
| | | | for now.
* Mantis#2730. Thank you kindly, StrawberryFride for a patch that:Charles Krinke2008-12-011-2/+2
| | | | | | | | MSSQL Fix to accommodate random ParentIDs. uint values now cleanly converted to ints and vice versa to hopefully prevent outofrange exceptions on prim storage.
* * From Mantis#2701 - Implements NHibernate data adapter, adds support for ↵Adam Frisby2008-12-0117-387/+509
| | | | | | | MsSql2005 to NHibernate. * Patch courtesy of Adminotech and realXtend. Thanks!
* Try to fix Mantis#2727. SQLite seems to be able to store bigger numbers inHomer Horwitz2008-11-301-1/+1
| | | | | | an INTEGER column (using 6 bytes), but the mapping was wrong. Question: Should we move localIDs to int instead of uint to save some bytes?
* 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-275-30/+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)
* Change the max value of the bytes in tests to 127. MySQL bytes are signedMelanie Thielker2008-11-261-5/+5
| | | | | | by default
* Yay for unit tests. Increased the type width of the prims and primshapesMelanie Thielker2008-11-263-77/+81
| | | | | | | tables, and changed the database modules to actually push these doubles down into the database layer.