Hi All,SACommand::ParseInputMarkers doesn't recognize the parameter name/place holder correctly if it is followed by tabulator (\t), for example:
SELECT x FROM y WHERE a=:1 AND b=:2 The patch is attached. Many thanks to Adrian Studer. -- Best regards, Sergey Chumakov, SQLAPI++ development team
--- SQLAPI.cpp 10 Apr 2007 08:09:55 -0000 1.51 +++ SQLAPI.cpp 28 Aug 2007 06:13:12 -0000 @@ -3456,7 +3456,7 @@ SAString sName, sFullName; const SAChar Literals[] = {'\'', '"', '`', 0}; - const SAChar NameDelimiters[] = {'=', ' ', ',', ';', ')', '\r', '\n', 0}; + const SAChar NameDelimiters[] = {'=', ' ', ',', ';', ')', '\r', '\n', '\t', 0}; const SAChar *Value, *CurPos, *StartPos; SAChar CurChar;