Commit Graph

15 Commits

Author SHA1 Message Date
joost
1ce9d05b78 * Fixed ODBC-Widestring fields
git-svn-id: trunk@13118 -
2009-05-09 14:55:22 +00:00
joost
67dcd3be0b * Allow string-parameters of more then 8000 characters, bug #13530
git-svn-id: trunk@13100 -
2009-05-04 21:36:21 +00:00
Vincent Snijders
2b780dbad4 * fixed typo in comment
git-svn-id: trunk@13051 -
2009-04-27 10:25:37 +00:00
joost
90154d3a91 * Patch from Ladislav Karrach to implement support for more parameter-types and null-parameters, bug #13026
git-svn-id: trunk@13016 -
2009-04-16 21:46:42 +00:00
joost
689ca30b21 * Allocate and de-allocate the statement-handle in the PrepareStatement and UnPrepareStatements instead of the TODBCConnection.Destroy and .Create procedures. Because as long as the statements arent de-allocated, the tables used in the statements are still locked. The result was that a select and a drop table on the same table were not possible within one TSQLQuery object.
git-svn-id: trunk@12651 -
2009-02-01 21:21:13 +00:00
joost
46ebc7b768 * Replaced longint by clong, and the hardcoded length of 4 by SizeOf(clong)
* Added blob-parameter support

git-svn-id: trunk@12642 -
2009-02-01 16:14:10 +00:00
joost
358eec969f * The primary key obtained using SQLPrimaryKeys is not always present with the same name in the list of indexes returned by SQLStatistics. (for example see Firebird-bug-tracker ODBC-56) In that case the PK obtained by SQLPrimaryKeys is added to IndexDefs, even if that leads to a duplicate entry for a index under two different names
git-svn-id: trunk@12641 -
2009-02-01 14:16:24 +00:00
joost
c1c62a3ed2 * Implemented retrieval of basic metadata for TODBCConnection (bug 12975)
git-svn-id: trunk@12558 -
2009-01-18 12:22:25 +00:00
joost
ae73acefcf * Made EODBCExcetion derrive from EDatabaseError instead of Exception directly
git-svn-id: trunk@12285 -
2008-12-01 13:29:37 +00:00
joost
c7219efd02 * Implemented TBufDataset.UpdateIndexDefs
git-svn-id: trunk@9515 -
2007-12-22 14:40:49 +00:00
joost
53b6757c6e * Removed unused SetIndexDefs
* IndexDefs should not be passed as var to UpdateIndexDefs

git-svn-id: trunk@9107 -
2007-11-03 16:08:34 +00:00
pierre
31a34e03c2 * do not use += syntax
git-svn-id: trunk@7290 -
2007-05-06 12:02:18 +00:00
michael
a3b72c1be8 Patch from Bram Kuijvenhoven
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 -
2007-05-05 23:22:14 +00:00
michael
6a6ca4afbd * Implemented TSQLConnector
git-svn-id: trunk@6679 -
2007-02-27 23:24:18 +00:00
peter
5b8dd4c004 * move fcl sources to separate packages
git-svn-id: trunk@6655 -
2007-02-25 21:02:26 +00:00