aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/SQLiteNG/SQLiteAssetData.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-04-30rename SQLiteNG to SQLite and SQLite to SQLiteLegacyJustin Clark-Casey (justincc)1-343/+0
this seems the least evil way forward since mono 2.6 and later will see increasing usage, and this only works with what was SQLiteNG MAC USERS WILL NEED TO CHANGE REFERENCES TO "OpenSim.Data.SQLite.dll" to "OpenSim.Data.SQLiteLegacy.dll" in OpenSim.ini and config-include/StandaloneCommon.ini (if using standalone) See the OpenSim.ini.example and StandaloneCommon.ini.example files for more details This commit also temporarily changes unsigned ParentEstateID values in the OpenSim.Data.Tests to signed temporarily, since the new plugin enforces creation of signed fields in the database (which is what the SQL actually specifies). And change data columns in sqlite is a pita.
2010-04-23dispose of the DbCommand used to execute migrations after we've finished ↵Justin Clark-Casey (justincc)1-1/+1
with it rather than within the loop disposing of it within the loop causes Mono.Data.Sqlite.dll to get upset, and it's the wrong behaviour anyway
2010-04-23put SQLiteNG classes in their own namespace to avoid confusionJustin Clark-Casey1-1/+1
2010-04-23Change SQLiteNG to work with mono 2.6 and above using the Mono.Data.Sqlite.dllJustin Clark-Casey (justincc)1-3/+3
Include the library so that Windows builds correctly It appears that Windows is okay with either SQLite or SQLiteNG Incorporate the latest fixes made by Diva to OpenSim.Data.SQLite
2010-04-23Duplicate OpenSim.Data.SQLite into OpenSim.Data.SQLiteNG. SQLiteNG will ↵Justin Clark-Casey (justincc)1-0/+0
shortly be changed to work under mono 2.6 and above
2010-04-14minor: add some documentation around the asset udp request path and replace ↵Justin Clark-Casey (justincc)1-1/+1
some magic numbers with libomv enums
2010-02-22Changed asset CreatorID to a stringJohn Hurliman1-1/+1
2010-02-22* Adds CreatorID to asset metadata. This is just the plumbing to support ↵John Hurliman1-1/+2
CreatorID, it doesn't modify database backends or OAR files to support storing/loading it
2010-02-03minor: remove some mono compiler warningsJustin Clark-Casey (justincc)1-1/+1
2009-11-12minor: remove some mono compiler warningsJustin Clark-Casey (justincc)1-16/+16
2009-11-05Changing the AssetBase constructors to avoid initializing assets with an ↵John Hurliman1-4/+5
unknown asset type, and log an error if it ever does happen
2009-10-01Switched log level of an annoying message in SQLite to Debug, and commented ↵Diva Canto1-2/+2
it too.
2009-08-19* Switching IAssetData to follow the new naming schema, removing the ↵Kunnis1-28/+19
separate insert and update methods.
2009-08-16* Fixed MySQL/MySQLAssetData.cs to properly do updates * Removed an extra ↵Kunnis1-1/+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
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-05-15* Change default sqlite asset db back to Asset.db instead of AssetStorage.dbJustin Clarke Casey1-2/+2
* This inconsistency has actually existed for some time but only the recent change brought it to light * In the past, the default in ConfigurationLoader took precedence over the one in SQLiteAssetData
2009-04-13* Some more experimental work on distributed assets. Nothing hotwired yet.lbsa711-1/+1
* 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)
2009-04-09* minor: correct some documentation in SQLiteAssetData.csJustin Clarke Casey1-8/+2
2009-04-09* Change SQLite asset UUID to dashed format to be consistentJustin Clarke Casey1-6/+6
* Remaining inconsistent uuids (non dashed) are in region store for sqlite and mysql * Migration of these will happen at a later date, unless someone else wants to do it
2009-03-09Implemented FetchAssetMetadataSet in DB backends.Mike Mazur1-0/+50
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
2009-02-17- remove the Metadata property from AssetBase and return all previousMike Mazur1-23/+23
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
2009-02-12* optimized usings.lbsa711-1/+1
2009-02-04- add OpenSim.Framework.AssetMetadata class. AssetBase is now composed of itMike Mazur1-23/+23
- trim trailing whitespace
2008-11-08Work in progress on SECS stuff. Have been holding it off until after 0.6 ↵Tedd Hansen1-2/+2
release. Still messy as hell and doesn't really work yet. Will undergo dramatic changes. AND MOST IMPORTANTLY: Will be conformed to work in coop with todays DNE and XEngine, hopefully one day providing a common interface for all components.
2008-09-18- Add Dispose method to IRegionDataStoreHomer Horwitz1-1/+8
- Add necessary dummy Dispose-methods where they are missing - Implement the SQLite Dispose-methods (currently only used for unit tests, in the next commit)
2008-09-06* This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares1-5/+5
* 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-08-27we are now past change 6000, so getting rid of the pre-MigrationSean Dague1-81/+0
upgrade cruft
2008-08-18Formatting cleanup.Jeff Ames1-9/+9
2008-07-23Update svn properties. Formatting cleanup. Remove a compiler warning.Jeff Ames1-3/+5
2008-07-18add some locks back into the sqlite asset path, as something changedSean Dague1-49/+56
that is causing a lot of out of order execution on asset fetches on multi region sims.
2008-07-07* remove unused CommitAssets() hook for nowJustin Clarke Casey1-13/+0
2008-07-02* Drop InvType from the assets table since it is no longer usedJustin Clarke Casey1-8/+4
* Migration should be automatic on sqlite and mysql * Migration is not automatic on mssql, you will need to drop the invType column manually * Migration should be fine, but as for any db change, I would recommend making sure you have backups before moving past this revision
2008-06-27last round of warning squashing. calling it a day now.Dr Scofield1-23/+23
2008-06-27Mantis#1591. Thank you graciously, Sempuki for a patch that:Charles Krinke1-0/+2
Currently module loading is done ad-hoc. I propose creating a simple loader class that leverages Mono.Addins (and perhaps the new .NET addins when they become available in mono). Attached is a basic patch for review that compiles into HEAD, but doesn't yet replace any existing ad-hoc loaders.
2008-06-26Apply patch from bug #1605 -- Documentation for Data/SQLite. Thanks ↵Jeff Ames1-3/+65
kerunix_Flan!
2008-06-11check in working migration code fore SQLite. This Sean Dague1-3/+21
is now using migrations instead of the old model to create tables. Tested for existing old tables, and for creating new ones.
2008-05-16Formatting cleanup.Jeff Ames1-12/+12
2008-05-14More formatting cleanup.Jeff Ames1-1/+2
2008-05-14Formatting cleanup.Jeff Ames1-1/+1
2008-05-01* In ur code. Making it static.Adam Frisby1-5/+5
* Converted a bunch of functions to static functions.
2008-05-01* Align new fields upgrade sql to have the same 'not null' and default ↵Justin Clarke Casey1-5/+5
settings as when an inventoryitems table is newly created * Normalize logging titles in database code, though this doesn't yet cover invoking code
2008-04-23changes to allow asset_source to be specified in the opensim.iniSean Dague1-3/+6
this will work for sqlite and nhibernate, but will be ignored for mysql and mssql (reverting to their ini files) until someone writes that bit.
2008-04-21* Optimised using statements and namespace references across entire project ↵Adam Frisby1-2/+2
(this took a while to run).
2008-04-02fix ups to include OpenSim.Framework explicit includes (theySean Dague1-0/+1
were implicitly included before). Everything builds again. Now off to testing.
2008-04-02attempt to fix up all refernces to new directory structureSean Dague1-1/+1
2008-04-02whole lot more movingSean Dague1-0/+0
2008-03-28* Introduced common abstract AssetDataBase implementing IAssetProviderlbsa711-18/+18
* changed the semantics of SQLiteBase to SQLiteUtils * Added abstract placeholder files for the other db providers
2008-03-18Formatting cleanup.Jeff Ames1-27/+27
2008-03-12* Fix for SQLiteAssetData - We now ignore duplicate assets. We shouldn't ↵Adam Frisby1-2/+1
support replacing a asset with a fixed UUID as this leads to potential collisions and revisioning issues when proxying down the road.
2008-03-11Ensure resolution of mantis 113Sean Dague1-1/+3