diff options
author | Michael L. Young <elgueromexicano@gmail.com> | 2014-07-24 21:01:37 +0000 |
---|---|---|
committer | Michael L. Young <elgueromexicano@gmail.com> | 2014-07-24 21:01:37 +0000 |
commit | 7059b001adb2583e1b6b2bb667d538df2fb3709b (patch) | |
tree | 8d28011b42293166d2dbc4e58524384336ee1e74 /include/asterisk/astdb.h | |
parent | 7e78a8cb4df0378c398f7409665410e0aea596ff (diff) |
core/db: Revert Patch Added In Attempt To Improve I/O Performance
Reverting the patch since it was causing a regression and after fixing the
regression, there were no performance gains. At least based on my method
for measurement.
ASTERISK-24050
Review: https://reviewboard.asterisk.org/r/3841/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@419504 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/astdb.h')
-rw-r--r-- | include/asterisk/astdb.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/include/asterisk/astdb.h b/include/asterisk/astdb.h index 1eff7908c..8a870ae83 100644 --- a/include/asterisk/astdb.h +++ b/include/asterisk/astdb.h @@ -50,14 +50,7 @@ int ast_db_get(const char *family, const char *key, char *value, int valuelen); */ int ast_db_get_allocated(const char *family, const char *key, char **out); -/*! \brief Store value addressed by family/key - * - * Try to insert a row first. If a row already exists with the given key - * we will then perform an update on this row. - * - * The attempt here is to increase disk I/O performance by not deleting an existing - * row and then inserting a new row when one already exists. - */ +/*! \brief Store value addressed by family/key */ int ast_db_put(const char *family, const char *key, const char *value); /*! \brief Delete entry in astdb */ |