aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-01-11Thank you kindly, Tlaukkan (Tommil) for a patch that:Charles Krinke17-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.
2009-01-10Thank you kindly, Tlaukkan (Tommil) for a patch that:Charles Krinke1-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).
2009-01-08Update svn properties, minor formatting cleanup.Jeff Ames1-5/+5
2009-01-07* Apply http://opensimulator.org/mantis/view.php?id=2948Justin Clarke Casey3-55/+55
* This fixes adding and updating user profiles in MySQL on platforms that have a commas as a decimal separator * Thanks Tommil!
2009-01-07Thank you kindly, StrawberryFride for a patch that:Charles Krinke3-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.
2009-01-05* Stop bothering to populate and retrieve the parent local ids for MSSQL, as ↵Justin Clarke Casey1-2/+0
was done for SQLite and MySQL in r7586 * This may resolve http://opensimulator.org/mantis/view.php?id=2939
2009-01-05* Add the actual tests from http://opensimulator.org/mantis/view.php?id=2950Justin Clarke Casey8-0/+669
* Apologies for missing these out yet again * Thanks to Tommil for this code
2009-01-05fixes mantis #2950Justin Clarke Casey5-4/+10
2009-01-05change the drop order to see if this affects unit test failsSean Dague1-1/+1
From: Sean Dague <sdague@gmail.com>
2008-12-30Update svn properties, minor formatting cleanup.Jeff Ames1-5/+5
2008-12-28Thank you kindly, StrawberryFride for a patch that:Charles Krinke1-1/+6
Persists appearance with MSSQL more properly.
2008-12-23* Fix http://opensimulator.org/mantis/view.php?id=2889Justin Clarke Casey1-2/+2
* Primshapes uuid wasn't being converted to raw (non-dashed) format before being used in primshapes delete command
2008-12-23* Correct build break, no idea how that one managed to slip by meJustin Clarke Casey1-1/+1
2008-12-23* Modify SQLite implementation of UpdateUserProfile() to allow modifications ↵Justin Clarke Casey1-16/+21
where the name has not been changed
2008-12-22Update the MySQL connector to 5.2.5. Fixes Mantids#2673. Thanks for the ↵Homer Horwitz1-1/+1
hint, jhurliman.
2008-12-22Thanks Gerhard for a patch that implements part 3 of VolumeDetection / ↵Dahlia Trimble2-0/+15
persistance
2008-12-20Mantis#2881. Thank you kindly, SirKimba for a patch that:Charles Krinke1-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
2008-12-17* minor: Remove unused AppearanceTableMapper as pointed out by jonc in ↵Justin Clarke Casey1-284/+0
http://opensimulator.org/mantis/view.php?id=2843
2008-12-17* Implement 'Save Object Back to My Inventory'. On the Linden client this ↵Justin Clarke Casey1-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.
2008-12-14Color was set twice, first correctly, then incorrectly, in SQLiteRegionData.Homer Horwitz1-2/+0
Removed the second set. Fixes Mantis#2380.
2008-12-13Mantis#2811. Thank you kindly, Diva for a patch that resolvesCharles Krinke1-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.
2008-12-11Move from IP to hostname for seed caps on login, for gridmode and standalone.Homer Horwitz1-1/+1
All the other caps (except the initial one) are already sent with hostname instead of IP. NOTE: This changes gridserver and userserver
2008-12-08Reinstate setting timeout to never, the default 30 second timeout was ↵idb1-1/+1
causing problems with big migrations
2008-12-08change a UUID cast to an actual new UUID call to be consistant withSean Dague1-1/+1
the rest of the assignments here.
2008-12-08fix an issue I found where primshapes weren't every being removedSean Dague1-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.
2008-12-04* Check in another patch from http://opensimulator.org/mantis/view.php?id=2710Justin Clarke Casey11-7/+693
* This allows removal of the old NHiberate.Mapping.Attributes.dll * Also add in the files I forgot about last time. Doh!
2008-12-03* Minor test correction, comment removalSean Dague2-3/+1
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-12-03Extends Avatar Appearance testsSean Dague1-1/+109
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-12-02* Reapply http://opensimulator.org/mantis/view.php?id=2710Justin Clarke Casey17-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)
2008-12-02* Resolve http://opensimulator.org/mantis/view.php?id=2743 and ↵Justin Clarke Casey2-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
2008-12-02Catch all possible exceptions in the mysql module. It throws non-mysqlMelanie Thielker1-2/+2
exceptions as well.
2008-12-01Fix the terrain loaderMelanie Thielker1-1/+1
2008-12-01More reverts. Revert the MySQL database module. This caused more issuesMelanie Thielker1-474/+513
than it solved by trying to use, and then exhausting, the connection pool
2008-12-01* Unforunately it turns out not to be that simple. Revert the rest of r7560 ↵Justin Clarke Casey17-509/+387
for now.
2008-12-01Mantis#2730. Thank you kindly, StrawberryFride for a patch that:Charles Krinke1-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.
2008-12-01* From Mantis#2701 - Implements NHibernate data adapter, adds support for ↵Adam Frisby17-387/+509
MsSql2005 to NHibernate. * Patch courtesy of Adminotech and realXtend. Thanks!
2008-11-30Try to fix Mantis#2727. SQLite seems to be able to store bigger numbers inHomer Horwitz1-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?
2008-11-30More changes to the MySQL adapter. take advantage of pooling and run lock-free.Melanie Thielker1-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
2008-11-30Update svn properties. Add copyright header. Minor formatting cleanup.Jeff Ames1-1/+1
2008-11-29Explicitly Dispose() all cmd objectsMelanie Thielker1-1/+15
2008-11-27* minor: remove mono compiler warningsJustin Clarke Casey1-1/+0
2008-11-27* Remove unused and largely unimplemented UpdateUserCurrentRegion()Justin Clarke Casey5-30/+0
* please say if this causes you a problem
2008-11-26* restore deleted method documentation, some to IRegionDataStore and some to ↵Justin Clarke Casey1-1/+10
MySQLRegionData * I would like to keep documentation on methods, even if it sometimes seems obvious (and not all of these are)
2008-11-26Change the max value of the bytes in tests to 127. MySQL bytes are signedMelanie Thielker1-5/+5
by default
2008-11-26Yay for unit tests. Increased the type width of the prims and primshapesMelanie Thielker3-77/+81
tables, and changed the database modules to actually push these doubles down into the database layer.
2008-11-26A migration to make the floats in prims table be doublesMelanie Thielker1-0/+41
2008-11-26Reduce the numerical range of text values to match what MySQL offersMelanie Thielker1-13/+13
2008-11-26Comment one more field that can't be tested that way anymoreMelanie Thielker1-1/+2
2008-11-26A migration to convert the floats int the database to doubles.Melanie Thielker2-0/+60
Maybe we don't have to say "Shift happens" as often anymore....
2008-11-26Fix 2 of the failed tests. Cause terrain queries to return null when noMelanie Thielker2-9/+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.