I'm crafting quite a long SQL query to be run through DBI using the MySQL drivers. I have plenty of smaller ones working fine, but this one seems to get choped off after a number of characters.
Does anyone know of any limit to query lengths, or (more usefully) any way to make them longer or any workarounds?