On Sun, Feb 3, 2013 at 2:26 PM, Vadim Zeitlin <[email protected]> wrote:
> On Sun, 3 Feb 2013 14:17:49 -0800 Pawel Aleksander Fedorynski <
> [email protected]> wrote:
>
> PAF> It occurs to me that some other db engines (Oracle?) probably send
> values
> PAF> in non-string format, what should into_as_raw_text() do then?
> PAF>
> PAF> (a) signal an error?
> PAF>
> PAF> (b) put the raw value (which may be non-printable and may be packed
> in some
> PAF> unobvious way) in the provided string, say the value is of type INT32
> and
> PAF> some db sends four bytes over the wire, should we put these exact four
> PAF> bytes into the string?
> PAF>
> PAF> (c) convert to string?
>
> I'd say (b). "Raw" would seem to mean this, i.e. exactly the bytes
> received.
Yes, I was thinking the same thing. But then it shouldn't be raw_text,
raw_string maybe or raw_bytes even?
Thanks,
Aleksander
Of course, the documentation should be very clear about this.
>
> Regards,
> VZ
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_jan
> _______________________________________________
> soci-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/soci-users
>
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users