From: Dmitry Y. <di...@us...> - 2002-02-20 09:16:46
|
Update of /cvsroot/firebird/OdbcJdbc/IscDbc In directory usw-pr-cvs1:/tmp/cvs-serv9838 Modified Files: IscColumnsResultSet.cpp Log Message: Simple change to order columns by their position instead of being ordered alphabetically. Index: IscColumnsResultSet.cpp =================================================================== RCS file: /cvsroot/firebird/OdbcJdbc/IscDbc/IscColumnsResultSet.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -U3 -r1.4 -r1.5 --- IscColumnsResultSet.cpp 3 Jul 2001 22:13:59 -0000 1.4 +++ IscColumnsResultSet.cpp 20 Feb 2002 09:16:43 -0000 1.5 @@ -89,7 +89,7 @@ if (fieldNamePattern) sql += expandPattern (" and rfr.rdb$field_name %s '%s'", fieldNamePattern); - sql += " order by rdb$relation_name, rfr.rdb$field_name"; + sql += " order by rdb$relation_name, rfr.rdb$field_position"; prepareStatement (sql); numberColumns = 18; } |