The New Database Compatibility Layer

David Miller justdave at bugzilla.org
Wed Feb 16 20:59:00 UTC 2005


Max Kanat-Alexander wrote:
> On Wed, 2005-02-16 at 15:06 -0500, David Miller wrote:
> 
>>Do we have a test in the test suite which ensures that all of the DB 
>>modules we ship are currently in compliance with the list of required 
>>overrides?  (So tinderbox will go red if someone checks in a patch that 
>>doesn't update all of them)
> 
> 	Well, the code *itself* actually checks that all the functions exist,
> every time that you instantiate that type of DB. So even developers who
> aren't using runtests will see an immediate failure.

Yeah, but the way I understood it, it only checks if you load that DB 
driver (i.e. the driver will fail to load if it's not complete). 
Tinderbox should attempt to load any DB driver that we're shipping to 
make sure it loads. (or run some other test to ensure that they all comply).

-- 
Dave Miller                                   http://www.justdave.net/
System Administrator, Mozilla Foundation       http://www.mozilla.org/
Project Leader, Bugzilla Bug Tracking System  http://www.bugzilla.org/



More information about the developers mailing list