3 if {[file exists libload.tcl]} {
6 source [file join [file dirname [info script]] libload.tcl]
10 puts "please observe memory consumption per top (Program break after reach 2000)"
12 set c [mysqlconnect -u root -db uni]
16 set a [mysqlsel $c "select * from Student" -list]
17 set d [string trim " $c "]
18 mysqlsel $d {select * from Student}
19 while {[set row [mysqlnext $d]]!=""} {}
21 set q [mysqlquery $c {select * from Student}]
22 while {[set row [mysqlnext $q]]!=""} {}
24 mysqlsel $c {select MatrNr,Name,Semester from Student}
25 mysqlmap $c {MatrNr Name Semester} {
26 set all [list $MatrNr $Name $Semester]
28 if {$i>100} {puts "loop [incr p]"; set i 0}