Forum Webscript.Ru

Программирование => Perl => Тема начата: DooD от 02 Мая 2004, 23:14:35

Название: DBI
Отправлено: DooD от 02 Мая 2004, 23:14:35
Для чего нужен метод finish() в модуле DBI?
Название: DBI
Отправлено: NeoNox от 02 Мая 2004, 23:24:21
perldoc DBI
Цитировать
If you disconnect from a database while you still have
           active statement handles (e.g., SELECT statement hanґ
           dles that may have more data to fetch), you will get a
           warning. The warning may indicate that a fetch loop
           terminated early, perhaps due to an uncaught error.
           To avoid the warning call the "finish" method on the
           active handles.
Название: DBI
Отправлено: glebushka от 02 Мая 2004, 23:28:01
perldoc DBI
Название: DBI
Отправлено: glebushka от 02 Мая 2004, 23:29:18
NeoNox быстро:)))