Export to GitHub

scalaris - issue #4

Patch: allow plug-in db modules


Posted on Jul 28, 2008 by Quick Panda

This patch implements what was discussed on erlang-questions in regards to allowing plug-in db modules to replace cs_db_otp. It adds a header file, database.hrl, which defines the constant DB, defaulting to cs_db_otp. Wherever cs_db_otp was referenced throughout the application, it has been replaced by ?DB.

Attachments

Comment #1

Posted on Jul 29, 2008 by Grumpy Horse

Thanks, but the patch seems not to contain the additional/new files, like database.hrl.

Comment #2

Posted on Jul 29, 2008 by Quick Panda

Sorry about the incomplete patch. This one includes database.hrl (I forgot to svn add it before generating the last patch).

Attachments

Comment #3

Posted on Jul 29, 2008 by Quick Horse

Thanks Jason, I applied your patch in revision #17

Status: Fixed

Labels:
Type-Patch Priority-Medium