Return-Path: Delivered-To: apmail-perl-embperl-archive@www.apache.org Received: (qmail 2207 invoked from network); 20 Dec 2003 10:45:57 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 20 Dec 2003 10:45:57 -0000 Received: (qmail 4125 invoked by uid 500); 20 Dec 2003 10:45:30 -0000 Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 4110 invoked by uid 500); 20 Dec 2003 10:45:30 -0000 Mailing-List: contact embperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list embperl@perl.apache.org Received: (qmail 4097 invoked from network); 20 Dec 2003 10:45:29 -0000 Received: from unknown (HELO deckard.concept-micro.com) (62.161.229.193) by daedalus.apache.org with SMTP; 20 Dec 2003 10:45:29 -0000 X-Envelope-From: petchema@concept-micro.com X-Envelope-To: Received: from blade.concept-micro.com (IDENT:500@blade.concept-micro.com [62.161.229.198]) (authenticated bits=0) by deckard.concept-micro.com (8.12.10/8.12.10/Pierre Etchemaite - 20/05/03) with ESMTP id hBKAjfTk004209 for ; Sat, 20 Dec 2003 11:45:42 +0100 Date: Sat, 20 Dec 2003 11:45:40 +0100 From: Pierre Etchemaite To: embperl@perl.apache.org Subject: Re: memory usage / session cleanup Message-Id: <20031220114540.681638c3.petchema@concept-micro.com> In-Reply-To: <3FE345B0.7030606@nyetwork.org> References: <1071755311.30202bd8ecb3a@webmail.dandy.nl> <0bbe01c3c5ec$cc0577d0$f90b0b0a@wingr2> <1071837861.3ff85c9b3079b@webmail.dandy.nl> <3FE345B0.7030606@nyetwork.org> Organization: Concept Micro SARL X-Mailer: Sylpheed version 0.9.6claws (GTK+ 1.2.10; i386-pc-linux-gnu) X-Face: #eTSL0BRng*(!i1R^[)oey6`SJHR{3Sf4dc;"=af8%%;d"%\#"Hh0#lYfJBcm28zu3r^/H^ d6!9/eElH'p0'*,L3jz_UHGw"+[c1~ceJxAr(^+{(}|DTZ"],r[jSnwQz$/K&@MT^?J#p"n[J>^O[\ "%*lo](u?0p=T:P9g(ta[hH@uvv X-TRP: honey@concept-micro.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Le Fri, 19 Dec 2003 10:38:40 -0800, Wim Kerkhoff a =E9cr= it : > You can't do this with MySQL, since it won't let you set a default value= =20 > to a function, only a constant (null, 1, 'foo', etc). For MySQL, it seems that the way to go are TIMESTAMP fields: http://www.mysql.com/doc/en/DATETIME.html Those will be updated each time the record is, but in this case this looks appropriate. --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org For additional commands, e-mail: embperl-help@perl.apache.org