summaryrefslogtreecommitdiff
path: root/src/common/db.c
diff options
context:
space:
mode:
authorpanikon <panikon@zoho.com>2014-03-22 00:07:10 -0300
committerpanikon <panikon@zoho.com>2014-03-22 00:07:10 -0300
commitaa120720cec6ba1ddf6ec8ac6098fef6377dddc0 (patch)
tree17c926639ad7107be62e88cb670eaa22167a8b96 /src/common/db.c
parent26f2adab3126c5b76a93c3220ccfb4aec7db07e1 (diff)
downloadhercules-aa120720cec6ba1ddf6ec8ac6098fef6377dddc0.tar.gz
hercules-aa120720cec6ba1ddf6ec8ac6098fef6377dddc0.tar.bz2
hercules-aa120720cec6ba1ddf6ec8ac6098fef6377dddc0.tar.xz
hercules-aa120720cec6ba1ddf6ec8ac6098fef6377dddc0.zip
Fixed issue 7338 (added new char configuration char_aegis_delete)
http://hercules.ws/board/tracker/issue-7338-deleting-character/ As @jaBote requested in 26f2ada, renamed "rathena-logs-database-upgrade" to "rAthena-logs-upgrade.sql" and updated 'last revision'. Added a 'FIXME' in db_obj_put
Diffstat (limited to 'src/common/db.c')
-rw-r--r--src/common/db.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/db.c b/src/common/db.c
index 8c15c0feb..8d6b08815 100644
--- a/src/common/db.c
+++ b/src/common/db.c
@@ -1846,6 +1846,8 @@ static DBData* db_obj_ensure(DBMap* self, DBKey key, DBCreateData create, ...)
* @protected
* @see #db_malloc_dbn(void)
* @see DBMap#put
+ * FIXME: If this method fails shouldn't it return another value?
+ * Other functions rely on this to know if they were able to put something [Panikon]
*/
static int db_obj_put(DBMap* self, DBKey key, DBData data, DBData *out_data)
{