Commit Graph

11 Commits

Author SHA1 Message Date
c93e367700 Better handling of NULL db values 2020-11-09 12:37:49 +00:00
3b35c27811 Some bug fixes in db_ 2020-10-09 10:08:13 +01:00
02b108635d Better handling of blobs, query print length limited by compiler flag 2020-10-07 16:59:24 +01:00
fb92672739 Better blob handling (also better debug viewing) 2020-10-07 16:26:57 +01:00
29b06e0ad2 Handle blobs slightly differently from strings (hex encode them) 2020-10-07 16:17:53 +01:00
8bf9be5b83 Proper handling of MySQL timestamp format<->unix timestamps 2020-10-06 15:51:38 +01:00
cf7ee1cf73 Added auto-increment ID column 2020-10-06 13:23:31 +01:00
33e70adf88 Added string builder overload to db_value 2020-10-06 13:20:53 +01:00
9c0939ed26 Hide db_where_builder_p methods from export (GCC only) 2020-10-05 15:55:20 +01:00
cb9361fcc9 Collection of changes (mostly to db source)
- Replaced string malloc()... calls with strmemcpy() from strext.h where appropriate
- Added table name to column struct (useful for WHERE's)
- Changed the column type enum to powers of 2 (potential for NULLABLE flag  by or'ing)
- Added last_qry and num_queries to connection struct
- Fixed destruct tables stopping on error
- Renamed owners to users except in the meta table
- Fixed the 'tableExists' query
2020-10-02 12:46:21 +01:00
18490c014a Created a WHERE query builder and implemented a TYPE to char * method for database values 2020-09-23 13:08:06 +01:00