Re: [naviserver-devel] commit/nsdbi: 3 new changesets

2014-02-03 Thread Gustaf Neumann
If someone want to make experiments, here is the code used for testing -gn set ::sql {select * from acs_objects limit 1} proc dbi_dicts1 {cols rows} { set dicts {} foreach $cols $rows { set dict "" foreach __c $cols { lappend dict $__c [set $__c]

Re: [naviserver-devel] commit/nsdbi: 3 new changesets

2014-02-03 Thread Stephen
On Mon, Feb 3, 2014 at 2:40 PM, Gustaf Neumann wrote: > > converting ns-sets naively into local variables will clobber other locals, > using some strange array names etc. would still require to modify > all functions accessing the ns-sets, or passing the ns-sets around etc. > db_foreach already