aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Revert "This is a HACK! Downright nasty. For some reason, the devs of the mysql"Melanie2010-06-191-7/+0
| | | | | | Didn't do what it said on the package! This reverts commit 8643db3ef0c4dca709d85fc37240a18fd9049520.
* This is a HACK! Downright nasty. For some reason, the devs of the mysqlMelanie2010-06-191-0/+7
| | | | | connector have decided that their vision of timeouts is the only valid one. This uses reflection to show them the finger. Please test.
* Revert "Set command timeout to infinity on migrations"Melanie2010-06-171-1/+0
| | | | This reverts commit 51d30fd34a950e0cd71d61ce0666a6d1e90bf233.
* Set command timeout to infinity on migrationsMelanie2010-06-171-0/+1
|
* * Deleted duplicated migration that was failing anyway.Diva Canto2010-06-141-2/+0
| | | | * Added an error message in initial estate owner creation that makes it clear what needs to happen.
* Add the BEGIN; I had missedMelanie2010-06-091-0/+1
|
* Re-add Migration version 32, which apparently got dropped completely.Melanie2010-06-091-0/+72
|
* * Changed CreatorIDs consistently to varchar(128)Diva Canto2010-06-082-1/+9
| | | | | * Deleted redundant migration for assets in SQLite * Rewrote XInventory migrations in SQLite in the new style
* Add a migration to adjust types in the WL table. The new connector likes thatMelanie2010-06-081-0/+6
| | | | better
* Merge branch 'unitests'Melanie2010-05-266-503/+81
|\ | | | | | | Signed-off-by: Melanie <melanie@t-data.com>
| * MySQL Migrations: Minor correcton to Region/Estate splitAlexRa2010-05-232-6/+12
| | | | | | | | (some Estate SQL left behind in the Region migration)
| * Split migrations for RegionStore and EstateStore (see WARNING!)AlexRa2010-05-232-78/+69
| | | | | | | | | | | | | | | | | | | | | | | | ok, so the estate stores now want their own migration files, but as it happened the SQL definition were inside the Region migrations. It seems better/cleaner to keep each 'store' separately updatable. WARNING: any editing in the middle of the migration scripts (as opposite to just appending to them) has the potential of messing up updates of existing databases. As far as I can see, this one is (probably) safe, the worst that could happen is the EstateStore migration silently fail if the estate the tables are already there.
| * Removed MySql and SQLite-specific asset test filesAlexRa2010-05-231-92/+0
| |
| * All data tests made DBMS-independentAlexRa2010-05-233-327/+0
| |
* | The 8th migration statement in AssetStore.migrations didn't look right.Diva Canto2010-05-231-1/+1
|/
* Cleaned up MySql migrations a bit more, got rid of all old-form migration ↵Diva Canto2010-05-205-32/+8
| | | | files. Restored Presence table to its taboo-breaking form.
* MySQLAssetData.cs now supports asset_flags, CreatorIDAlexRa2010-05-191-5/+7
|
* MySQL: added CreatorID, moved asset_flag to migration scriptAlexRa2010-05-191-0/+8
|
* Clean up output a bitMelanie2010-05-191-5/+1
|
* Revert "Allow migration steps to fail again without bringing down the house"Melanie2010-05-191-1/+1
| | | | This reverts commit 167db502593de5f535d8c322005c63ef263940ed.
* Allow migration steps to fail again without bringing down the houseMelanie2010-05-191-1/+1
|
* Make m_log in migrations private. Define new m_log in derived classMelanie2010-05-181-0/+2
|
* Some more corrections after MySQL connector updateAlexRa2010-05-192-2/+3
|
* All (?) MySQL stores fixed to use DBGuid.FromDB()AlexRa2010-05-195-92/+68
| | | | | | | | | | | | | This was needed if we want to update to the latest MySQL connector dll. It automatically converts CHAR(36) to Guids, so getting them as strings no longer works. By using DBGuid.FromDB(), we unlink from any particular storage format of GUIDs, could even make them BINARY(16) if we like. Actually not all MySql units are touched, but the remaining ones don't seem to be affected (they don't read GUIDs from DB)
* Converted MySQL migration history to the new formatAlexRa2010-05-1678-1002/+1228
| | | | | Replaced all NNN_StoreName.sql migration resources with a more readable, single-file-per-store
* Added MySqlMigrations.cs (supports stored proc/funcs)AlexRa2010-05-161-0/+85
| | | | | Uses MySqlScript class to correctly run proc/func definitions that need delimiter change. Requires MySql.Data.dll 6.2 or later.
* OK, this really fixes it, I promise.Diva Canto2010-05-091-2/+2
|
* Yey for unit tests. The previous commit had a couple of bugs on SQL ↵Diva Canto2010-05-091-2/+2
| | | | statements. Fixed here.
* * Fixed spamming the assets table with map tiles. The tile image ID is now ↵Diva Canto2010-05-093-3/+11
| | | | | | 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-092-3/+10
| | | | | | | 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.
* These files are part of the GridUserService write-up.Diva Canto2010-05-071-0/+17
|
* GridUserService in place. Replaces the contrived concept of storing user's ↵Diva Canto2010-05-075-88/+10
| | | | | | home and position info in the presence service. WARNING: I violated a taboo by deleting 2 migration files and simplifying the original table creation for Presence. This should not cause any problems to anyone, though. Things will work with the new simplified table, as well as with the previous contrived one. If there are any problems, solving them is as easy as dropping the presence table and deleting its row in the migrations table. The presence info only exists during a user's session anyway. BTW, the Meshing files want to be committed too -- EOFs.
* Allow regions to get the list of the other regions in the estateMelanie Thielker2010-05-041-1/+30
|
* Refix the fixMelanie Thielker2010-05-031-1/+1
|
* Add folder version incrementing to XInventoryService. Fixes offline giveMelanie Thielker2010-05-031-0/+31
| | | | for avatar->avatar
* Just a bit of spellchecking in the commentsAlexRa2010-04-281-2/+2
|
* Committing the LightShare code, which was developed by TomMeta of Meta7.Melanie2010-03-311-0/+199
| | | | | This allows scripts to set WindLight parameters for clients connecting to a region. Currently, this is only supported by the Meta7 viewer.
* * Catch exceptions thrown when MySQLEstateData.LinkRegion() is called. This ↵John Hurliman2010-03-261-8/+14
| | | | won't fix the bug I'm seeing with regions not realizing they are already part of an estate, but it will fix the OpenSim crash if that situation ever comes up
* First stage of the new interactive region creation. This will allow creationMelanie2010-03-231-45/+130
| | | | | | | of a region and joining it to an existing estate or creating a new estate, as well as creating an estate owner if in standalone, and assigning estate owners. In Grid mode, existing users must be used. MySQL ONLY!!!! so far, as I can't develop or test for either SQLite or MSSQL.
* Somehow the starting estate number in MySQL was lost. This adds a migrationMelanie2010-03-221-0/+3
| | | | | | | | to start estates at 100. Existing databases having autcreated estates below 100 will see a gap in estate numbering. Other database implementors need to ensure that no estates with numbers less that 100 are autocreated, unless they are prepared to deal with the viewer's built-in notions of Linden Mainland
* Remove the reading of estate_settings.xml and the associated processing ofMelanie2010-03-221-13/+5
| | | | | defaults. Adding code to facilitate estate creation / managemment as part of first time start up
* Formatting cleanup. Add copyright notices.Jeff Ames2010-03-103-3/+3
|
* Justin, I must have been dyslexic when I wrote UserGridService as the name ↵Diva Canto2010-03-051-5/+5
| | | | for it. GridUserService makes more sense; it's the user of the grid, "grid user". I changed it everywhere.
* add initial UserGrid service classes as per diva's directionJustin Clark-Casey (justincc)2010-03-052-2/+65
| | | | | this will initially store home location data instead of the presence service compiles but not enough to actually test yet
* remove test presence from NullPresenceData since this appears to stop ↵Justin Clark-Casey (justincc)2010-03-041-2/+2
| | | | | | | existing sessions with home locations from being picked up only tested for a single user so this may still fail for multiple users this may well be all academic anyway since standalone need to persistently store home location in presence data in some way
* Merge branch 'master' into presence-refactorMelanie2010-03-022-7/+0
|\ | | | | | | | | This is the big one. master is now presence-refactor (pre 0.7). A new branch 0.6.9-post-fixes and leading tag 0.6.9 has been created. The Presence-refactor branch remains for experimental work.
| * Fix a few compiler warnings.Jeff Ames2010-03-012-7/+0
| |
* | Change friends to handle offers as it was originally designed. This mayMelanie2010-03-011-1/+1
| | | | | | | | need to be changed in SQLite & MSSQL as well
* | Changed asset CreatorID to a stringJohn Hurliman2010-02-221-1/+1
| |