Hi, 

I was wondering if there's a procedure like mysql-closed?
because I'd like to know if a connection is alive or not.
Hoping mysql-ping does the job, but giving me a segfault.

Any workaround for this?
Thanks,
Daishi

CHICKEN
(c)2008 The Chicken Team
(c)2000-2007 Felix L. Winkelmann
Version 3.2.0 - linux-unix-gnu-x86      [ manyargs dload ptables applyhook ]
SVN rev. 10664  compiled 2008-05-16 on ganglia (Linux)

#;1> (use mysql)
; loading /usr/local/chicken-3.2.0/lib/chicken/3/mysql.so ...
#;2> (define x (mysql-connect 'host: "192.168.1.130" 'user: "root" 'passwd: 
"mahoroba0712" 'db: "tcwebif"))
#;3> (mysql-ping x)
0
#;4> (mysql-close x)
#;5> (mysql-ping x)
zsh: segmentation fault (core dumped) 


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to