wiredtiger/wiredtiger.github.com — Issue #48: Extend config string parser
Author: wiredtiger
Created: 2012-01-31 15:33:38+00:00
State: open

Keith wrote:

> I'm having trouble pushing huffman_key=xxx:yyy through configuration, and it gets through if the colon isn't there.

> Does config support colon characters?

> And, the error message is:

> t: create table: Invalid argument

> Maybe we could be a little more verbose than that? :-)

The things we need are:

- combine l_bare and l_numbare;
- add escape handling for bare values;
- only use '=' to separate keys and values, not ':'; and
- improve error reporting, always generate a message before returning EINVAL.