aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/SQLite/SQLiteRegionData.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteRegionData.cs b/OpenSim/Data/SQLite/SQLiteRegionData.cs
index c3ff47f..ccd712a 100644
--- a/OpenSim/Data/SQLite/SQLiteRegionData.cs
+++ b/OpenSim/Data/SQLite/SQLiteRegionData.cs
@@ -119,7 +119,7 @@ namespace OpenSim.Data.SQLite
119 landAccessListDa = new SqliteDataAdapter(landAccessListSelectCmd); 119 landAccessListDa = new SqliteDataAdapter(landAccessListSelectCmd);
120 120
121 SqliteCommand regionSettingsSelectCmd = new SqliteCommand(regionSettingsSelect, m_conn); 121 SqliteCommand regionSettingsSelectCmd = new SqliteCommand(regionSettingsSelect, m_conn);
122 122 regionSettingsDa = new SqliteDataAdapter(regionSettingsSelectCmd);
123 // This actually does the roll forward assembly stuff 123 // This actually does the roll forward assembly stuff
124 Assembly assem = GetType().Assembly; 124 Assembly assem = GetType().Assembly;
125 Migration m = new Migration(m_conn, assem, "RegionStore"); 125 Migration m = new Migration(m_conn, assem, "RegionStore");
@@ -148,6 +148,7 @@ namespace OpenSim.Data.SQLite
148 setupLandAccessCommands(landAccessListDa, m_conn); 148 setupLandAccessCommands(landAccessListDa, m_conn);
149 149
150 ds.Tables.Add(createRegionSettingsTable()); 150 ds.Tables.Add(createRegionSettingsTable());
151
151 setupRegionSettingsCommands(regionSettingsDa, m_conn); 152 setupRegionSettingsCommands(regionSettingsDa, m_conn);
152 153
153 // WORKAROUND: This is a work around for sqlite on 154 // WORKAROUND: This is a work around for sqlite on
@@ -963,7 +964,7 @@ namespace OpenSim.Data.SQLite
963 createCol(regionsettings, "fixed_sun", typeof (Int32)); 964 createCol(regionsettings, "fixed_sun", typeof (Int32));
964 createCol(regionsettings, "sun_position", typeof (Double)); 965 createCol(regionsettings, "sun_position", typeof (Double));
965 createCol(regionsettings, "covenant", typeof(String)); 966 createCol(regionsettings, "covenant", typeof(String));
966 967 regionsettings.PrimaryKey = new DataColumn[] { regionsettings.Columns["regionUUID"] };
967 return regionsettings; 968 return regionsettings;
968 } 969 }
969 970