![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm using DBD::Sybase with prepared statements. However, after executing several hundred statements (including SELECT, INSERT, UPDATE) the database connection gets terminated by the server. # opening the connection my $dbh = DBI->connect('dbi:Sybase:server=ISSERVER;database=medu sadb', 'sa', 'geheim'); # a typical SELECT statement my $sth = $dbh->prepare_cached('SELECT objectid, classid, parentid, alias, guid, inherit FROM object WHERE objectid=?'); |
|
After some hundreds of similar statements I get the following error: DBD::Sybase::st execute failed: Server message number=21 severity=26 state=1 line=65535 procedure=DBD_2204_9 text=WARNING - Fatal Error 8211 occurred at Apr 2 2004 5:00PM. Please note the error and time, and contact a user with System Administrator (SA) authorization. The Sybase error log contains the following message that corresponds with the above SQL statement: server Error: 8211, Severity: 26, State: 1 server Mismatch found between the name and id descriptor hash table. Descriptor hashed by name = 0x0 and hashed by id = 0x203f2e8c. kernel ************************************ kernel SQL causing error : create proc DBD_2204_9 as SELECT objectid, classid, parentid, alias, guid, inherit FROM object WHERE objectid=? |
![]() |
| Thread Tools | |
| Display Modes | |
| |