aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data')
-rw-r--r--OpenSim/Data/NHibernate/NHibernateRegionData.cs10
-rw-r--r--OpenSim/Data/NHibernate/Resources/MySQLDialect/001_RegionStore.sql2
2 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Data/NHibernate/NHibernateRegionData.cs b/OpenSim/Data/NHibernate/NHibernateRegionData.cs
index 1c9e363..98d82a1 100644
--- a/OpenSim/Data/NHibernate/NHibernateRegionData.cs
+++ b/OpenSim/Data/NHibernate/NHibernateRegionData.cs
@@ -54,10 +54,10 @@ namespace OpenSim.Data.NHibernate
54 private ISessionFactory factory; 54 private ISessionFactory factory;
55 private ISession session; 55 private ISession session;
56 56
57 public void Initialise() 57 // public void Initialise()
58 { 58 // {
59 Initialise("SQLiteDialect;SqliteClientDriver;URI=file:OpenSim.db,version=3", true); 59 // Initialise("SQLiteDialect;SqliteClientDriver;URI=file:OpenSim.db,version=3", true);
60 } 60 // }
61 61
62 public void Initialise(string connect, bool persistpriminventories) 62 public void Initialise(string connect, bool persistpriminventories)
63 { 63 {
@@ -67,7 +67,7 @@ namespace OpenSim.Data.NHibernate
67 if (parts.Length != 3) 67 if (parts.Length != 3)
68 { 68 {
69 // TODO: make this a real exception type 69 // TODO: make this a real exception type
70 throw new Exception("Malformed Inventory connection string '" + connect + "'"); 70 throw new Exception("Malformed Region connection string '" + connect + "'");
71 } 71 }
72 72
73 string dialect = parts[0]; 73 string dialect = parts[0];
diff --git a/OpenSim/Data/NHibernate/Resources/MySQLDialect/001_RegionStore.sql b/OpenSim/Data/NHibernate/Resources/MySQLDialect/001_RegionStore.sql
index 1811a44..99a5227 100644
--- a/OpenSim/Data/NHibernate/Resources/MySQLDialect/001_RegionStore.sql
+++ b/OpenSim/Data/NHibernate/Resources/MySQLDialect/001_RegionStore.sql
@@ -74,6 +74,6 @@ CREATE TABLE `Prims` (
74 `ExtraParams` longblob, 74 `ExtraParams` longblob,
75 PRIMARY KEY (`UUID`), 75 PRIMARY KEY (`UUID`),
76 KEY `prims_regionuuid` (`RegionID`), 76 KEY `prims_regionuuid` (`RegionID`),
77 KEY 'prims_parentuuid' ('ParentUUID') 77 KEY `prims_parentuuid` (`ParentUUID`)
78) ENGINE=InnoDB DEFAULT CHARSET=utf8; 78) ENGINE=InnoDB DEFAULT CHARSET=utf8;
79 79