This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Eggdrop tclsql problem

Old posts that have not been replied to for several years.
Locked
M
Mad0nna

Post by Mad0nna »

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 ?
Locked