perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject Re: More on my empty-record database problem (and request for architecture comments)
Date Tue, 24 Sep 2002 07:15:23 GMT
>
>          $DBIx::Recordset::FetchsizeWarn = 0;
>          $this->{_db} = new DBIx::Database({
>                  '!DataSource' => $connect,
>                  '!DBIAttr' => {PrintError => 0, RaiseError => 1,
> AutoCommit => 1},
>                  '!Username' => $this->{username},
>                  '!Password' => $this->{password},
>                  '!KeepOpen' => 1,
>                  '!SaveAs' => 'Commons',
>              }) || die $DBI::errstr;
>
> *** Sudden thought ***. I'm not using the SaveAs, and it's the same
> across sites, so using it would get me in trouble.  Is it doing any
> harm?
>

Yes, this could be a problem. If you are using this for different databases,
use a unique name per database setup or, if you don't use it anyway, don't
use the !SaveAs parameter at all

Gerald

-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message