How to set CLIENT_MULTI_RESULTS flag in perl dbi for mysql connection? I have to use a stored procedure with a select query at the end. I learned that to use this kind of procedure, I have to set CLIENT_MULTI_RESULTS flag. Thanks in advance.
Share
Since version 3.0002_5, the driver (DBD::mysql) supports multiple result sets and thus sets the option automatically. (The latest version is 4.022, so one would assume it’s a stable feature.)
See the relevant documentation for an example that shows how to fetch all the result sets.