Skip to content

Client should raise error on failed execution #451

Closed
@scbabacus-midnight

Description

@scbabacus-midnight

Environment

Debian (Docker)
Image ruby:2

I am wondering if execute should raise TinyTds::Error on failed execution?
See more info here:
rails-sqlserver/activerecord-sqlserver-adapter#717

To summarize the consumer got false as a return value which IMO totally unexpected.
I wonder did you forgot to raise an error in ruby instead of returning false from the native C to the consumer?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions