feature: shdict:incr(): added the optional "init" argument to allow intializing nonex... shdict-incr-init
commitb9bd8028fd6dce61e4aadbe8fc7d23d8ee4a292f
authordoujiang24 <doujiang24@gmail.com>
Wed, 30 Sep 2015 10:22:36 +0000 (30 18:22 +0800)
committerYichun Zhang (agentzh) <agentzh@gmail.com>
Sat, 30 Jul 2016 03:13:39 +0000 (29 20:13 -0700)
tree245ee3fcabccc9d6ceebb42d6ae5eaf358c4a02f
parentdbb48e33a7112a3bb524ea7ca0d7dea91d06f469
feature: shdict:incr(): added the optional "init" argument to allow intializing nonexistent keys with an initial value.

Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
README.markdown
doc/HttpLuaModule.wiki
src/ngx_http_lua_shdict.c
t/043-shdict.t
t/144-shdict-incr-init.t [new file with mode: 0644]