You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rivet-dev@tcl.apache.org by ka...@apache.org on 2004/03/05 23:16:50 UTC

cvs commit: tcl-rivet/rivet/packages/session session-class.tcl

karl        2004/03/05 14:16:50

  Modified:    rivet/packages/session session-class.tcl
  Log:
  The garbage collection code used the hardcoded DIO object "DIO" instead of
  referencing the dioObject variable.
  
  Revision  Changes    Path
  1.4       +2 -2      tcl-rivet/rivet/packages/session/session-class.tcl
  
  Index: session-class.tcl
  ===================================================================
  RCS file: /home/cvs/tcl-rivet/rivet/packages/session/session-class.tcl,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- session-class.tcl	24 Feb 2004 10:24:32 -0000	1.3
  +++ session-class.tcl	5 Mar 2004 22:16:50 -0000	1.4
  @@ -159,7 +159,7 @@
       #
       method do_garbage_collection {} {
   	debug "do_garbage_collection: performing garbage collection"
  -	set result [DIO exec "delete from $sessionTable where timestamp 'now' - session_update_time > interval '$gcMaxLifetime seconds';"]
  +	set result [$dioObject exec "delete from $sessionTable where timestamp 'now' - session_update_time > interval '$gcMaxLifetime seconds';"]
   	$result destroy
       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-cvs-help@tcl.apache.org