Skip to content

GetDouble and GetFloat less type auto conversion #664

@dczuo

Description

@dczuo

simple example:
using (var reader = new MySqlCommand("select 1 / 3 from tablename", conn).ExecuteReader())
{
reader.Read();
reader.GetDouble(0); // InvalidCastException
reader.GetFloat(0); // InvalidCastException
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions