Commit Graph

43 Commits (57530c88975033f3e5c355e9a45728d257a49ed2)

Author SHA1 Message Date
Chris Hart a6c611e7c9 Updates to MSSQL store for 0.7.3 to include:
* Telehub support
* Bugfix to Friends lookups
* Updates to Creator fields to store up to 255 characters for HG item creator storage
2012-03-06 00:45:58 +00:00
AlexRa 9976cb93ce Further corrections to MS SQL stores (now passes all tests)
Besides, AssetData is slightly optimized to StoreAsset in one request
("IF EXISTS() UPDATE ... ELSE INSERT ...")

The main change in the MS SQL Inventory implem. is that it now return
empty list (or whatever) when called with UUID.Zero, which is consistent
with how the code for other DBs work.

I did no changes at all in XInventory, as there is no test set for them.
2010-05-23 11:48:19 +03:00
StrawberryFride 2fa5694ec9 MSSQL Additions for Presence Refactor branch. Most functionality tested and works, some outstanding issues around login location and border crossings on y axis.
Signed-off-by: Melanie <melanie@t-data.com>
2010-02-24 15:50:44 +00:00
John Hurliman 6309fcc5b4 Reverting the memory leak patch for MySQL. Problems have been reported with the grid server after running for several hours 2009-11-02 11:19:55 -08:00
John Hurliman 29a4614529 * MySQL data tests now pass by fixing a bad fix for a bad cast on the asset 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)
2009-10-04 13:57:51 -07:00
Jeff Ames ee205e7e81 Formatting cleanup. 2009-10-01 01:17:47 +09:00
Justin Clarke Casey a54998e1f9 * minor: spacing adjustment to retrigger panda 2009-07-24 20:27:24 +00:00
Justin Clarke Casey f75949692e * Extend mssql name string size checking to create/update folder 2009-07-24 19:47:15 +00:00
Justin Clarke Casey 92047114ac * Extend inventory name and description length checks to UpdateItem for mssql 2009-07-24 19:41:53 +00:00
Justin Clarke Casey de893a4a10 * Correct minor bug where item description bounded string was not actually being used in the previous patches. 2009-07-24 19:35:16 +00:00
Justin Clarke Casey a3f4330c87 * Apply http://opensimulator.org/mantis/view.php?id=3902
* Restrict asset and inventory name descriptions so as not to overflow MSSQL field lengths
* Thanks StrawberryFride
2009-07-24 19:10:32 +00:00
Jeff Ames 840de6c036 Minor: Change OpenSim to OpenSimulator in older copyright headers and LICENSE.txt. 2009-06-01 06:37:14 +00:00
Justin Clarke Casey f3c7298fc5 * Make it possible to store creator strings in user inventory items as well as UUIDs
* All existing functionality should be unaffected.
* Database schemas have not been changed.
2009-04-08 17:50:57 +00:00
Melanie Thielker 62fcfe8924 Thank you, StrawberryFride, for a patch that adds offline inventory
functionality to the MSSQL module.
Fixes Mantis #3370
2009-03-31 11:32:30 +00:00
Melanie Thielker 412112acba Committing partial work on passing folders across instances. This may crash. 2009-03-23 00:11:34 +00:00
Melanie Thielker 1121a214b9 Add a QueryItem method to the inventory subsystem. Currently implemented for
MySQL only, stubs for the others. This allows updating the cache with a single
item from the database.
2009-03-21 17:46:58 +00:00
Justin Clarke Casey ee73d72f1d * Apply http://opensimulator.org/mantis/view.php?id=3280
* Some small syntax and refactoring tweaks for asset and inventory MSSQL
* This means the MSSQL db plugin now requires SQL Server 2005
2009-03-09 18:04:23 +00:00
Justin Clarke Casey 0760956561 * Apply http://opensimulator.org/mantis/view.php?id=3142
* Changes varchar(36) columns to UUID type in MSSQL - this will be much more efficient
* ===As always, please, please backup your database before applying this patch===
* Thanks Ruud Lathrop (for the patch) and StrawberryFride (for the review)
2009-02-19 18:09:10 +00:00
lbsa71 801da4346a * optimized usings. 2009-02-12 09:53:12 +00:00
Homer Horwitz 9a6cdf662b Mantis#2626: Thank you Ruud Lathrop, for a patch that cleans up MSSQL code. 2008-11-15 21:27:10 +00:00
Melanie Thielker 5214d39e7c Mantis #2618
Thank you, StrawberryFride, for a patch that adds group permission support
to MSSQL. Contains a migration, back up your database.
2008-11-14 19:36:29 +00:00
Justin Clarke Casey 4daaac662f * Apply http://opensimulator.org/mantis/view.php?id=2295
* Updated MSSQL to reflect resend changes 
* Added the new columns in prims table.
* Created a implementation for getting gestures.
* Remove configurable table names for user. 
* Thanks Ruud Lathorp
2008-09-29 15:22:48 +00:00
Homer Horwitz fe9aea258f Add persistence of active gestures. This needs an UGAIM update to work.
Active gestures are sent as part of the login-response. Added
fetchActiveGestures to SQLite and MySQL; added an empty one for MSSQL and
NHibernate. Using the empty ones won't cause errors, but doesn't provide
persistence either, of course.
2008-09-24 21:12:21 +00:00
Melanie Thielker 2819559499 Mantis #2124
Thank you, RuudL, for a patch that brings MSSQL up to the same
implementation level as MySQL.
2008-09-14 13:23:02 +00:00
Teravus Ovares 7d89e12293 * This is the fabled LibOMV update with all of the libOMV types from JHurliman
* This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point.  Regular people should let the dust settle.
* This has been tested to work with most basic functions. However..   make sure you back up 'everything' before using this.  It's that big!  
* Essentially we're back at square 1 in the testing phase..  so lets identify things that broke.
2008-09-06 07:52:41 +00:00
Mike Mazur 2270b25265 Thanks, sempuki, for a patch that moves all Grid Server's plugins to
PluginLoader. Fix issue 1871.
2008-07-31 09:24:28 +00:00
Charles Krinke e8412dcd42 Mantis#1736. Thank you kindly, StrawberryFride for a patch that:
Many issues with handling connections in MSSQL, have rearchitected to 
ensure that connections are always opened and closed in a timely fashion 
& disposed of cleanly, and removed unnecessary lock statements. SQL 
Server performance seems to have improved considerably as a result, 
and various timeout errors seem to have been fixed.
2008-07-17 13:43:31 +00:00
Jeff Ames f8ccf00f1c Apply patch from bug #1609 -- Documentation for Data/MSSQL. Thanks kerunix_Flan! 2008-06-26 20:25:57 +00:00
mingchen de0bd2b5a0 MSSQL Inventory Fix. Patch by Kyle and Chris from G2 2008-06-06 00:56:51 +00:00
Charles Krinke c289c2b6d4 Mantis#1450. Thank you kindly, Boscata for a patch that addresses:
I have detected a bug of conversion data type in OpenSim.Data.MSSQL.MSSQLInventoryData.addInventoryItem(InventoryItemBase item)
in the GroupOwned field.
My sollution is to change the flield to bit in the table. In the 
readInventoryItem(IDataReader reader) change too item.Flags = 
(uint) reader["flags"]; to item.Flags = Convert.ToUInt32(reader["flags"]);
Now Inventory runs fine.
2008-06-05 13:57:58 +00:00
Sean Dague 11d83cb737 actually user the database_connect string for mysql.
This means you can run all the OpenSim grid services without
needing a mysql_connection.ini
2008-05-28 18:12:32 +00:00
Jeff Ames 65c5efe43b Formatting cleanup. 2008-05-16 01:22:11 +00:00
Jeff Ames 0ea48cf786 De-tabify source. 2008-05-06 22:41:38 +00:00
Adam Frisby 5231903778 * In ur code. Making it static.
* Converted a bunch of functions to static functions.
2008-05-01 16:03:53 +00:00
Justin Clarke Casey 8ed9e57896 * Add a scratch implementation of the new inventory fields to the mssql database adapter
* I don't use mssql so this may not work, corrections (in the form of patches) are welcome.
* Unlike mysql, mssql requires manual updating of existing tables here (which should mean just adding the new fields manually)
2008-04-30 19:28:36 +00:00
Sean Dague 3dd98a112f allow for Inventory database source to be specified in main
configs.  This works with sqlite and nhibernate backends, and
stays with default seperate ini files for mysql and mssql until
someone writes those.
2008-04-23 20:48:23 +00:00
Adam Frisby fef3b36894 * Optimised using statements and namespace references across entire project (this took a while to run). 2008-04-21 07:09:17 +00:00
Sean Dague a6d27e0929 further refactor and rename of InventoryFolderBase properties
to reflect what they really are.
2008-04-08 23:26:31 +00:00
Sean Dague 5ee75998ce more refactoring, this time on InventoryFolderBase
* wrap attributes in properties
 * clean up names a little bit
 * clean up name styles
2008-04-07 23:27:05 +00:00
Sean Dague f436815107 Refactor InventoryItemBase to do the following:
* wrap fields as Properties
 * rename some fields/properties to more sensible names
 * set style to PropName to match more standard C# approach
2008-04-07 23:15:35 +00:00
Sean Dague 30ea28c3b1 fix ups to include OpenSim.Framework explicit includes (they
were implicitly included before).  Everything builds again.
Now off to testing.
2008-04-02 16:00:40 +00:00
Sean Dague f52c8f3970 attempt to fix up all refernces to new directory structure 2008-04-02 15:36:01 +00:00
Sean Dague c52c68f314 whole lot more moving 2008-04-02 15:24:31 +00:00