public void testBug33734() throws Exception {
  Connection testConn=getConnectionWithProps("cachePrepStmts=true,useServerPrepStmts=false");
  try {
    testConn.prepareStatement("SELECT 1");
  }
  finally {
    testConn.close();
  }
}

public void testBug33734 ( ) throws Exception { Connection testConn = getConnectionWithProps ( "cachePrepStmts=true,useServerPrepStmts=false" ) ; try { testConn . prepareStatement ( "SELECT 1" ) ; } finally { testConn . close ( ) ; } }
tests fix for bug # 33734 - nullpointerexception when using client - side prepared statements and enabling caching of prepared statements ( only present in nightly builds of 5 . 1 ) .
