diff options
Diffstat (limited to 'OpenSim/Framework/Data')
-rw-r--r-- | OpenSim/Framework/Data/OpenSimDatabaseConnector.cs | 20 |
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 @@ | |||
28 | using System.Data; | 28 | using System.Data; |
29 | using System.Data.Common; | 29 | using System.Data.Common; |
30 | using libsecondlife; | 30 | using libsecondlife; |
31 | using MySql.Data.MySqlClient; | ||
32 | 31 | ||
33 | using OpenSim.Framework.Data.Base; | 32 | using 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 | } |