Hello mysql,

May be, I'm a stupid...

create procedure test () select 1; 

mysql> call test(); 
+---+ 
| 1 | 
+---+ 
| 1 | 
+---+ 
1 row in set (0.05 sec) 

In C: 

mysql=mysql_init(NULL); 
mysql_real_connect(mysql, NULL, "User", "pwd", "test", MYSQL_PORT, NULL, 0); 
mysql_query(mysql, "call test()"); 

results to error: "PROCEDURE test.test can't return a result set in the given 
context" 

What's wrong?  

-- 
Best regards,
 Juri                          mailto:[EMAIL PROTECTED]


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to