diff options
* Reworked Data Framework so that MSSQL works
* Introduced uint as field type
* Removed what should be superfluous Guid handling
* Introduced stub MySQLDataReader if we need to fix the Guid handling anyway
Diffstat (limited to 'OpenSim/Framework/Data.MySQLMapper/MySQLDatabaseMapper.cs')
-rw-r--r-- | OpenSim/Framework/Data.MySQLMapper/MySQLDatabaseMapper.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Framework/Data.MySQLMapper/MySQLDatabaseMapper.cs b/OpenSim/Framework/Data.MySQLMapper/MySQLDatabaseMapper.cs index ae58f00..3f5b18f 100644 --- a/OpenSim/Framework/Data.MySQLMapper/MySQLDatabaseMapper.cs +++ b/OpenSim/Framework/Data.MySQLMapper/MySQLDatabaseMapper.cs | |||
@@ -25,9 +25,11 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System.Data; | ||
28 | using System.Data.Common; | 29 | using System.Data.Common; |
29 | using MySql.Data.MySqlClient; | 30 | using MySql.Data.MySqlClient; |
30 | using OpenSim.Framework.Data; | 31 | using OpenSim.Framework.Data; |
32 | using OpenSim.Framework.Data.Base; | ||
31 | 33 | ||
32 | namespace OpenSim.Framework.Data.MySQLMapper | 34 | namespace OpenSim.Framework.Data.MySQLMapper |
33 | { | 35 | { |
@@ -48,5 +50,10 @@ namespace OpenSim.Framework.Data.MySQLMapper | |||
48 | { | 50 | { |
49 | return "?" + fieldName; | 51 | return "?" + fieldName; |
50 | } | 52 | } |
53 | |||
54 | public override BaseDataReader CreateReader(IDataReader reader) | ||
55 | { | ||
56 | return new MySQLDataReader( reader ); | ||
57 | } | ||
51 | } | 58 | } |
52 | } \ No newline at end of file | 59 | } \ No newline at end of file |