diff options
Diffstat (limited to 'OpenSim/Data/MySQL/MySQLGenericTableHandler.cs')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLGenericTableHandler.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Data/MySQL/MySQLGenericTableHandler.cs b/OpenSim/Data/MySQL/MySQLGenericTableHandler.cs index 698bf52..6ad59f6 100644 --- a/OpenSim/Data/MySQL/MySQLGenericTableHandler.cs +++ b/OpenSim/Data/MySQL/MySQLGenericTableHandler.cs | |||
@@ -99,12 +99,12 @@ namespace OpenSim.Data.MySQL | |||
99 | } | 99 | } |
100 | } | 100 | } |
101 | 101 | ||
102 | public T[] Get(string field, string key) | 102 | public virtual T[] Get(string field, string key) |
103 | { | 103 | { |
104 | return Get(new string[] { field }, new string[] { key }); | 104 | return Get(new string[] { field }, new string[] { key }); |
105 | } | 105 | } |
106 | 106 | ||
107 | public T[] Get(string[] fields, string[] keys) | 107 | public virtual T[] Get(string[] fields, string[] keys) |
108 | { | 108 | { |
109 | if (fields.Length != keys.Length) | 109 | if (fields.Length != keys.Length) |
110 | return new T[0]; | 110 | return new T[0]; |
@@ -198,7 +198,7 @@ namespace OpenSim.Data.MySQL | |||
198 | return result.ToArray(); | 198 | return result.ToArray(); |
199 | } | 199 | } |
200 | 200 | ||
201 | public T[] Get(string where) | 201 | public virtual T[] Get(string where) |
202 | { | 202 | { |
203 | using (MySqlCommand cmd = new MySqlCommand()) | 203 | using (MySqlCommand cmd = new MySqlCommand()) |
204 | { | 204 | { |
@@ -212,7 +212,7 @@ namespace OpenSim.Data.MySQL | |||
212 | } | 212 | } |
213 | } | 213 | } |
214 | 214 | ||
215 | public bool Store(T row) | 215 | public virtual bool Store(T row) |
216 | { | 216 | { |
217 | using (MySqlCommand cmd = new MySqlCommand()) | 217 | using (MySqlCommand cmd = new MySqlCommand()) |
218 | { | 218 | { |
@@ -252,7 +252,7 @@ namespace OpenSim.Data.MySQL | |||
252 | } | 252 | } |
253 | } | 253 | } |
254 | 254 | ||
255 | public bool Delete(string field, string val) | 255 | public virtual bool Delete(string field, string val) |
256 | { | 256 | { |
257 | using (MySqlCommand cmd = new MySqlCommand()) | 257 | using (MySqlCommand cmd = new MySqlCommand()) |
258 | { | 258 | { |