diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteAssetData.cs | 4 | ||||
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteUserAccountData.cs | 5 | ||||
-rw-r--r-- | OpenSim/Data/SQLiteLegacy/SQLiteAssetData.cs | 4 | ||||
-rw-r--r-- | OpenSim/Data/SQLiteLegacy/SQLiteUserAccountData.cs | 5 |
4 files changed, 16 insertions, 2 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteAssetData.cs b/OpenSim/Data/SQLite/SQLiteAssetData.cs index 5b71897..9a4eb76 100644 --- a/OpenSim/Data/SQLite/SQLiteAssetData.cs +++ b/OpenSim/Data/SQLite/SQLiteAssetData.cs | |||
@@ -124,7 +124,7 @@ namespace OpenSim.Data.SQLite | |||
124 | /// Create an asset | 124 | /// Create an asset |
125 | /// </summary> | 125 | /// </summary> |
126 | /// <param name="asset">Asset Base</param> | 126 | /// <param name="asset">Asset Base</param> |
127 | override public void StoreAsset(AssetBase asset) | 127 | override public bool StoreAsset(AssetBase asset) |
128 | { | 128 | { |
129 | //m_log.Info("[ASSET DB]: Creating Asset " + asset.FullID.ToString()); | 129 | //m_log.Info("[ASSET DB]: Creating Asset " + asset.FullID.ToString()); |
130 | if (ExistsAsset(asset.FullID)) | 130 | if (ExistsAsset(asset.FullID)) |
@@ -146,6 +146,7 @@ namespace OpenSim.Data.SQLite | |||
146 | cmd.Parameters.Add(new SqliteParameter(":Data", asset.Data)); | 146 | cmd.Parameters.Add(new SqliteParameter(":Data", asset.Data)); |
147 | 147 | ||
148 | cmd.ExecuteNonQuery(); | 148 | cmd.ExecuteNonQuery(); |
149 | return true; | ||
149 | } | 150 | } |
150 | } | 151 | } |
151 | } | 152 | } |
@@ -166,6 +167,7 @@ namespace OpenSim.Data.SQLite | |||
166 | cmd.Parameters.Add(new SqliteParameter(":Data", asset.Data)); | 167 | cmd.Parameters.Add(new SqliteParameter(":Data", asset.Data)); |
167 | 168 | ||
168 | cmd.ExecuteNonQuery(); | 169 | cmd.ExecuteNonQuery(); |
170 | return true; | ||
169 | } | 171 | } |
170 | } | 172 | } |
171 | } | 173 | } |
diff --git a/OpenSim/Data/SQLite/SQLiteUserAccountData.cs b/OpenSim/Data/SQLite/SQLiteUserAccountData.cs index 7a5de50..4d580c0 100644 --- a/OpenSim/Data/SQLite/SQLiteUserAccountData.cs +++ b/OpenSim/Data/SQLite/SQLiteUserAccountData.cs | |||
@@ -81,5 +81,10 @@ namespace OpenSim.Data.SQLite | |||
81 | 81 | ||
82 | return DoQuery(cmd); | 82 | return DoQuery(cmd); |
83 | } | 83 | } |
84 | |||
85 | public UserAccountData[] GetUsersWhere(UUID scopeID, string where) | ||
86 | { | ||
87 | return null; | ||
88 | } | ||
84 | } | 89 | } |
85 | } | 90 | } |
diff --git a/OpenSim/Data/SQLiteLegacy/SQLiteAssetData.cs b/OpenSim/Data/SQLiteLegacy/SQLiteAssetData.cs index df50902..3da298b 100644 --- a/OpenSim/Data/SQLiteLegacy/SQLiteAssetData.cs +++ b/OpenSim/Data/SQLiteLegacy/SQLiteAssetData.cs | |||
@@ -119,7 +119,7 @@ namespace OpenSim.Data.SQLiteLegacy | |||
119 | /// Create an asset | 119 | /// Create an asset |
120 | /// </summary> | 120 | /// </summary> |
121 | /// <param name="asset">Asset Base</param> | 121 | /// <param name="asset">Asset Base</param> |
122 | override public void StoreAsset(AssetBase asset) | 122 | override public bool StoreAsset(AssetBase asset) |
123 | { | 123 | { |
124 | //m_log.Info("[ASSET DB]: Creating Asset " + asset.FullID.ToString()); | 124 | //m_log.Info("[ASSET DB]: Creating Asset " + asset.FullID.ToString()); |
125 | if (ExistsAsset(asset.FullID)) | 125 | if (ExistsAsset(asset.FullID)) |
@@ -139,6 +139,7 @@ namespace OpenSim.Data.SQLiteLegacy | |||
139 | cmd.Parameters.Add(new SqliteParameter(":Data", asset.Data)); | 139 | cmd.Parameters.Add(new SqliteParameter(":Data", asset.Data)); |
140 | 140 | ||
141 | cmd.ExecuteNonQuery(); | 141 | cmd.ExecuteNonQuery(); |
142 | return true; | ||
142 | } | 143 | } |
143 | } | 144 | } |
144 | } | 145 | } |
@@ -157,6 +158,7 @@ namespace OpenSim.Data.SQLiteLegacy | |||
157 | cmd.Parameters.Add(new SqliteParameter(":Data", asset.Data)); | 158 | cmd.Parameters.Add(new SqliteParameter(":Data", asset.Data)); |
158 | 159 | ||
159 | cmd.ExecuteNonQuery(); | 160 | cmd.ExecuteNonQuery(); |
161 | return true; | ||
160 | } | 162 | } |
161 | } | 163 | } |
162 | } | 164 | } |
diff --git a/OpenSim/Data/SQLiteLegacy/SQLiteUserAccountData.cs b/OpenSim/Data/SQLiteLegacy/SQLiteUserAccountData.cs index 27553c6..41a0177 100644 --- a/OpenSim/Data/SQLiteLegacy/SQLiteUserAccountData.cs +++ b/OpenSim/Data/SQLiteLegacy/SQLiteUserAccountData.cs | |||
@@ -77,5 +77,10 @@ namespace OpenSim.Data.SQLiteLegacy | |||
77 | 77 | ||
78 | return DoQuery(cmd); | 78 | return DoQuery(cmd); |
79 | } | 79 | } |
80 | |||
81 | public UserAccountData[] GetUsersWhere(UUID scopeID, string where) | ||
82 | { | ||
83 | return null; | ||
84 | } | ||
80 | } | 85 | } |
81 | } | 86 | } |