Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Stop raising SystemError when no database name given #11

Merged
merged 1 commit into from
Apr 20, 2012

Conversation

hongqn
Copy link
Contributor

@hongqn hongqn commented Feb 28, 2012

The test case tests.testConnectAutoCommitOff always fails, raising SystemError: error return without exception set .

After a bit of debugging, I found there is a little logic error when the database parameter is empty. I fixed the bug in this pull request, and use HandleError() in Connection_connect() to raise umysql.Error execeptions instead of meaningless SystemError.

…asonable exception instead of SystemError on connection error
@jskorpan
Copy link

jskorpan commented Mar 3, 2012

Thanks!
Your efforts are much apprechiated and I'm very thankful for your contribution. Keep it up!
I'll merge your contributions when I have more time.

jskorpan pushed a commit that referenced this pull request Apr 20, 2012
Stop raising SystemError when no database name given
@jskorpan jskorpan merged commit e59545a into esnme:master Apr 20, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants