As the only way to get it working with mysql seems to remove the function, what's about simply putting the code into an if-statement that checks for mysql as Backend ? Or better - run the query and check if it is supported without throwning the error.as far as i remember this is a problem of mysql versions, the stable release dosn't support this feature right now and is only available in the unstable betas - it was necessary to support different language encodings i think...
Oliver -- Diese Nachricht wurde digital unterschrieben oliwel's public key: http://www.oliwel.de/oliwel.crt Basiszertifikat: http://www.ldv.ei.tum.de/page72
smime.p7s
Description: S/MIME Cryptographic Signature