Update database_api.c
Merge pull request #21 from xwq/patch-1

Update database_api.c