LP#1999823: update remaining buffer_* function names to osrf_buffer_* Signed-off-by: Jeff Davis <jeff.davis@bc.libraries.coop> Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
Call set_audit_info and clear_audit_info DB funcs Set whenever we can (including automatically via pcrud) Clear whenever we disconnect (hopefully) from a location we set from. Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Jason Stephenson <jstephenson@mvlc.org> Signed-off-by: Mike Rylander <mrylander@gmail.com>
Moved the datatype lookups from the drones to the listener process. The cstore, rstore, and pcrud servers do dummy SELECT queries of all the non-virtual classes in the IDL, in order to get datatypes for all the non-virtual fields. These lookups are time-consuming. On my laptop they may take several seconds. On a system with various components running on separate boxes, they may take longer due to the additional network latency. Formerly these lookups were done by each drone process when it initialized itself, resulting in an occasional hiccup of additional response latency whenever the listener spawned another drone. Now the parent process does the lookup once, before it spawns any drones. The drones inherit the resulting datatypes via the normal fork operation, and never have to look up the datatypes themselves. In order for this new arrangement to work, the oilsExtendIDL function (which does the lookups) needs to receive a database connection as a parameter, since the parent's connection is different from those of the drones. M Open-ILS/include/openils/oils_sql.h M Open-ILS/src/c-apps/oils_pcrud.c M Open-ILS/src/c-apps/oils_rstore.c M Open-ILS/src/c-apps/oils_sql.c M Open-ILS/src/c-apps/oils_cstore.c git-svn-id: svn://svn.open-ils.org/ILS/trunk@16370 dcc99617-32d9-48b4-a31d-7c20da2025e4
Use the oilsConnectDB function to connect to the database, instead of using replicated code. M Open-ILS/src/c-apps/oils_pcrud.c M Open-ILS/src/c-apps/oils_rstore.c M Open-ILS/src/c-apps/oils_cstore.c git-svn-id: svn://svn.open-ils.org/ILS/trunk@16363 dcc99617-32d9-48b4-a31d-7c20da2025e4
Restore the ability to set the maximum flesh depth by an entry in the configuration file. This ability was inadvertently eliminated in the previous commit. M Open-ILS/include/openils/oils_sql.h M Open-ILS/src/c-apps/oils_pcrud.c M Open-ILS/src/c-apps/oils_rstore.c M Open-ILS/src/c-apps/oils_cstore.c M Open-ILS/src/c-apps/oils_sql.c git-svn-id: svn://svn.open-ils.org/ILS/trunk@16199 dcc99617-32d9-48b4-a31d-7c20da2025e4
Split the cstore servers into several pieces. Most of the machinery is now in a single module, oils_sql.c, shared by all three servers, and available to other programs as well through the new header oils_sql.h. The three different servers -- pcrud, cstore, and reporter-store -- are now in separate modules, whose differences are built-in rather than controlled by conditional compilation. The original file, oils_cstore.c, now implements only the cstore server. The other two are now implemented by oils_rstore.c and oils_pcrud.c. The test_json_query program now calls functions from oils_sql.c instead of from oils_cstore.c. This restructuring required changes to configure.ac and to Makefile.am in order to regenerate the Makefile appropriately. M configure.ac A Open-ILS/include/openils/oils_sql.h A Open-ILS/src/c-apps/oils_pcrud.c A Open-ILS/src/c-apps/oils_rstore.c M Open-ILS/src/c-apps/oils_cstore.c A Open-ILS/src/c-apps/oils_sql.c M Open-ILS/src/c-apps/Makefile.am M Open-ILS/src/c-apps/test_json_query.c git-svn-id: svn://svn.open-ils.org/ILS/trunk@16168 dcc99617-32d9-48b4-a31d-7c20da2025e4