aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/MySQLRegionData.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* work on previus 2 patchsUbitUmarov2019-11-141-23/+1
|
* Attempt to fix the issue where, when logging into the grid, the user ↵Terry2019-11-141-1/+24
| | | | | | | supplies a region name, but instead of going to the specific region, they are sent to a region "Like" the one specified. Signed-off-by: Terry <terry@digiworldz.com> Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
* MySQLConnector is not a MS productUbitUmarov2017-05-061-0/+3
|
* Massive tab and trailing space cleanupMelanie Thielker2017-01-051-1/+1
|
* fix a typo in dbs region rangeUbitUmarov2016-12-011-1/+1
|
* fix db region find by range for varregions ( ignoring others than Mysql)UbitUmarov2015-08-231-0/+33
|
* fix db region search by a position, for varregions ( ignoring other thatUbitUmarov2015-08-231-0/+40
| | | | mysql for now )
* Allow one to specify a DefaultHGRegion flag in [GridService] in order to ↵Justin Clark-Casey (justincc)2013-09-021-0/+5
| | | | | | | | | | allow different default regions for HG and direct grid logins. This requires a new GridService.GetDefaultHypergridRegions() so ROBUST services require updating but not simulators. This method still returns regions flagged with just DefaultRegion after any DefaultHGRegions, so if no DefaultHGRegions are specified then existing configured defaults will still work. Immediate use is for conference where we need to be able to specify different defaults However, this is also generally useful to send experienced HG users to one default location and local users whose specified region fails (e.g. no "home" or "last") to another.
* Move OpenSim.Data.RegionFlags -> OpenSim.Framework.RegionFlags to make it ↵Justin Clark-Casey (justincc)2012-10-091-2/+2
| | | | easier for other code to use (e.g. LSL_Api) without having to reference OpenSim.Data just for this.
* Consistently use using() to make sure we dispose of used MySqlCommands where ↵Justin Clark-Casey (justincc)2012-04-301-6/+7
| | | | this is not already being done.
* Fixed problem with MySQL: it was possible for one thread to use an ↵Oren Hurvitz2012-04-241-11/+18
| | | | incomplete list of column names if another thread was creating the list at the same time. Now this is thread-safe.
* When reading a region, use null objects to represent NULL fields.Oren Hurvitz2012-04-241-1/+5
| | | | Previously NULL fields were converted to an empty string due to the use of ToString(). But if the field was an Int (e.g., "locZ"), then the subsequent attempt to convert an empty string to an int caused an exception. Now the field is null so we don't try to convert it, so there's no exception.
* Pull up Assembly of the MySQL classes as a protected property, so that it ↵Diva Canto2011-03-081-1/+8
| | | | 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.
* Fixed some inconsistency with trailing /. Made debug messages consistent. ↵Diva Canto2010-12-051-2/+2
| | | | Changed the stored region names of HG regions. Increased the size of regionName in DB.
* Alphabetize results on region search by prefix matchingMelanie2010-10-181-0/+2
|
* Enforce DB limits on region name to 32 chars, or else (not good). Removed a ↵Diva Canto2010-08-101-0/+3
| | | | piece of code from Hyperlinker that didn't work anyway. Shortened the hyperlink region name.
* Thank you, Marck00, for a patch that implemented region distance sortingMelanie Thielker2010-08-081-2/+4
| | | | for fallback regions. Applied with changes.
* White space from previous commit.Diva Canto2010-07-311-25/+25
|
* Implemented console command "show hyperlinks".Marck2010-07-311-23/+26
|
* All (?) MySQL stores fixed to use DBGuid.FromDB()AlexRa2010-05-191-6/+4
| | | | | | | | | | | | | 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)
* Merge branch 'master' into presence-refactorMelanie2010-02-081-124/+133
|\ | | | | | | | | This was a large, heavily conflicted merge and things MAY have got broken. Please check!
| * Updated MySQL connection management to use the MySQL connection pooling. ↵Master ScienceSim2010-02-051-124/+133
| | | | | | | | This should accommodate various timeout problems that exist with the current connection pool code in a more general and standard way.
* | Preliminary work on the new default region setting mechanismMelanie2010-01-091-0/+26
|/
* Reverting the memory leak patch for MySQL. Problems have been reported with ↵John Hurliman2009-11-021-114/+114
| | | | the grid server after running for several hours
* Stop null values from being returned on database queriesMelanie2009-10-121-1/+4
|
* Remove the using() constructs from the new style database modules; they causedMelanie2009-10-061-1/+1
| | | | | | | | the underlying connection of a reader or command to be closed before the reader or command itself. Added the proper logic to Close and dispose items in CloseDBConnection. Readers and Connections need Close(), Commands need Dispose(), in the order Reader, Command, Connection. Also reinstated 80-column-friendly formatting
* Added CloseDBConnection() to replace the old CloseReaderCommand(). This will ↵John Hurliman2009-10-051-0/+2
| | | | close the MySQLConnection attached to a MySQLCommand. I'm not sure if this accounts for every time a database connection needs to be closed, but it matches up 1:1 with the places where the database connection was previously being closed
* * MySQL data tests now pass by fixing a bad fix for a bad cast on the asset ↵John Hurliman2009-10-041-121/+119
| | | | | | 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)
* Make the RegionData plugin store the RegionNameMelanie2009-09-271-2/+3
|
* Prevent manually setting Data["locX"] and Data["locY"], since that wouldMelanie2009-09-271-0/+4
| | | | overwrite the posX and posY members of the structure
* Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensimMelanie2009-09-271-7/+4
|\ | | | | | | | | Conflicts: OpenSim/Data/MySQL/MySQLRegionData.cs
| * minor: remove some mono compiler warningsJustin Clark-Casey (justincc)2009-09-251-1/+1
| |
| * All tests pass for MySQL/MySQLRegionData.Diva Canto2009-09-241-12/+3
| | | | | | | | Added OpenSim.GridServer.ini.example that I have been using for testing the ROBUST grid service with the GridClient.
* | Add the Migration for the regions tableMelanie2009-09-271-8/+14
|/
* Adding the MySQL RegionData service.Melanie2009-09-161-1471/+144
|
* Thank you, dslake, for a set of patches to improve OpenSim startupMelanie2009-09-021-9/+40
| | | | and idle performance.
* Adding in Reflection-based testing, to ensure that all properties are covered.Kunnis2009-08-161-7/+10
|
* * Remove hard coded 256 limitations from various places. There's no more ↵Teravus Ovares (Dan Olivares)2009-08-071-6/+6
| | | | 256m limitation within the OpenSimulator framework, however, the LLClient ClientView does not support regions larger then 256 meters so, if you try and make your region larger by setting Constants.RegionSize = 512; in OpenSim.Framework.Constants.cs, the terrain will not display on clients using the LLUDP protocol
* * Updates libOMV to version 0.7.0Teravus Ovares2009-07-251-2/+2
| | | | | | | | * Uses mantis #3811 as a base (thanks jhuliman) with changes. * E-mail regarding interface changes sent to the opensim-dev list * Archive: https://lists.berlios.de/pipermail/opensim-dev/2009-July/007219.html
* From: Chris Yeoh <yeohc@au1.ibm.com>Sean Dague2009-06-301-1/+1
| | | | | | | Ooops, sorry there was a bug in the patch and causes an exception on some system (I think it only happens on windows since it didn't occur during my testin). I've attached a one liner which fixes the problem.
* From: Chris Yeoh <yeohc@au1.ibm.com>Sean Dague2009-06-291-13/+4
| | | | | | | | Attached is a patch that changes the oar file saving of creation date/time to an integer instead of a string. I did this after justincc emailed me saying there is a problem with internationalisation doing it the old way and I said I'd fix it. Its been tested with MySQL and I've made the changes for MSSQL but that hasn't been well tested.
* From: Chris Yeoh <yeohc@au1.ibm.com>Dr Scofield2009-06-031-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds oar file date and time (UTC) meta data to an oar file when it is created. It also adds a unique ID, though this id does not in anyway identify the machine that the oar file was created on. When an oar file with this meta data is loaded this extra information is saved with the region settings and available via LSL through: - osLoadedCreationDate() - osLoadedCreationTime() - osLoadedCreationID() If there is no meta data these fields will be blank. Subsequent oar file loads will erase the information for the previous oar file load. Persistence has only been implemented for MySQL, the other backends need updating. Overall this allows us to much more easily identify the specific version of software that clients are using. Its very straightforward to edit the oar file to change the ID string to be something more human friendly. Included in the patch is a new file OpenSim/Data/MySQL/Resources/030_RegionStore.sql required for the MySQL DB migration. btw I had a chat with justincc about this a few weeks ago since he wrote the oar file import/export and he sounded happy to accept something that included date/time information but didn't want anything that would silently leak private information like machine names.
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-011-1/+1
| | | | LICENSE.txt.
* From: Chris Yeoh <cyeoh@au1.ibm.com>Dr Scofield2009-05-271-2/+12
| | | | | | | | | | | | The attached patch implements llPassTouches. It has been added to the export/import XML along with the flag for AllowedInventoryDrop. The MySQL backend has been updated as well, though I haven't done one of those before so could do with a check. I added the migration mysql file as well. The other data backends need updating as well.
* Revert "From: Chris Yeoh <cyeoh@au1.ibm.com>"Dr Scofield2009-05-251-12/+2
| | | | | This reverts r9666. for some reason the mysql update does not work.
* From: Chris Yeoh <cyeoh@au1.ibm.com>Dr Scofield2009-05-251-2/+12
| | | | | | | | | | | | The attached patch implements llPassTouches. It has been added to the export/import XML along with the flag for AllowedInventoryDrop. The MySQL backend has been updated as well, though I haven't done one of those before so could do with a check. I added the migration mysql file as well. The other data backends need updating as well.
* * Consistently used dashed uuid format for mysql region data, as is done for ↵Justin Clarke Casey2009-05-071-29/+26
| | | | | | | | | | all other tables * This revision contains a mysql data migration. Please backup your mysql region database as a precaution before using this code. * I also advise that you do a runprebuild[.sh|.bat] and a clean build ("nant clean build" if you're using the command line). * This change is needed for future id schemes
* * Refactored SOP.FolderID weirdness by removing calls to empty setter. YEs, ↵lbsa712009-02-251-4/+0
| | | | | | | I do realize the setter has to be there for legacy reasons, but since the calls will never acually DO anyhting, I'm removing them. * So, SOP.FolderID is actually a cruft field that should be removed.
* * optimized usings.lbsa712009-02-121-4/+4
|
* This changeset is the step 1 of 2 in refactoringDr Scofield2009-02-061-2/+2
| | | | | | | | | | | | | | | | | | | | OpenSim.Region.Environment into a "framework" part and a modules only part. This first changeset refactors OpenSim.Region.Environment.Scenes, OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region modules in OpenSim.Region.Environment. The next step will be to move region modules up from OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and then sort out which modules are really core modules and which should move out to forge. I've been very careful to NOT BREAK anything. i hope i've succeeded. as this is the work of a whole week i hope i managed to keep track with the applied patches of the last week --- could any of you that did check in stuff have a look at whether it survived? thx!