aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data/OpenSimDatabaseConnector.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Data/OpenSimDatabaseConnector.cs')
-rw-r--r--OpenSim/Framework/Data/OpenSimDatabaseConnector.cs20
1 files changed, 0 insertions, 20 deletions
diff --git a/OpenSim/Framework/Data/OpenSimDatabaseConnector.cs b/OpenSim/Framework/Data/OpenSimDatabaseConnector.cs
index 2bfd6f1..809fd1e 100644
--- a/OpenSim/Framework/Data/OpenSimDatabaseConnector.cs
+++ b/OpenSim/Framework/Data/OpenSimDatabaseConnector.cs
@@ -28,7 +28,6 @@
28using System.Data; 28using System.Data;
29using System.Data.Common; 29using System.Data.Common;
30using libsecondlife; 30using libsecondlife;
31using MySql.Data.MySqlClient;
32 31
33using OpenSim.Framework.Data.Base; 32using OpenSim.Framework.Data.Base;
34 33
@@ -55,23 +54,4 @@ namespace OpenSim.Framework.Data
55 return new OpenSimDataReader(reader); 54 return new OpenSimDataReader(reader);
56 } 55 }
57 } 56 }
58
59 public class MySQLDatabaseMapper : OpenSimDatabaseConnector
60 {
61 public MySQLDatabaseMapper(string connectionString)
62 : base(connectionString)
63 {
64 }
65
66 public override DbConnection GetNewConnection()
67 {
68 MySqlConnection connection = new MySqlConnection(m_connectionString);
69 return connection;
70 }
71
72 public override string CreateParamName(string fieldName)
73 {
74 return "?" + fieldName;
75 }
76 }
77} 57}