Re: [racket-users] Calling a procedure from mysql

2016-03-28 Thread Ty Coghlan
On Monday, March 28, 2016 at 3:58:14 PM UTC-4, Ryan Culpepper wrote: > On 03/24/2016 06:17 PM, Ty Coghlan wrote: > > I have the following simple code: > > > > (require db) > > > > (define mdb (mysql-connect #:user user #:password password)) > > (query-exec mdb "use starwarsfinal") > > (query mdb "C

Re: [racket-users] Calling a procedure from mysql

2016-03-28 Thread Ryan Culpepper
On 03/24/2016 06:17 PM, Ty Coghlan wrote: 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 th

[racket-users] Calling a procedure from mysql

2016-03-24 Thread Ty Coghlan
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 statemen