[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Fri Apr 30 12:35:27 2004 -->
- <!--x-from-r13: cunfrsk ng znthfncghf.pbz (Xnfba Sgurevqtr) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] DBD::mysql:st execute warning -->
- <li><em>date</em>: Fri Apr 30 12:35:27 2004</li>
- <li><em>from</em>: phasefx at magusaptus.com (Jason Etheridge)</li>
- <li><em>in-reply-to</em>: <<a href="msg01344.html">[email protected]</a>></li>
- <li><em>references</em>: <<a href="msg01344.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] DBD::mysql:st execute warning</li>
I'd turn off automatic error checking
$dbh->{PrintError} = 0;
$dbh->{RaiseError} = 0;
and plug a
or die "$DBI::errstr"
after every DBI command. Or you could use
or die $dbh->errstr()
and
or die $sth->errstr()
depending on which handler you're using. The $DBI:: stuff works with
the last handle used.
I haven't used the automatic error checking. Using it might be
preferable if the messages are just as verbose.
-- Jason
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="01344" href="msg01344.html">[ale] DBD::mysql:st execute warning</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Christopher Fowler)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg01344.html">[ale] DBD::mysql:st execute warning</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg01346.html">[ale] underscored server names</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg01344.html">[ale] DBD::mysql:st execute warning</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg01347.html">[ale] DBD::mysql:st execute warning</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#01345"><strong>Date</strong></a></li>
<li><a href="threads.html#01345"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>