aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorUbitUmarov2015-08-23 01:33:56 +0100
committerUbitUmarov2015-08-23 01:33:56 +0100
commita916ef570e8d5e01f263896fc5d913cd5725dbcb (patch)
tree055ca8ea33ebd1c3fac33bdd5f3db171fcfac026
parentWarp3D map now seems to work (diff)
downloadopensim-SC_OLD-a916ef570e8d5e01f263896fc5d913cd5725dbcb.zip
opensim-SC_OLD-a916ef570e8d5e01f263896fc5d913cd5725dbcb.tar.gz
opensim-SC_OLD-a916ef570e8d5e01f263896fc5d913cd5725dbcb.tar.bz2
opensim-SC_OLD-a916ef570e8d5e01f263896fc5d913cd5725dbcb.tar.xz
fix mySQL ( ignoring other dbs )
-rw-r--r--OpenSim/Data/MySQL/MySQLSimulationData.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Data/MySQL/MySQLSimulationData.cs b/OpenSim/Data/MySQL/MySQLSimulationData.cs
index f910e44..f3c0160 100644
--- a/OpenSim/Data/MySQL/MySQLSimulationData.cs
+++ b/OpenSim/Data/MySQL/MySQLSimulationData.cs
@@ -613,12 +613,13 @@ namespace OpenSim.Data.MySQL
613 { 613 {
614 cmd2.CommandText = "insert into terrain (RegionUUID, " + 614 cmd2.CommandText = "insert into terrain (RegionUUID, " +
615 "Revision, Heightfield) values (?RegionUUID, " + 615 "Revision, Heightfield) values (?RegionUUID, " +
616 "1, ?Heightfield)"; 616 "?Revision, ?Heightfield)";
617 617
618 int terrainDBRevision; 618 int terrainDBRevision;
619 Array terrainDBblob; 619 Array terrainDBblob;
620 terrData.GetDatabaseBlob(out terrainDBRevision, out terrainDBblob); 620 terrData.GetDatabaseBlob(out terrainDBRevision, out terrainDBblob);
621 621
622 cmd2.Parameters.AddWithValue("RegionUUID", regionID.ToString());
622 cmd2.Parameters.AddWithValue("Revision", terrainDBRevision); 623 cmd2.Parameters.AddWithValue("Revision", terrainDBRevision);
623 cmd2.Parameters.AddWithValue("Heightfield", terrainDBblob); 624 cmd2.Parameters.AddWithValue("Heightfield", terrainDBblob);
624 625