When there is nonsense in the database, we may stop fetching the
authornbk <nbk>
Fri, 20 Jul 2007 15:43:18 +0000 (15:43 +0000)
committernbk <nbk>
Fri, 20 Jul 2007 15:43:18 +0000 (15:43 +0000)
commita855acbe64227736753989ec59ca0bc47edc0b81
treed8e77953681d56eed4a22d17256d80a7a3451f09
parent8a4cac691f188bdc66b885cd6e8fea3f39984c4f
When there is nonsense in the database, we may stop fetching the
rows before reaching the last result of a multiple results set.
Therefore we need to fetch the possibly pending results from the
function sql_finish_select_query().

Problem spotted by Jean Deram <jderam@nordnet.fr>
src/modules/rlm_sql/drivers/rlm_sql_mysql/sql_mysql.c