~maria-captains/mariadb-java-client/trunk

Viewing all changes in revision 428.

  • Committer: Vladislav Vaintroub
  • Date: 2013-05-02 22:04:52 UTC
  • Revision ID: wlad@montyprogram.com-20130502220452-3v902l7kmlkj2e0a
MySQLProtocol has this like in executeQuery :

log.finest("Executing streamed query: " + dQuery);

Even if log is not activated (which is normally the case), even then relatively expensive string concatenation takes place.It should be avoided by using 

 log.log(Level.FINEST, "Executing streamed query: {0}", dQuery);

instead.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: