On Tue, Jul 16, 2002 at 10:26:23PM +0100, Tim Bunce wrote:
: On Tue, Jul 16, 2002 at 03:36:52PM -0500, Philip Molter wrote:
: > I'm not sure exactly where the problems lie, but the symptoms are
: > that when I try to use methods like selectrow_array() and
: > selectrow_arrayref(), I get an error failing on calling prepare()
: > on an undefined object.
: > 
: > If I install DBI 1.29 flat-out followed by DBD::mysql (1.2219 or
: > 2.1017), it works fine.
: 
: What does "flat-out" mean here, exactly?

Without DBI-1.28 having been installed.  A completely clean, from
scratch install.

: When you "recompile" and you doing a "make clean; perl Makefile.PL",
: or just a "make"? If you're not doing a make clean, try it.

I'm erasing the DBD-mysql source dir, re-untarring, and recompiling.
I'm absolutely sure it's clean.

: > Any ideas at all why this is happening?
: 
: Compare a trace(9) for the two cases calling selectrow_arrayref,
: for example, between the call entering selectrow_arrayref and the error.

Well, when I run the code with trace(9), it causes the script (it's
a web script running under mod_perl) to fail with not even a warning
to the error log, so I doubt this will be helpful, but here's the
output anyway.

[REPLACED 1.28 WITH 1.29]
    Tx::DBI::db=HASH(0xfd26a4) trace level set to 9 in DBI 1.29-nothread
    Note: perl is running without the recommended perl -w option
    -> selectall_arrayref for DBD::mysql::db (Tx::DBI::db=HASH(0x4d3b28)~0xfd26a
4 'SELECT customer FROM customer WHERE customer IN ( ? )' undef '1')

[CLEAN 1.29 BUILD]
    Tx::DBI::db=HASH(0xfd2914) trace level set to 9 in DBI 1.29-nothread
    Note: perl is running without the recommended perl -w option
    -> selectall_arrayref in DBD::_::db for DBD::mysql::db (Tx::DBI::db=HASH(0xa
8f524)~0xfd2914 'SELECT customer FROM customer WHERE customer IN ( ? )' undef '1
')


* Philip Molter
* Texas.net Internet
* http://www.texas.net/
* [EMAIL PROTECTED]

Reply via email to