On 04/03/2009 03:39 PM, Alex Balashov wrote:
Daniel,
Daniel-Constantin Mierla wrote:
pseudo-variables can hold only integer or string
values. IIRC,
Henning added bigint inside the mysql module, but that has not
support to upper level of script variables.
It does not work when the value is printed in a string substitution
context either, e.g.
xlog("L_INFO", "$dbr(ra=>[0,0])\n");
it is same PV layer
used here, called by xlog module.
A PV values is stored in pv_value_t, and that can hold only int or string.
I assume that is a consequence of what you said above as well?
Yes.
I am not sure I understand the point of BIGINT support if the values
cannot be utilised in virtually any way in script. Can you tell me
what it is? It seems that most other variations on the theme of
strings and integers (e.g. smallint, tinyint, boolean, etc.) are
usable within script...
bigint is 8B and it is only supported inside the c code by
some db
driver modules.
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://www.asipto.com/