apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bojan Smojver <bo...@rexursive.com>
Subject Re: LONGs and LOBs [Was: improved error reporting for apr_dbd_mysql.c]
Date Fri, 02 Jun 2006 22:43:51 GMT
On Fri, 2006-06-02 at 13:18 -0400, Garrett Rooney wrote:

> If it has never been present on a release branch we have zero need to
> worry about backwards compatibility.  If someone is depending on the
> code in trunk clearly they have enough clue to deal with the breakages
> that can result.

Henceforth, longs shall be known as %l and %L ;-)

Recap of the proposal after the change:

- %s - varchar
- %S - text
- %c - char
- %C - unsigned char
- %h - short
- %H - unsigned short
- %d - integer
- %D - unsigned integer
- %l - long
- %L - unsigned long
- %q - quad (i.e. long long)
- %Q - unsigned quad
- %f - float
- %F - double
- %i - time
- %a - date
- %A - datetime
- %t - timestamp
- %T - timestamp with zone
- %b - blob (encoded on C side as per previous e-mail)

-- 
Bojan


Mime
View raw message