Author: timbo Date: Tue Jul 28 15:49:36 2009 New Revision: 13142 Modified: dbi/trunk/lib/DBI/DBD.pm
Log: Note that DBIh_SET_ERR_SV doesn't like null pointers. Modified: dbi/trunk/lib/DBI/DBD.pm ============================================================================== --- dbi/trunk/lib/DBI/DBD.pm (original) +++ dbi/trunk/lib/DBI/DBD.pm Tue Jul 28 15:49:36 2009 @@ -1952,7 +1952,7 @@ DBIh_SET_ERR_CHAR(h, imp_xxh, err_c, err_i, errstr, state, method); For C<DBIh_SET_ERR_SV> the I<err>, I<errstr>, I<state>, and I<method> -parameters are C<SV*>. +parameters are C<SV*> (use &sv_undef instead of NULL). For C<DBIh_SET_ERR_CHAR> the I<err_c>, I<errstr>, I<state>, I<method> parameters are C<char*>.
