]> git.evergreen-ils.org Git - Evergreen.git/commit
Split the cstore servers into several pieces.
authorscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 8 Apr 2010 13:53:47 +0000 (13:53 +0000)
committerscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 8 Apr 2010 13:53:47 +0000 (13:53 +0000)
commit4947063f0c7a665e9b2c2e78a126117b4533d1a6
tree5a19ba1c71ba0f62002e067d0446701a8037025c
parent014ee438cd63e2b1381cc7bda0bb825c85f1bee9
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
Open-ILS/include/openils/oils_sql.h [new file with mode: 0644]
Open-ILS/src/c-apps/Makefile.am
Open-ILS/src/c-apps/oils_cstore.c
Open-ILS/src/c-apps/oils_pcrud.c [new file with mode: 0644]
Open-ILS/src/c-apps/oils_rstore.c [new file with mode: 0644]
Open-ILS/src/c-apps/oils_sql.c [new file with mode: 0644]
Open-ILS/src/c-apps/test_json_query.c
configure.ac