> Date: Tue, 9 Mar 2010 16:40:54 -0600
> Subject: adding attributes to a database handle
> From: pc88m...@gmail.com
> To: dbi-users@perl.org
>
> Two questions:
>
> 1. Is it possible to add/store "user defined" attributes in a database handle.
Yes
http://search.cpan.org/~timb/DBI-1.609/D
Two questions:
1. Is it possible to add/store "user defined" attributes in a database handle.
I'd like to do something like this:
my $dbh = DBI->connect(...);
$dbh->{important_info} = ...;
...
print "the important info was: ", $dbh->{important_info}, "\n";
2. Is there anything preventing the
On Mar 9, 2010, at 1:42 AM, Martin Evans wrote:
There is however one possible area of ambiguity with respect to
bytes or
characters (within a DBD). DBD::ODBC counts the $length as characters
not bytes as how it is eventually encoded in Perl should not matter.
So
if you specify $length=10 an
On 2010-03-09 07:12:16 -0500, Martin Gainty wrote:
[question about compatibility between versions of MySQL, perl, DBI and
DBD::mysql]
> you need to contact HP-US support for these questions
> http://welcome.hp.com/country/us/en/contact_us.html
>
> They will be able to assign a case number for y
On Mar 3, 1:46 am, h...@activeframe.de ("Hendrik Schumacher") wrote:
> "use sigtrap" is probably executed at compile time and thus before the
> connect regardless of its location in the source code. You could try if
> your signal handler works during the readline if you set $SIG{'INT'} =
> 'SigExit
> Date: Tue, 9 Mar 2010 08:42:28 +
> From: martin.ev...@easysoft.com
> To: byter...@hotmail.com
> CC: john...@pharmacy.arizona.edu; dbi-users@perl.org
> Subject: Re: DBI bind_param_inout question
>
> John Scoles wrote:
> > Silly me you do need it so rare that I use it day to day.
> >
> >
you need to contact HP-US support for these questions
http://welcome.hp.com/country/us/en/contact_us.html
They will be able to assign a case number for you and determine if you have
pirated chinese software
or legitimate software from HP-US
Martin
__
Hi Sir/Madam,
We have 5 linux servers that run Perl scripts, DBI, DBD::mysql, and MySQL
database server of the following versions.
- Database version is either MySQL 5.0.66a-enterprise-gpl-log or MySQL
5.1.32-enterprise-gpl-advanced-log on a server.
- On all 5 servers, Perl version
John Scoles wrote:
> Silly me you do need it so rare that I use it day to day.
>
> In my case I usualy use it like this
>
>$c->bind_param_inout(":p_new_id",\$p_new_id,SQL_DECIMAL);
>
I think you mean
$c->bind_param_inout(":p_new_id",\$p_new_id,$length,SQL_DECIMAL);
as the $length is comp