git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1267 f203690c-595d-4dc9-a70b-905162fa7fd2tags/jackcess-2.2.3
@@ -4,6 +4,11 @@ | |||
<author email="javajedi@users.sf.net">Tim McCune</author> | |||
</properties> | |||
<body> | |||
<release version="2.2.3" date="TBD"> | |||
<action dev="jahlborn" type="fix"> | |||
Fix parsing of escaped double quotes in expressions. | |||
</action> | |||
</release> | |||
<release version="2.2.2" date="2019-01-05"> | |||
<action dev="jahlborn" type="fix" system="SourceForge2" issue="151"> | |||
Fix length in units calculation for Access 97 text fields. |
@@ -269,7 +269,6 @@ class ExpressionTokenizer | |||
char c = buf.next(); | |||
if(c == endChar) { | |||
if(allowDoubledEscape && (buf.peekNext() == endChar)) { | |||
sb.append(endChar); | |||
buf.next(); | |||
} else { | |||
complete = true; |
@@ -144,6 +144,7 @@ public class DefaultFunctionsTest extends TestCase | |||
assertEval("FOOO", "=UCase(\"fOoO\")"); | |||
assertEval("fooo", "=LCase(\"fOoO\")"); | |||
assertEval(" FOO \" BAR ", "=UCase(\" foo \"\" bar \")"); | |||
assertEval("bl", "=Left(\"blah\", 2)"); | |||
assertEval("", "=Left(\"blah\", 0)"); |