Hello
I'm running:
-Freebsd4.5 (i386)
-mysql Ver 11.15 Distrib 3.23.47, for -freebsd4.5 (i386)
-Eggdrop v1.6.9: 5 users (mem: 88k)
-TCL8.3
-tclsql 1.1
I installed tcl8.3 and tclsql through /stand/sysinstall so they should both be compiled correctly. The tclsql commands work correctly in tclsh, I can query the mysql server without any problems, but when I load the sql package in my eggdrop and try to connect, I get the following error:
[15:40] Tcl error [sql]: too many nested calls to Tcl_EvalObj (infinite loop?)
The eggdrop doesn't crash but the sql query certaintly doesn't work either. Below is the TCL code that triggers the error:
package require sql
set conn [sql connect localhost someuser secret]
Can someone tell me why there is a difference in the behaviour of tclsql in the normal tclsh versus in an eggdrops tcl script ?
How do I make this work ?