calling procedure with output parameters in olib and mySQL
For Truly Distributed Systems
Brought to you by:
laha
For some reason calling a stored procedure with output parameters to mysql needs a different calling convention.
"call procedure(?,?,?)" must be called instead of "{call procedure(?,?,?)}" as suggested in, e.g., http://msdn.microsoft.com/en-us/library/windows/desktop/ms710100(v=vs.85).aspx
If curly-brackets are used the procedure will be called, but output parameters are not correctly set.
Olib is deprecated in 6.0, so rejecting this.