Skip to content

fix bug for value checking of MinPoolSize - #53

Merged
franciscojunior merged 1 commit into
npgsql:masterfrom
ChenHuajun:minpoolsize_bugfix
Sep 25, 2013
Merged

franciscojunior merged 1 commit into
npgsql:masterfrom
ChenHuajun:minpoolsize_bugfix

Conversation

@ChenHuajun

Copy link
Copy Markdown
Contributor

Hi Francisco,

In the following sample,Npgsql will fail currently.

var conn = new NpgsqlConnection(ConnectionString + ";MinPoolSize=30;MaxPoolSize=30");//*1
conn.Open();

*1) here will throw the following error:
System.ArgumentOutOfRangeException : MINPOOLSIZE
Parameter name: numeric value MINPOOLSIZE in ConnectionString exceeds maximum value 20

I send the patch to fix the bug,please check it.
btw,the error message above also mistook Parameter name and message. So I also modified it.

@franciscojunior

Copy link
Copy Markdown
Member

Hi, @skykiker !

Would you mind to rebase your patch in the new master?

We did a big cleanup regarding line endings, tabs, etc.

Sorry for this problem.

Thanks in advance.

@skykiker

Copy link
Copy Markdown
Contributor

no probleam,i will do it soon

Regards,
Chen Huajun

"Francisco Figueiredo Jr." 写到:

Hi, @skykiker !

Would you mind to rebase your patch in the new master?

We did a big cleanup regarding line endings, tabs, etc.

Sorry for this problem.

Thanks in advance.

—
Reply to this email directly or view it on GitHub.

@ChenHuajun

Copy link
Copy Markdown
Contributor Author

Hi,@franciscojunior
I have rebased this patch.

@franciscojunior

Copy link
Copy Markdown
Member

Hi @skykiker ! Sorry for late reply.

I'm reviewing your patch and will merge it soon.

Nice work!

franciscojunior added a commit that referenced this pull request Sep 25, 2013
fix bug for value checking of MinPoolSize
@franciscojunior
franciscojunior merged commit a778d05 into npgsql:master Sep 25, 2013
@franciscojunior

Copy link
Copy Markdown
Member

Excellent work, @ChenHuajun !

@ChenHuajun
ChenHuajun deleted the minpoolsize_bugfix branch September 29, 2014 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants