Csongor Fagyal wrote:
Jeff Snoxell wrote:
Hi,
if I call:
my $record = $sth->fetchrow_hashref();
then:
$sth->finish();
How valid is it for me to keep referring to my $record hash pointer?
Especially if I use $sth in a subsequent transaction.
It is absolutely legal. Your $record is detached from your DBI
instance after it has been retrieved - it is just a regular perl hash
reference, noone will destroy it.
- Cs.
Argh... sql, smallint, bigint, very big int!
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php