problems with mysql_dispatch (0.38)

Colin Macdonald <[email protected]> Fri, 30 Aug 2002 11:31:20 +1000
Newsgroups gmane.comp.apache.mod-mp3
Organization Noggin
Message-ID <[email protected]>
Hi all,

Found a problem with mysql_get & mysql_count in mysql_dispatch.c
where it would push each item onto the list twice.

This occured regardless of the number of songs requested,
The plalist generation was fine, but when requesting a song it would generate
'Failed to select row, Error:'

Have changed initialisation & population of list.
Feel free to use / modify this if you need modmp3 to work with mysql as it's dispatch.

The following diff works with current sources (0.38)
---------------------------------------------------------------------------------
http://noggin.com.au/patches/mod_mp3-0.38-mysql_dispatch.diff
- or -
http://noggin.com.au/patches/mod_mp3-0.38-mysql_dispatch.diff.gz
---------------------------------------------------------------------------------

Cheers,
Col.