odbcsql.inc:
- added SQLStatistics function and some associated constants
odbcconn.pas:
- implemented TODBCConnection.UpdateIndexDefs
- implemented TODBCConnection.LoadBlobIntoBuffer
- free Connection handle if connecting fails; fixes exception thrown on finalization if a connection failed
- some support for reading wide string & guid fields (though untested)
- added FmtArgs parameter to ODBCCheckResult; now a call to Format is needed only when an error actually occurred
- if SQLGetDiagRec failed in ODBCCheckResult, this is reported in the constructed error message
bufdataset.pas:
- added code to free allocated blob buffers
- fixed GetFieldSize for some field types
git-svn-id: trunk@7286 -