aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/MySQLGenericTableHandler.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data/MySQL/MySQLGenericTableHandler.cs')
-rw-r--r--OpenSim/Data/MySQL/MySQLGenericTableHandler.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Data/MySQL/MySQLGenericTableHandler.cs b/OpenSim/Data/MySQL/MySQLGenericTableHandler.cs
index 873d6d4..1a97fee 100644
--- a/OpenSim/Data/MySQL/MySQLGenericTableHandler.cs
+++ b/OpenSim/Data/MySQL/MySQLGenericTableHandler.cs
@@ -95,12 +95,12 @@ namespace OpenSim.Data.MySQL
95 } 95 }
96 } 96 }
97 97
98 public T[] Get(string field, string key) 98 public virtual T[] Get(string field, string key)
99 { 99 {
100 return Get(new string[] { field }, new string[] { key }); 100 return Get(new string[] { field }, new string[] { key });
101 } 101 }
102 102
103 public T[] Get(string[] fields, string[] keys) 103 public virtual T[] Get(string[] fields, string[] keys)
104 { 104 {
105 if (fields.Length != keys.Length) 105 if (fields.Length != keys.Length)
106 return new T[0]; 106 return new T[0];
@@ -184,7 +184,7 @@ namespace OpenSim.Data.MySQL
184 return result.ToArray(); 184 return result.ToArray();
185 } 185 }
186 186
187 public T[] Get(string where) 187 public virtual T[] Get(string where)
188 { 188 {
189 MySqlCommand cmd = new MySqlCommand(); 189 MySqlCommand cmd = new MySqlCommand();
190 190
@@ -196,7 +196,7 @@ namespace OpenSim.Data.MySQL
196 return DoQuery(cmd); 196 return DoQuery(cmd);
197 } 197 }
198 198
199 public bool Store(T row) 199 public virtual bool Store(T row)
200 { 200 {
201 MySqlCommand cmd = new MySqlCommand(); 201 MySqlCommand cmd = new MySqlCommand();
202 202
@@ -234,7 +234,7 @@ namespace OpenSim.Data.MySQL
234 return false; 234 return false;
235 } 235 }
236 236
237 public bool Delete(string field, string val) 237 public virtual bool Delete(string field, string val)
238 { 238 {
239 MySqlCommand cmd = new MySqlCommand(); 239 MySqlCommand cmd = new MySqlCommand();
240 240