| View previous topic :: View next topic |
| Author |
Message |
Mad0nna Guest
|
Posted: Sun May 19, 2002 12:06 pm Post subject: |
|
|
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 ? |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|