|
Тема |
Re: DESTROY i DBI.pm [re: Bruta] |
|
Автор | edno momiche (Нерегистриран) | |
Публикувано | 17.09.02 06:36 |
|
|
bazata danni supportva li transactions? - ako da, setnat li e autocommit? kakvo praviat obektite ti s $dbh? ako praviat transakcii (da priemem che db-to gi supportva) - commitvash li gi?
mislia che neshto si omazal iako po koda, i ne razbiram kakvo tolkova pravish s destroy. ako pastenesh malko kod moje bi niakoi shte uspee da nameri greshkata
btw, error message-a ti idva ot:
"The database is automatically disconnected by the DESTROY method if still connected when there are no longer any references to the handle. The DESTROY method for each driver should implicitly call rollback to undo any uncommitted changes. This is vital behavior to ensure that incomplete transactions don't get committed simply because Perl calls DESTROY on every object before exiting. Also, do not rely on the order of object destruction during "global destruction", as it is undefined."
|
| |
|
|
|