diff --git a/reference/tokyo_tyrant/tokyotyrant/add.xml b/reference/tokyo_tyrant/tokyotyrant/add.xml index 71a4a9a915..121692bbff 100644 --- a/reference/tokyo_tyrant/tokyotyrant/add.xml +++ b/reference/tokyo_tyrant/tokyotyrant/add.xml @@ -46,7 +46,7 @@ type - TokyoTyrant::RDB_RECINT or TokyoTyrant::RDB_RECDBL constant. + TokyoTyrant::RDBREC_INT or TokyoTyrant::RDBREC_DBL constant. If this parameter is omitted the type is guessed from the increment parameters type. @@ -76,7 +76,7 @@ $tt = new TokyoTyrant("localhost", TokyoTyrant::RDBDEF_PORT); $tt->add("test", 3); /* String value is converted to double */ -echo $tt->add("test", "3.5", TokyoTyrant::RDB_RECDBL); +echo $tt->add("test", "3.5", TokyoTyrant::RDBREC_DBL); ?> ]]>