dart-drivers / mysql

MySQL Connector for Dart

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Status of stored procedure support?

RedRoserade opened this issue · comments

I've been trying to call a stored procedure with sqljocky, however, this doesn't work.

I've used straight queries, prepared queries, queries in a connection, and they all fail with Error 1312 (0A000): PROCEDURE db.procedureName can't return a result set in the given context

_pool.query('CALL procedureName(1)')
        .then((testResults) => testResults.toList())
        .then((testResults) {

This procedure does return a result set.

Thanks for the defect report. I hadn't tried using stored procedures so hadn't spotted this. I'll try to fix it soon.

+1
Same happens here, yet it is in the integration test...
I am stuck with old DB and need to use it from dart, rewriting all procedures would be really bad..

Can you provide ETA or at least how high is this on your agenda? I.e. should we wait for it or to look for workarounds.

Thanks