-
Committer:
Vladislav Vaintroub
-
Date:
2013-02-02 23:32:30 UTC
-
Revision ID:
wlad@montyprogram.com-20130202233230-paskqiwhblvv5t1u
CONJ-17 : ResultSetMetaData.getColumnName() returned empty string for special cases, where result set column was not a column from any table.
For example, column name returned by ResultRSetMetaData.getColumnName(1) for the query " select count(*) from table" would be empty string ""
The fix is to return column label (called "virtual column name" here http://dev.mysql.com/doc/internals/en/text-protocol.html#packet-Protocol::ColumnDefinition) instead of "".