[Mon-devel] Mon 1.1 "set"/"get" adds unwanted single quotes
Brought to you by:
trockij
From: Ed R. <er...@pa...> - 2005-04-21 21:28:47
|
I finally upgraded my production system to Mon 1.1 and Mon-Client-1.000. I ran into a new problem that eluded my previous testing - I use the "set" command to set a variable to a numeric value. My client programs that fetched that numeric value using the "get" command no longer recognized the value. It turned out if I "set" a value like this: 12345 It would be returned via "get" like this: '12345' Yes, with extra single quotes around it. Easy to code around, but annoying. It looks like this is happening due to changes in Mon::Client where "set" is implemented. It's also happening for string values that I set, which hasn't broken anything yet because I only use those vars for display. Is this related to the parsing changes in Mon 1.1? Can we fix it so that the single quotes aren't seen by the client programs? Also, if a client program wants to muck with some of the vars set by Mon, it won't be able to insert data that Mon will understand because of the extra quotes. |