updated to the new Pikotools api (new Space struct)
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2010-2018, Tomasz Sowa
|
||||
* Copyright (c) 2010-2021, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -260,20 +260,20 @@ bool DbBase::AssertValueSpace(PGresult * r, int row, int col, PT::Space & space)
|
||||
const char * res = AssertValue(r, row, col);
|
||||
|
||||
conf_parser.SetSpace(space);
|
||||
space.Clear();
|
||||
space.clear();
|
||||
|
||||
PT::SpaceParser::Status status = conf_parser.ParseString(res);
|
||||
PT::SpaceParser::Status status = conf_parser.ParseSpace(res);
|
||||
|
||||
if( status != PT::SpaceParser::ok )
|
||||
{
|
||||
log << log1 << "Db: a problem with parsing a PT::Space";
|
||||
|
||||
if( status == PT::SpaceParser::syntax_error )
|
||||
log << ", syntax error at line: " << conf_parser.line;
|
||||
log << ", syntax error at line: " << conf_parser.get_last_parsed_line();
|
||||
|
||||
log << logend;
|
||||
|
||||
space.Clear();
|
||||
space.clear();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user