summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2008-04-07 08:23:38 (EDT)
committerEike Stepper2008-04-07 08:23:38 (EDT)
commitaf9d4176b9185a76d36154ad1829c8092929f0f3 (patch)
tree6d17b114c41b20414f0d20e04acdf205dcbb6b23
parent9ed6b4ad00323209fca6f542a0f2ebabfe56129c (diff)
downloadcdo-af9d4176b9185a76d36154ad1829c8092929f0f3.zip
cdo-af9d4176b9185a76d36154ad1829c8092929f0f3.tar.gz
cdo-af9d4176b9185a76d36154ad1829c8092929f0f3.tar.bz2
[214487] Use prepared statements if appropriate
https://bugs.eclipse.org/bugs/show_bug.cgi?id=214487
-rw-r--r--plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/db/DBType.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/db/DBType.java b/plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/db/DBType.java
index bd52178..a2ac905 100644
--- a/plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/db/DBType.java
+++ b/plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/db/DBType.java
@@ -117,12 +117,6 @@ public enum DBType
builder.append("'");
if (value instanceof String)
{
- /*
- * Stefan Winkler <stefan.winkler-et@fernuni-hagen.de> 2008-04-01 (no April's joke!) changed \\' to \\\\'
- * because at least with MySQL \\' is not enough for some reason - the \\ get eaten up somewhere on the way
- * :-(
- */
-
String str = (String)value;
for (int i = 0; i < str.length(); i++)
{