Commit Graph

72 Commits

Author SHA1 Message Date
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
6c8bab8da6 Added dependencies and imports 2020-10-02 12:25:15 +01:00
e54280a349 Fixed CRAN CHECK maintainer/author 2020-10-02 12:24:58 +01:00
65e9b0e061 Renamed the package to rmodb 2020-10-02 12:24:34 +01:00
2e6eb0b107 Start of MODB implementation
- Create, check and destroy MODB tables
2020-09-24 16:45:27 +01:00
7a1dd09ca1 Minor refactor to headers to include missing c-std headers 2020-09-24 16:42:41 +01:00
629c7c1fd7 Minor refactor 2020-09-23 15:36:26 +01:00
829d956072 Refactored where builder with private file for some methods 2020-09-23 14:36:44 +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
f15017501c Minor refactoring to db_column
Typedef'd an enum
Renamed a column detail variable
Added debug query print
2020-09-23 13:06:45 +01:00
02d11c75b2 Some changes to db
- Generic ScalarQuery is no longer used so removed
- Handle the case where the column length is > 0 but the number of rows is 0
2020-09-15 17:31:51 +01:00
b3ae6035d2 Minor syntactic sugar 2020-09-15 15:15:07 +01:00
bf84d5694a Renamed R based files 2020-09-15 15:14:44 +01:00
69340c25e8 Some minor modifications to database files 2020-09-15 15:00:58 +01:00
3c2742a214 Direct database side of things implemented 2020-09-15 13:47:54 +01:00
80e4ce402a Functionality of the database to be kept split in smaller files 2020-09-15 11:25:45 +01:00
ea3d3e4c11 Remove dependency on mysql.h in header file 2020-09-08 13:58:47 +01:00
8729642387 MySQL database connection handling 2020-09-08 13:38:28 +01:00
0e37adc86a Serialize to/from memory buffer, RData file, RObject (SEXP) 2020-09-03 16:32:06 +01:00
1db6470790 R magic number from the R source
Implements the writing/reading of the version and format of an RData file or blob.
2020-09-03 14:13:56 +01:00
83876e723e Added License, Readme and testthat 2020-09-02 16:35:40 +01:00
ea5546ceb1 Initial commit 2020-09-02 15:48:03 +01:00