Rewritten data fetch code for ODBC, added more tests
Authored by: artyom-beilis 2010-11-30
Parent: [r1553]
Child: [r1555]