Commit graph

12 commits

Author SHA1 Message Date
Gregory Burd
2efb391318 FIXME: So in db-4.8 __os_sleep() is static (sigh) meaning that I
can't reuse it (and thus save static code size).  For now, comment
out the calls to __os_sleep() until I can determine how exactly to
fix this.
2009-08-31 22:37:25 -04:00
Gregory Burd
ab634c1bbb Turns out we needed that long_double_t type after all. 2009-08-31 22:11:14 -04:00
Gregory Burd
5009f7bde7 Updated typenames in the code to their new names in the aclocal
scripts.
2009-08-31 21:17:21 -04:00
Gregory Burd
d5f6575a7c More house keeping. Removed all the "Id:" tags. 2009-08-31 20:28:38 -04:00
Gregory Burd
b9a7f69e0b updated copyrights to include 2008 2008-05-15 19:08:18 -04:00
Gregory Burd
598977fa88 Update license to GPL version 3. 2007-10-21 02:57:28 +01:00
Gregory Burd
9ab52d89be Clean up and type fixes.
After discussions with Keith Bostic I've learned that always specifying the
full type (u_int32_t rather than int) as a general rule is not always a good
idea.  Now, as I review code I'm reverting some of those changes.  The new
rule of thumb is to use explict typing only in places that require it.
2007-10-21 01:33:16 +01:00
Gregory Burd
2529f39db1 Update call to srand48 to match prototype. 2007-10-21 01:31:56 +01:00
Gregory Burd
d55ee94646 Update flags for in-memory databases to DB 4.6 API 2007-10-21 01:29:45 +01:00
Gregory Burd
ed5cf2a8d3 Allocate SQL functions on heap, not end of struct.
Allocating the functions hash_t struct as an extension to the dbsql_db_t struct
was foolish.  Allocate it on the heap, remember to free it when we close the
database.
2007-10-21 01:24:20 +01:00
Gregory Burd
f1037cdd9a fixed portability to mac os/x 10.4.9
There was no need to maintain random number generation state within the DBSQL
structure, that is removed and now static within the two functions requiring
random number generation.  The placement of the function hash table in the
memory allocated for DBSQL was wrong, that is now fixed.
2007-03-24 22:59:14 +01:00
Gregory Burd
a04d39bc52 Initial import. 2007-03-10 20:04:07 +01:00