aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/MySQLAssetData.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* remove redundant using(){}UbitUmarov2015-09-151-47/+40
|
* seems to compile ( tests comented out)UbitUmarov2015-09-021-42/+5
|
* bad merge?UbitUmarov2015-09-011-2/+39
|\
| * Merge branch 'master' into careminsterMelanie2013-04-101-8/+14
| |\ | | | | | | | | | | | | | | | | | | Conflicts: OpenSim/Data/MySQL/MySQLAssetData.cs OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs OpenSim/Region/Physics/BulletSPlugin/BSShapeCollection.cs
| * \ Merge branch 'master' into careminsterMelanie2013-02-281-2/+6
| |\ \ | | | | | | | | | | | | | | | | Conflicts: OpenSim/Region/Framework/Scenes/SceneManager.cs
| * \ \ Merge branch 'master' into careminsterMelanie2012-04-301-89/+93
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: OpenSim/Data/MySQL/MySQLAssetData.cs OpenSim/Data/MySQL/MySQLSimulationData.cs OpenSim/Data/MySQL/MySQLUserAccountData.cs
| * \ \ \ Resolve merge commits, stage 1Tom2011-09-041-2/+7
| |\ \ \ \
| * \ \ \ \ Merge branch 'master' into careminster-presence-refactorMelanie2011-03-101-4/+6
| |\ \ \ \ \
| * \ \ \ \ \ Merge branch 'master' into careminster-presence-refactorMelanie2010-09-131-3/+0
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The modules will need to be updated for this to compile and run again. Please don't use until I do the companion commit to modules later on.
| * | | | | | | Provide the interface for StoreAsset to report success or failureTom Grimshaw2010-06-281-1/+3
| | | | | | | |
* | | | | | | | Removing locking on requests in MySQLAssetData.Justin Clark-Casey (justincc)2014-08-221-161/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These locks are not necessary since the connection is taken from the underlying mysql pool and not shared. Such locking is already not done by some other parts of OpenSim.Data.MySQL. Pointed out by arribasim-dev
* | | | | | | | Changed the maximum asset name and description lengths to constants. Also, ↵Oren Hurvitz2014-04-221-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pre-truncate the description of dynamic textures.
* | | | | | | | Added assets service method AssetsExist(), which returns whether the given ↵Oren Hurvitz2014-04-021-22/+20
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | list of assets exist. This method is used to optimize sending assets with embedded assets: e.g., when a Hypergrid visitor takes an item into the inventory.
* | | | | | | minor: Make exceptions thrown by MySQLAssetData more consistent.Justin Clark-Casey (justincc)2013-04-101-10/+19
| |_|_|_|_|/ |/| | | | |
* | | | | | Add more information to warnings logged when asset names and descriptions ↵Justin Clark-Casey (justincc)2013-02-271-2/+6
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | have to be truncated for database storage On balance, I still think this is useful because asset names and descriptions can sometimes be helpful in determining what things are. Even though they are never subsequently (inventory names/descriptions are always used instead).
* | | | | Consistently use using() to make sure we dispose of used MySqlCommands where ↵Justin Clark-Casey (justincc)2012-04-301-88/+92
| |_|_|/ |/| | | | | | | | | | | this is not already being done.
* | | | In the asset service, check that an asset exists before attempting to store it.Justin Clark-Casey (justincc)2011-08-171-2/+7
| |_|/ |/| |
* | | Pull up Assembly of the MySQL classes as a protected property, so that it ↵Diva Canto2011-03-081-4/+6
| |/ |/| | | | | can be overwritten in subclasses. That way extensions can decide in which assembly migration resources should be looked up. This is just a refactor -- no functional changes whatsoever.
* | Re-enabled asset last access time logging in MySQLJohn Hurliman2010-09-111-3/+0
|/
* MySQLAssetData.cs now supports asset_flags, CreatorIDAlexRa2010-05-191-5/+7
|
* Some more corrections after MySQL connector updateAlexRa2010-05-191-1/+2
|
* * Fixed spamming the assets table with map tiles. The tile image ID is now ↵Diva Canto2010-05-091-2/+3
| | | | | | stored in regionsettings. Upon generation of a new tile image, the old one is deleted. Tested for SQLite and MySql standalone. * Fixed small bug with map search where the local sim regions weren't found.
* Implement the "delete" path for assets. Adds a new option to allow remote ↵Melanie2010-05-091-0/+18
| | | | asset deletion in robust handler.
* Add a field asset_flags and a corresponding enum to the asset database. ThisMelanie2010-05-091-3/+5
| | | | | | | CHANGES THE ASSET SERVER PROTOCOL and means you CAN NOT MIX PRIOR VERSIONS WITH LATER ONES. It may also eat your babies, yada, yada, yada. The usual cautions for migrations to the assets table apply. Coding: Can not guarantee nut free.
* Changed asset CreatorID to a stringJohn Hurliman2010-02-221-1/+1
|
* * Adds CreatorID to asset metadata. This is just the plumbing to support ↵John Hurliman2010-02-221-1/+1
| | | | CreatorID, it doesn't modify database backends or OAR files to support storing/loading it
* Updated MySQL connection management to use the MySQL connection pooling. ↵Master ScienceSim2010-02-051-197/+158
| | | | This should accommodate various timeout problems that exist with the current connection pool code in a more general and standard way.
* Changing the AssetBase constructors to avoid initializing assets with an ↵John Hurliman2009-11-051-4/+1
| | | | unknown asset type, and log an error if it ever does happen
* Reverting the memory leak patch for MySQL. Problems have been reported with ↵John Hurliman2009-11-021-47/+55
| | | | the grid server after running for several hours
* Changing Scene.ForEachClient to use the synchronous for loop instead of ↵John Hurliman2009-10-251-3/+0
| | | | | | | | | | Parallel. This is quite possibly the source of some deadlocking, and at the very least the synchronous version gives better stack traces * Lock the LLUDPClient RTO math * Add a helper function for backing off the RTO, and follow the optional advice in RFC 2988 to clear existing SRTT and RTTVAR values during a backoff * Removing the unused PrimitiveBaseShape.SculptImage parameter * Improved performance of SceneObjectPart instantiation * ZeroMesher now drops SculptData bytes like Meshmerizer, to allow the texture data to be GCed * Improved typecasting speed in MySQLLegacyRegionData.BuildShape() * Improved the instantiation of PrimitiveBaseShape
* * Replaced (possibly broken?) math for calculating the unix timestamp in ↵John Hurliman2009-10-141-5/+5
| | | | | | | MySQLAssetData with Utils.DateTimeToUnixTime() * Disabled UpdateAccessTime() function since it was only writing zeros anyways. This gave me a significant performance improvement for startup times and avatar logins in standalone mode * Load attachments asynchronously so avatars with lots of attachments don't have to race the timeout clock to login
* * Continued work on the new LLUDP implementation. Appears to be functioning, ↵John Hurliman2009-10-061-4/+2
| | | | | | | | although not everything is reimplemented yet * Replaced logic in ThreadTracker with a call to System.Diagnostics that does the same thing * Added Util.StringToBytes256() and Util.StringToBytes1024() to clamp output at byte[256] and byte[1024], respectively * Fixed formatting for a MySQLAssetData error logging line
* * MySQL data tests now pass by fixing a bad fix for a bad cast on the asset ↵John Hurliman2009-10-041-54/+48
| | | | | | 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)
* Formatting cleanup.Jeff Ames2009-10-011-1/+1
|
* Fix issue where conversion of temporary boolean variable fails on MySQLArthur Valadares2009-08-211-2/+2
|
* * Switching IAssetData to follow the new naming schema, removing the ↵Kunnis2009-08-191-11/+2
| | | | separate insert and update methods.
* * Fixed MySQL/MySQLAssetData.cs to properly do updates * Removed an extra ↵Kunnis2009-08-161-8/+1
| | | | parameter from MySQL/MySQLInventoryData.cs * Fixed a bug in SQLite/SQLiteAssetData.cs that was causing a NRE when updating an asset. * Improved the BasicAssetTest.cs to do full create/update/get testing * Improved the BasicInventoryTest.cs to do full create/update/get of both a folder and an item * Moved the null ref tests to the start of the PropertyCompareConstraint.cs, so that it doesn't throw when passing in a null item
* Adding in Reflection-based testing, to ensure that all properties are covered.Kunnis2009-08-161-0/+1
|
* * Apply asset and inventory name and description bound checks to MySQLJustin Clarke Casey2009-07-241-2/+16
|
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-011-1/+1
| | | | LICENSE.txt.
* * Some more experimental work on distributed assets. Nothing hotwired yet.lbsa712009-04-131-17/+19
| | | | | | | | | * Introduced preprocess step in FetchAsset (Might revert this later) * Some minor CCC * Added actual implementation of GetUserProfile( uri ) and the corresponding handler to OGS1. * Introduced non-functioning GetUserUri( userProfile) awaiting user server wireup (this might move elsewhere)
* * Improve inventory uuid conversions to make sure that we aren't converting ↵Justin Clarke Casey2009-04-091-1/+1
| | | | | | | | anything that already contains a - * Among other things, this means that if a migration is interrupted, it can simply be retried
* 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
* - 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
* * optimized usings.lbsa712009-02-121-7/+5
|
* - 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.
* Slight cleanup of docs, removing trailing whitespace.Mike Mazur2009-01-281-6/+5
|
* Avoid an invalid cast on legacy dataMelanie Thielker2009-01-181-1/+8
|
* Update the MySQL connector to 5.2.5. Fixes Mantids#2673. Thanks for the ↵Homer Horwitz2008-12-221-1/+1
| | | | hint, jhurliman.