I have the following simple code: 

(require db)

(define mdb (mysql-connect #:user user #:password password))
(query-exec mdb "use starwarsfinal")
(query mdb "CALL track_character(?)" "Chewbacca")
(disconnect mdb).

Where track_character is a procedure that simply returns a simple select 
statement. The query call to "Call track_character" fails with the error 
"query: PROCEDURE starwarsfinal.track_character can't return a result set in 
the given context
  SQLSTATE: 0A000", yet when I run the select statement that the procedure runs 
as its own query, it behaves as expected. I've noticed that this same error 
happens when trying to call any procedure from mysql (functions work fine). 
Looking this error up led me to find that it seems to be caused by version 
errors, yet I have the most recent versions of both mysql and racket. Any tips 
on how to figure this out?

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to