Skip to content

"core dumped" after error, on exiting IPython #283

@amachanic

Description

@amachanic

IPython:

In [1]: import mssql_python

In [2]: c = mssql_python.connect("Server=some_server;Database=some_db;Uid=some_user;Pwd=some_pwd;Encrypt=No;")

In [3]: cur = c.cursor()

In [4]: cur.execute('select * from #y')

--> ProgrammingError: Driver Error: Base table or view not found; DDBC Error: [Microsoft][SQL Server]Invalid object name '#y'.

In [5]: quit()

-->

terminate called after throwing an instance of 'std::runtime_error'
  what():  [Microsoft][ODBC Driver 18 for SQL Server]Invalid transaction state
Aborted (core dumped)

Pretty sure that's not expected behavior!

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtriage doneIssues that are triaged by dev team and are in investigation.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions