ArrayParser doesn't require the string to be null terminated anymore,
instead the length of the string can be passed in. This is first step in process to allow Value to work without null terminator.
This commit is contained in:
parent
93c8b49f61
commit
b210c570fc
4 changed files with 26 additions and 13 deletions
|
|
@ -18,7 +18,7 @@ namespace Pgsql {
|
|||
/**
|
||||
* \param data The string that needs parsing (warning just the pointer is stored, the string is not copied)
|
||||
*/
|
||||
explicit ArrayParser(const char *array_string);
|
||||
ArrayParser(const char *array_string, int length);
|
||||
|
||||
class NextElemResult {
|
||||
public:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue