Commit Graph

118 Commits

Author SHA1 Message Date
5b6784c07a R->modb handling of objects coded roughly 2020-11-09 12:40:20 +00:00
952b7e3c9e Fixed mysql/mariadb compatibility issue 2020-11-09 12:39:04 +00:00
0a95f19d31 Sometimes the timestamp is provided as a single double, not a vector 2020-11-09 12:38:44 +00:00
f6af7b7e3c Miss-counted const string length 2020-11-09 12:38:06 +00:00
c93e367700 Better handling of NULL db values 2020-11-09 12:37:49 +00:00
af46d0424e Added length to objects table 2020-11-09 12:37:21 +00:00
da07391042 Un-documented exports of functions to get things working 2020-11-09 12:35:45 +00:00
179cc28502 Added the ability to get the last run query in R 2020-11-09 12:35:10 +00:00
e5e02c40ec Initial R function implementations 2020-10-15 16:25:44 +01:00
60f1757a5a Added R methods to library defintion & updated Makevars generator 2020-10-15 16:25:14 +01:00
e17d808357 Fixed username using non-const variant 2020-10-15 16:24:35 +01:00
727b497eca R->c c->R code 2020-10-15 14:47:19 +01:00
4a6a3c5673 Updates to existing R->c files 2020-10-15 12:52:50 +01:00
bcd206dcf3 Make const versions of strings in structs to avoid string copying & pass objects to create/update instead of values 2020-10-15 12:36:27 +01:00
880f9c04e1 Sight change in return values 2020-10-15 12:12:50 +01:00
ff218def1b Metadata Extended handling implemented 2020-10-15 12:11:51 +01:00
a47cb96c84 Take advantage of new maps query 2020-10-15 12:10:57 +01:00
35091141f5 Don't try to insert maps if there are none 2020-10-15 12:07:16 +01:00
f0df7a64bb Query to get ID maps 2020-10-15 12:07:03 +01:00
663d8e4f28 Zero the parameters if no results found 2020-10-15 11:29:31 +01:00
b5c05732de Fixed incorrect column names 2020-10-15 11:28:59 +01:00
572cb38e0f Changed default max length of VARCHAR from 4096 to 255 with a new variable to configure it 2020-10-15 11:05:49 +01:00
dea358d146 Renamed Manage.R -> Database.R 2020-10-15 11:03:18 +01:00
2bf9b2bf8d Fixed memory leak 2020-10-09 13:30:16 +01:00
529dc29850 Whitespace removed 2020-10-09 13:27:24 +01:00
7e79c2efe9 Fixed copy-paste error 2020-10-09 13:27:05 +01:00
a01af77bcd Added function to get metadata by group 2020-10-09 13:26:53 +01:00
4b270da082 Removed types file and put each type struct with the code for that type 2020-10-09 10:31:29 +01:00
974a6bf7e6 Renamed meta table to metadata 2020-10-09 10:23:58 +01:00
2f0a9caa77 Split accounting into groups and users 2020-10-09 10:23:49 +01:00
296eb47198 Code for metadata and objects 2020-10-09 10:11:58 +01:00
53275002bf Added types for metadata, objects and a draft for extended metadata 2020-10-09 10:11:19 +01:00
24b4cff430 Removed db helpers from modb (3 of 3) 2020-10-09 10:09:31 +01:00
3b35c27811 Some bug fixes in db_ 2020-10-09 10:08:13 +01:00
0fc012815b Convenience functions in db_query (2 of 3) 2020-10-08 16:08:39 +01:00
f3a15fddc8 Flipped params of wherebuilder (breaking commit) 2020-10-08 16:06:11 +01:00
ae61432beb Handle NULL strings 2020-10-08 15:17:53 +01:00
4ac935e478 NULL string check on escape 2020-10-08 13:17:51 +01:00
e0d0515188 Created a bunch of convenience functions in db_ (1 of 2) 2020-10-08 12:32:07 +01:00
83a9093d97 created/updated/deleted are 64bit signed not 32bit unsigned 2020-10-08 10:23:37 +01:00
d0dd1c3970 Renamed metadata table definition 2020-10-08 10:21:51 +01:00
1c79c56d61 Convenience functions for moving/copying column data strings & blobs 2020-10-08 10:21:17 +01:00
6035772774 NULL guard pointers 2020-10-08 10:18:30 +01:00
27ffe3177f Use the delete helpers 2020-10-07 17:16:40 +01:00
3a213123c4 Created a couple of delete helpers 2020-10-07 17:16:21 +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
1496482f80 Refactored fetching groups and members 2020-10-07 15:47:34 +01:00
7aab81aa2d Debug query colour switch 2020-10-07 15:46:31 +01:00