[rt-commit] CVS commit: DBIx

Jesse jesse at fsck.com
Thu Jun 15 14:51:00 EDT 2000


I think the "right" way to do this is with an anonymous sub in DBIx that does 
something by default but gets overridden by RT::Handle




On Thu, Jun 15, 2000 at 11:55:23AM -0400, tobiasb at fsck.com wrote:
> 
> Module Name:	DBIx
> Committed By:	tobiasb
> Date:		Thu Jun 15 15:55:23 UTC 2000
> 
> Modified Files:
> 	DBIx/Handle: Handle.pm
> 
> Log Message:
> Hacked away this error message and it's problems:
> 	dbih_getcom handle 'DBI::dr=..' is not a DBI handle (has no magic)
> 
> ...by storing the DB handle as a global variable rather than as an
> attribute in every object.
> 
> THIS IS A HACK.  THIS WILL BREAK IF MORE THAN ONE DB HANDLE IS USED IN
> THE SAME PROGRAM.
> 
> 
> To generate a diff of this commit:
> cvs rdiff -u -r1.20 -r1.21 DBIx/Handle/Handle.pm
> 
> 
> 
> _______________________________________________
> Rt-commit mailing list
> Rt-commit at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-commit
> 

-- 
jesse reed vincent --- root at eruditorum.org --- jesse at fsck.com 
pgp keyprint: 50 41 9C 03 D0 BC BC C8 2C B9 77 26 6F E1 EB 91
-------------------------------------------------------------
Gur SOV jnagf gb znxr guvf fvt vyyrtny.





More information about the Rt-commit mailing list