Hi!
On Dec 29, 2008, at 6:39 AM, Jay Pipes wrote:
a) The DATETIME data type should now be able to support MICROSECOND
precision in the same 8-byte storage requirements. I've added
routines for packing and unpacking 64-bit integers with all the
needed parts of the date, including microseconds.
What method are you using?
b) I have the workings of a new data type, called TIMESTAMP_HIRES
(or whatever, I don't really care about the name), which is an 8
byte column type which stores seconds from Epoch along with a
nanosecond precision (basically, it's a storable struct timespec.)
Is it compatible with gettimeofday?
Does anyone know why Field_timestamp and Field_datetime inherit from
Field_str? I've seen no indication in the comments as to why this
is the case... I'd like to get some explanation as to why this is
the case before I proceed.
Just for a couple of bits of class inheritance. At one point in time I
had a 16byte INT class for instance that I used for UUID and IPV6. It
was there just to keep me from copy/paste.
Cheers,
-Brian
--
_______________________________________________________
Brian "Krow" Aker, brian at tangent.org
Seattle, Washington
http://krow.net/ <-- Me
http://tangent.org/ <-- Software
_______________________________________________________
You can't grep a dead tree.
_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help : https://help.launchpad.net/ListHelp