add a conditional for the new dbi reentrant driver interface