apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bojan Smojver <bo...@rexursive.com>
Subject Re: [PATCH]: improved error reporting for apr_dbd_mysql.c - correct version
Date Mon, 29 May 2006 23:02:07 GMT
On Mon, 2006-05-29 at 11:24 +0100, Nick Kew wrote:

> The Oracle driver uses uppercase; %C for CLOB and %B for BLOB,
> %L for LOB (hey, I can't even remember which of these are working
> and which are placeholders!).  Is there any reason not to follow that 
> convention for other drivers implementing LOBs?

No, not really. Apart from me being unaware of it being in the Oracle
driver :-)

We should stick to "the same" as much as we can in DBD. Otherwise,
people will have to code their "DBD SQL" for each driver separately,
which kinda defeats the purpose of DBD.

> The bucket would seem more appropriate for LOB types.  Especially
> if the underlying database wants to stream them, use indirection,
> or do anything else 'clever'.

Ah, yeah. The good old bucket to the rescue. Completely missed that...

Thanks Nick!

View raw message