SCM

[#1010989] Internal Error in Npgsql

View Trackers | Bugs | Download .csv | Monitor

Date:
2011-02-08 09:57
Priority:
3
State:
Open
Submitted by:
Alex A Ermoshenko (erax)
Assigned to:
Nobody (None)
Npgsql Version:
2.0.11
Category:
Group:
Resolution:
None
Summary:
Internal Error in Npgsql

Detailed description
Our game server sometimes throws this exception

Type: System.InvalidOperationException
Message: Internal Error! Npgsql.NpgsqlClosedState
Stack:
at Npgsql.NpgsqlState.SyncEnum(NpgsqlConnector context)
at Npgsql.NpgsqlState.Sync(NpgsqlConnector context)
at Npgsql.NpgsqlCommand.Prepare()

Followup

Message
Date: 2011-03-15 01:28
Sender: Francisco Figueiredo jr.


Hmmmmmmm,

this is strange....

Somehow you are being able to call prepare on a closed connection.

Also, if you are using prepared statements, I'd advise you to not use. As of now, Npgsql doesn't have a very good performance with prepared statements. You'd better go with unprepared statements.

Attached Files:

Changes:

No Changes Have Been Made to This Item

Powered By FusionForge