March 25, 2012
View 930aba2973

core: new parameters to control and alert on time consuming ops

Daniel-Constantin Mierla authored on 25/03/2012 11:39:20
November 30, 2011
View 09c9abb0f7

lib/srdb1: helper functions to handle easier fetch capability

Daniel-Constantin Mierla authored on 30/11/2011 14:17:46
August 17, 2011
View 13e07c7875

srdb1: insert delayed support in DB API v1

Daniel-Constantin Mierla authored on 17/08/2011 22:30:59
July 27, 2011
View 5cd87175fa

core, srdb1, modules/db_*, modules_k/db_*: Added support for configuring SQL buffer size and mediumblob/mediumtext in MySQL

pd authored on 27/07/2011 10:50:20
February 12, 2009
View a33b9a87f6

Doxygen group renamed from db to db1.

Jan Janak authored on 12/02/2009 19:23:56
View 7d14b0374c

Updated the value of \file doxygen tags.

Jan Janak authored on 12/02/2009 19:23:12
View 13f9c1e6fe

Renamed db_res_t to db1_res_t to avoid conflicts with libsrdb2.

Jan Janak authored on 12/02/2009 19:16:40
View a5071c502c

Rename db_con_t to db1_con_t to avoid conflicts with libsrdb2.

Jan Janak authored on 12/02/2009 19:14:43
View 35ba402ab2

Changed the path to ser include files.

Jan Janak authored on 12/02/2009 15:26:34
July 28, 2008
View d520eaf5e7

- change name in copyright headers

Henning Westerholt authored on 28/07/2008 15:39:28
July 24, 2008
View 5b5a6333d9

- small doxygen updates (group, syntax), small docs update - patch provided from Olle E. Johansson, closes #2025079

Henning Westerholt authored on 24/07/2008 15:20:11
April 1, 2008
View e2a96019f8

- fix double null termination of query string - Patch provided from Iouri Kharon, yjh at styx dot cabel dot net

Henning Westerholt authored on 01/04/2008 15:46:49
January 25, 2008
View 30bde5b0fd

- fix (small) potential buffer overflow conditions in query preperation - this could happen if the size of the query string offset is equal to the SQL_BUF_LEN define length

Henning Westerholt authored on 25/01/2008 10:30:58
January 22, 2008
View 25f17988b0

- port database interface (almost) complete from 'const char*' to 'str' for more safety (e.g. not null terminated strings) and performance (save strlen calls in core and library code) - adapt existing modules to use the new interface - change bind_dbmod and use_table function to the naming scheme of the other functions of the API - port existing module to use 'str' values for database related parameters - if modules uses already 'str' functions internally, remove the unnecessary temporary variables - make functions and parameter that needs only locally be used static - introduce new column variables needed for the keys for modules that don't have them already, this could be used to make them configurable later on - add 'const' to more db related functions - fix postgres driver, async queries must be finished, otherwise the next one will not complete - smaller whitespace and formatting changes and cleanups all over the place - reviewed and tested with testcases, but probably not error free because of the change size

Henning Westerholt authored on 22/01/2008 13:55:43
January 7, 2008
View bc4bf2658a

further cleanups in core database API - move use_table and close function for SQL DBs to core - move query, raw_query, insert, update, delete functions for SQL DBs to core - all this functions were almost identical implemented in the three DB, this functions uses now a function pointer based interface to do the work - the use_table functions from dbtext and db_berkeley uses also now the core API - move result management function from db_col to db_res to the other result management functions, they are not useful alone - change postgres module to match more the structure of mysql and unixodbc, remove the 'PARANOID' #define, the other modules don't have this and prefix all functions with db_postgres, make this more consistent to mysql module - prefix all functions in unixodbc module with db_unixodbc, make this consistent to the other modules, cleanup the namespace - prefix val2str function in mysql with db_mysql too - move the SQL_BUF_LENGTH to core API, all modules need this - remove the static SQL char buffer from postgres and unixodbc, uses the one provided from the core API - move documentation from db/doc to API files in doxygen format - improve and extend documentation for the whole API - make database API const correct, to guard against implementation errors and allow better compiler optimizations - change interface free_connection function in SQL DBs to connection structure to allow the usage of core API do_close - fix indention for postgres driver and make logging messages consistent - remove now unneeded system header includes for SQL DBs - remove transaction related code from postgres driver, this is not used at all and according to Klaus also brings no performance benefit if used. - probably some other smaller cleanups

Henning Westerholt authored on 07/01/2008 14:26:27