On 6 Jul 2004, at 20:04, Mark Powell wrote:

On Sat, 3 Jul 2004, Matt Sergeant wrote:

On 2 Jul 2004, at 13:31, Mark Powell wrote:

It seems that notes() doesn't gain you much over using a variable
directly
or am I missing something?

Notes allows you to pass values between *different* plugins.

Notes also guarantees that it will be reset at the end of a connection
or transaction, whereas setting an entry in the plugin hash might live
longer than that.

I've been using notes(), but have found that the values are not reset upon
a RSET command. Should they be?

The transaction notes field should be reset at the start of the next command after an RSET. The connection notes should persist.


Matt.



Reply via email to