Package: libdbi1 Version: 0.9.0-5 Severity: normal Dear Maintainer,
Also affects 0.9.0-4+deb8u1 and 0.9.0-4+deb9u1 The change * Backport fix to re-enable a call to _error_handler() that was commented out for no obvious reason in dbi_result_next_row() . breaks existing code. Before it was possible to do (pseudo code): do { ... } while (dbi_result_next_row(dbr)); to fetch all records, the function after the last fetch returning zero, cleanly finishing the loop. Now with the activating of the previously commented out error message it always results in "Fatal DBI error: -6: An invalid or out-of-range index was passed to libdbi" after the last record. The code now needs to be changed to do { ... } while (dbi_result_has_next_row(dbr) && dbi_result_next_row(dbr)); dalling dbi_result_has_next_row(dbr) twice, once directly and again by dbi_result_next_row(dbr). Greetings Sven -- System Information: Debian Release: buster/sid APT prefers oldoldstable APT policy: (500, 'oldoldstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (101, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.14.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=en_US (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages libdbi1 depends on: ii libc6 2.25-3 libdbi1 recommends no packages. libdbi1 suggests no packages. -- debconf-show failed