[mapguide-trac] #1751: Use column name instead of column index
during data reader's serialization
MapGuide Open Source
trac_mapguide at osgeo.org
Thu Jul 14 03:44:03 EDT 2011
#1751: Use column name instead of column index during data reader's serialization
------------------------+---------------------------------------------------
Reporter: sparkliu | Owner:
Type: defect | Status: new
Priority: low | Milestone:
Component: General | Version: 2.1.0
Severity: trivial | Keywords:
External_id: |
------------------------+---------------------------------------------------
During the serialization of data reader, most of code uses column name
instead of column index, for example, get column type, check null, get
data.
Actually as the final purpose is to return the whole dataset, there is no
such situation that a column exists in dataset but not serialized, also
the sequence of property is exactly the same with the sequence of column.
So the serialization can be optimized to use column index to reduce column
searching.
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1751>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list