mirror of
https://github.com/opensim/opensim.git
synced 2026-07-04 01:40:07 +08:00
* 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
This commit is contained in:
@@ -25,9 +25,11 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
using System.Data;
|
||||
using System.Data.Common;
|
||||
using MySql.Data.MySqlClient;
|
||||
using OpenSim.Framework.Data;
|
||||
using OpenSim.Framework.Data.Base;
|
||||
|
||||
namespace OpenSim.Framework.Data.MySQLMapper
|
||||
{
|
||||
@@ -48,5 +50,10 @@ namespace OpenSim.Framework.Data.MySQLMapper
|
||||
{
|
||||
return "?" + fieldName;
|
||||
}
|
||||
|
||||
public override BaseDataReader CreateReader(IDataReader reader)
|
||||
{
|
||||
return new MySQLDataReader( reader );
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user