Compress

On a slow network, the --compless option can improve performance when copying a database to another machine because it reduces the number of bytes traveling over the network:

% mysqldump --opt sampdb | mysql --compress -h boa.snake.net sampdb

--compress, -C (boolean)
This option is used only by client programs, It requests the use of compression in the protocol used for communication between the client and the MySQL server, if both of them support it.

useCompressってのいう接続プロパティの意味が分からんとおもったらこういうことだったのか.

で,この機能に関するConnector/J実装コードをテストしたいんですが,どうやって"assert"させたらいいんでしょうかね.orz