Revision 27480 trunk/libraries/libGDBMS/src/main/java/com/hardcode/gdbms/engine/instruction/LiteralAdapter.java
LiteralAdapter.java | ||
---|---|---|
34 | 34 |
SimpleNode n = getEntity(); |
35 | 35 |
|
36 | 36 |
try { |
37 |
return ValueFactory.createValue(Utilities.getText(n), |
|
37 |
return ValueFactory.createValue(Utilities.getText(n).replaceAll("''", "'"),
|
|
38 | 38 |
Utilities.getType(n)); |
39 | 39 |
} catch (SemanticException e) { |
40 | 40 |
throw new EvaluationException(); |
Also available in: Unified diff