---
[E] 2011-08-03 19:17:22 UTC, 0000000000000060 method P, path /store_summary_res_2, time 12ms - 200
---
That long number is a "version number" or "transaction number" and internally it is called sid (statement identifier). Each function invocation (even the one which is read-only) results in the increment of this number and it is extensively used in the transaction manager to figure out which versions of variables to read or write (there is more on this subject on our blog).
The attached patch makes sid and the result of sys_millis() "long long" (or at least 64-bit in C terms). This also ends up in a complete avoidance of #ifdefs. Any comments or suggestions?
- Ostap
Can you put this in a branch? I have no problems patching the version
I'm using, but maybe there can be an experimental branch that we can
follow closely.
Excellent, thanks a lot :-)