docs: private static String escapeSQLParam(final String param) {
  		int stringLength = param.length();
  		StringBuilder buf = new StringBuilder((int) (stringLength * 1.1));
  		for (int i = 0; i < stringLength; ++i) {
  			char c = param.charAt(i);
  			switch (c) {
  			case 0: /* Must be escaped for 'mysql' */
  				buf.append('\\');
  				buf.append('0');
  				break;
  			case '\n': /* Must be escaped for logs */
  				buf.append('\\');
  				buf.append('n');
  				break;
  			case '\r':
  				buf.append('\\');
  				buf.append('r');
  				break;
  			case '\\':
  				buf.append('\\');
  				buf.append('\\');
  				break;
  			case '\'':
  				buf.append('\\');
  				buf.append('\'');
  				break;
  			case '"': /* Better safe than sorry */
  				buf.append('\\');
  				buf.append('"');
  				break;
  			case '\032': /* This gives problems on Win32 */
  				buf.append('\\');
  				buf.append('Z');
  				break;
  			default:
  				buf.append(c);
  			}
  		}
  		return buf.toString();
  	}