diff options
author | Brian McBee | 2008-02-02 18:25:17 +0000 |
---|---|---|
committer | Brian McBee | 2008-02-02 18:25:17 +0000 |
commit | e2680342d172eb4d797a8677c6baf5b870314f9f (patch) | |
tree | 053c3778effc69c2623e0995e1b7248252eb1ee1 /OpenSim/Grid | |
parent | fix for error on null owner_uuid field (diff) | |
download | opensim-SC-e2680342d172eb4d797a8677c6baf5b870314f9f.zip opensim-SC-e2680342d172eb4d797a8677c6baf5b870314f9f.tar.gz opensim-SC-e2680342d172eb4d797a8677c6baf5b870314f9f.tar.bz2 opensim-SC-e2680342d172eb4d797a8677c6baf5b870314f9f.tar.xz |
Turn on fastMode for map block queries to grid server if and only if grid is running MYSQL as the data source.
Diffstat (limited to 'OpenSim/Grid')
-rw-r--r-- | OpenSim/Grid/GridServer/GridManager.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Grid/GridServer/GridManager.cs b/OpenSim/Grid/GridServer/GridManager.cs index 541e06e..c956a01 100644 --- a/OpenSim/Grid/GridServer/GridManager.cs +++ b/OpenSim/Grid/GridServer/GridManager.cs | |||
@@ -544,6 +544,7 @@ namespace OpenSim.Grid.GridServer | |||
544 | IList simProfileList = new ArrayList(); | 544 | IList simProfileList = new ArrayList(); |
545 | 545 | ||
546 | bool fastMode = false; // MySQL Only | 546 | bool fastMode = false; // MySQL Only |
547 | fastMode = (config.DatabaseProvider == "OpenSim.Framework.Data.MySQL.dll"); | ||
547 | 548 | ||
548 | if (fastMode) | 549 | if (fastMode) |
549 | { | 550 | { |