-
Notifications
You must be signed in to change notification settings - Fork 14
Stored procedure support for mysql #4
Comments
This is an interesting topic. You can just call |
Thank you for providing details, I am attaching source code and db script. Can you help on it? Execution environment Go program package main func main() {
} Database Script CREATE DATABASE IF NOT EXISTS -- MySQL dump 10.13 Distrib 5.7.9, for Win32 (AMD64)-- Host: localhost Database: location -- Server version 5.5.47 /!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; -- Table structure for table
|
Hi, |
The driver don't support multiple result sets return on PROCEDURE. Could you confirm if your PROCEDURE return multiple result sets? |
I am using following procedure called from go code CREATE DEFINER= After executing procedure in MySQL Workbench, I can see following result set I can confirm that procedure returning only single result set. Let me know if you need any more input to solove this issue I am working with liteIDE, X 27 Also if you can provide sample to print rows and column values will be very helpful. |
The error is returned by mysql driver, maybe you can visit go-sql-driver/mysql#66 to follow the issue. |
Hi,
How we can support stored procedure to fetch data from mysql using xorm
The text was updated successfully, but these errors were encountered: