--- src/com/mysql/jdbc/StringUtils.java 5.1.7
+++ src/com/mysql/jdbc/StringUtils.java 5.1.7 + 41532 fixed
@@ -1020,8 +1021,8 @@
 				contextMarker = c;
 			} else if (c == target.charAt(0) && !escaped
 					&& contextMarker == Character.MIN_VALUE) {
-				if (indexOfIgnoreCase(i, src, target) != -1)
+       if (startsWithIgnoreCase(src, i, target))
 			}
 		}

