diff options
Diffstat (limited to 'OpenSim/Data/SQLite')
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteAssetData.cs | 4 | ||||
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteSimulationData.cs | 5 | ||||
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteUserAccountData.cs | 5 |
3 files changed, 13 insertions, 1 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteAssetData.cs b/OpenSim/Data/SQLite/SQLiteAssetData.cs index 61e7aaf..b94a58c 100644 --- a/OpenSim/Data/SQLite/SQLiteAssetData.cs +++ b/OpenSim/Data/SQLite/SQLiteAssetData.cs | |||
@@ -131,7 +131,7 @@ namespace OpenSim.Data.SQLite | |||
131 | /// Create an asset | 131 | /// Create an asset |
132 | /// </summary> | 132 | /// </summary> |
133 | /// <param name="asset">Asset Base</param> | 133 | /// <param name="asset">Asset Base</param> |
134 | override public void StoreAsset(AssetBase asset) | 134 | override public bool StoreAsset(AssetBase asset) |
135 | { | 135 | { |
136 | //m_log.Info("[ASSET DB]: Creating Asset " + asset.FullID.ToString()); | 136 | //m_log.Info("[ASSET DB]: Creating Asset " + asset.FullID.ToString()); |
137 | if (ExistsAsset(asset.FullID)) | 137 | if (ExistsAsset(asset.FullID)) |
@@ -153,6 +153,7 @@ namespace OpenSim.Data.SQLite | |||
153 | cmd.Parameters.Add(new SqliteParameter(":Data", asset.Data)); | 153 | cmd.Parameters.Add(new SqliteParameter(":Data", asset.Data)); |
154 | 154 | ||
155 | cmd.ExecuteNonQuery(); | 155 | cmd.ExecuteNonQuery(); |
156 | return true; | ||
156 | } | 157 | } |
157 | } | 158 | } |
158 | } | 159 | } |
@@ -173,6 +174,7 @@ namespace OpenSim.Data.SQLite | |||
173 | cmd.Parameters.Add(new SqliteParameter(":Data", asset.Data)); | 174 | cmd.Parameters.Add(new SqliteParameter(":Data", asset.Data)); |
174 | 175 | ||
175 | cmd.ExecuteNonQuery(); | 176 | cmd.ExecuteNonQuery(); |
177 | return true; | ||
176 | } | 178 | } |
177 | } | 179 | } |
178 | } | 180 | } |
diff --git a/OpenSim/Data/SQLite/SQLiteSimulationData.cs b/OpenSim/Data/SQLite/SQLiteSimulationData.cs index d4734a6..99a6598 100644 --- a/OpenSim/Data/SQLite/SQLiteSimulationData.cs +++ b/OpenSim/Data/SQLite/SQLiteSimulationData.cs | |||
@@ -2940,6 +2940,11 @@ namespace OpenSim.Data.SQLite | |||
2940 | } | 2940 | } |
2941 | } | 2941 | } |
2942 | 2942 | ||
2943 | public UUID[] GetObjectIDs(UUID regionID) | ||
2944 | { | ||
2945 | return new UUID[0]; | ||
2946 | } | ||
2947 | |||
2943 | public void SaveExtra(UUID regionID, string name, string value) | 2948 | public void SaveExtra(UUID regionID, string name, string value) |
2944 | { | 2949 | { |
2945 | } | 2950 | } |
diff --git a/OpenSim/Data/SQLite/SQLiteUserAccountData.cs b/OpenSim/Data/SQLite/SQLiteUserAccountData.cs index f98d376..91d62ce 100644 --- a/OpenSim/Data/SQLite/SQLiteUserAccountData.cs +++ b/OpenSim/Data/SQLite/SQLiteUserAccountData.cs | |||
@@ -82,5 +82,10 @@ namespace OpenSim.Data.SQLite | |||
82 | return DoQuery(cmd); | 82 | return DoQuery(cmd); |
83 | } | 83 | } |
84 | } | 84 | } |
85 | |||
86 | public UserAccountData[] GetUsersWhere(UUID scopeID, string where) | ||
87 | { | ||
88 | return null; | ||
89 | } | ||
85 | } | 90 | } |
86 | } | 91 | } |