In the code section below, what is the value of $data_source?

##############################################
use strict;
use DBI;

my $dbh = DBI->connect($data_source, $username, $password)
my $i;
my $j;
for ($i=1;$i<=100000000;$i++){
        # memory leak is here
        $j=$dbh->quote("JDXHFGURSEFUDSkrde");
        # in $dbh->quote()
}
##############################################

Quoting ����ۣ� ������ <[EMAIL PROTECTED]>:

> ������������ Rudy,
> 
> Monday, June 30, 2003, 6:23:49 PM, �� ������:
> 
> RL> On Mon, 30 Jun 2003, [koi8-r] ������� ������ wrote:
> >> 
> >>     but i still have memort leak :(
> >>     where is it? can you show me bad code in DBI.pm
> >>     quote() is very usefull function? but it make big memory leak.
> >>     maybe somebody have similar function like quote() ?
> >>
> 
> RL> What DBD driver/version are you using? Many  of the DBD drivers implement
> 
> RL> their own quote() fuction.  
> 
> 
> RL> Rudy
> 
> this is a first lines of my DBI.pm
> 
> # $Id: DBI.pm,v 11.23 2002/12/01 22:34:29 timbo Exp $
> #
> # Copyright (c) 1994-2002  Tim Bunce  Ireland
> #
> # See COPYRIGHT section in pod text below for usage and distribution rights.
> #  
> 
> 
> � ���������,
> ����ۣ� ������, SoftSearch.ru
> mailto:[EMAIL PROTECTED]
> ICQ# 166233339
> http://softsearch.ru/
> ��� ������ �� �����.
> 




----------------------------------------
This mail sent through www.mywaterloo.ca
  • ... Монашёв Михаил
    • ... Монашёв Михаил
      • ... gregg
        • ... Монашёв Михаил
          • ... Ronald J Kimball
            • ... Монашёв Михаил
              • ... Rudy Lippan
                • ... Монашёв Михаил
                • ... Paul Boutros
                • ... Монашёв Михаил
                • ... Rudy Lippan
                • ... Монашёв Михаил
                • ... Rudy Lippan
                • ... David N Murray
                • ... Rudy Lippan
      • ... Rudy Lippan

Reply via email to