Commit Graph

84 Commits

Author SHA1 Message Date
joost
076e4aca99 + replaced CommitRetaining by Commit since not all databases supports it
git-svn-id: trunk@1571 -
2005-10-23 12:40:48 +00:00
joost
ce1bb25e54 + use InternalHandleException for exceptions when loading instances of TDataset, TDatabase or TDBTransaction
git-svn-id: trunk@1569 -
2005-10-23 11:07:13 +00:00
tom_at_work
202236c6e0 * fpcmake.ini update which fixes glibc search path problems on PowerPC64
* makefile update

git-svn-id: trunk@1546 -
2005-10-20 16:56:40 +00:00
joost
908cf4c7e2 + fixed some memory issues when using parameters
git-svn-id: trunk@1396 -
2005-10-15 22:32:03 +00:00
joost
21dde458f5 + Fix bug #4376, varchar without size specification
git-svn-id: trunk@1389 -
2005-10-15 20:29:39 +00:00
Jonas Maebe
2dbdc474fd * use register variables when release-building for ppc (more or less doubles
performance for most programs)

git-svn-id: trunk@1383 -
2005-10-15 16:36:52 +00:00
tom_at_work
f7f0f9c426 * makefile adaption to be able to cycle compiler and RTL on PowerPC64 target
* some fixes for PowerPC64 target in the code generator and the RTL
* stabs generation for PowerPC64 is okay now (untested)

git-svn-id: trunk@1337 -
2005-10-08 15:48:39 +00:00
joost
22e17d51db + recreate is not supported by postgres
git-svn-id: trunk@1240 -
2005-09-30 22:04:19 +00:00
joost
a978896d7f + Implemented GetSchemaInfoSQ
+ Added support for OID and constand fields

git-svn-id: trunk@1239 -
2005-09-30 22:02:24 +00:00
joost
fb32bf2cd5 - Initial implementation of several SQLdb examples and tests
git-svn-id: trunk@1207 -
2005-09-27 16:50:09 +00:00
joost
116de83b7a - fixed memory-problems when re-using a query with another sql-statment
git-svn-id: trunk@1206 -
2005-09-27 16:47:50 +00:00
joost
7cfc057994 - added support for datetime-parameters
git-svn-id: trunk@1205 -
2005-09-27 16:46:55 +00:00
joost
294bf06cda - Fix to allow changing the filter while filtered
git-svn-id: trunk@1204 -
2005-09-27 16:45:55 +00:00
joost
cf7f323975 + Fixed a memleak regarding parameters in TSQLQuery
+ Fixed some memleaks in TIBConnection
 + Implemented support for Date/time and char fields in parameters for TIBConnection
 + do not check if a field is null, if that is not allowed

git-svn-id: trunk@1113 -
2005-09-18 15:44:04 +00:00
joost
423a63200d + Implemented GetTableNames, GetProcedureNames and GetFieldNames for TSQLConnection
+ Some fixes for TIBConnection.GetSchemaInfoSQL

git-svn-id: trunk@1064 -
2005-09-08 19:42:28 +00:00
joost
eaf75955e8 * SchemaInfoSQL-Statements are always read-only
git-svn-id: trunk@931 -
2005-08-23 15:31:59 +00:00
joost
7950c3ae5e * added a rough-readme to sqldb
git-svn-id: trunk@917 -
2005-08-22 15:39:54 +00:00
joost
7bfeb0b97e * Restructured Prepare/Unprepare, removed CloseStatement
* Fixed a mem-leak in TIBConnection

git-svn-id: trunk@916 -
2005-08-22 15:35:32 +00:00
florian
8602390d46 * Makefiles regenerated to propagate -Ur change of fpcmake
git-svn-id: trunk@844 -
2005-08-10 21:55:57 +00:00
joost
509593eb49 - Added TSQLTransaction.params
git-svn-id: trunk@837 -
2005-08-09 21:02:18 +00:00
joost
1c3fcdaa14 - TSQLQuery.ApplyRecUpdate now uses ExecuteDirect
git-svn-id: trunk@833 -
2005-08-09 15:06:37 +00:00
joost
06300bc054 - added tSqlConnection.ExecuteDirect
git-svn-id: trunk@829 -
2005-08-09 12:43:49 +00:00
joost
6318a55ca9 - Fixed date/time formats for sqldb and tdbf
- removed obsolete TSQLConnection.ObtainSQLStatementType
- added check for empty sql-statements to sqldb

git-svn-id: trunk@803 -
2005-08-06 13:57:56 +00:00
joost
62871eddeb -some filter fixes
- added ParseSQL property
- added DeAllocateCursorHandle
- fixed tibconnection string-parameters

git-svn-id: trunk@620 -
2005-07-13 21:03:53 +00:00
joost
19d33ef1ea - TSQLQuery.Prepared shoud not be published
git-svn-id: trunk@616 -
2005-07-11 13:15:23 +00:00
joost
5355abf860 - Fixed bug #4121
- Implemented filtering for sqldb

git-svn-id: trunk@615 -
2005-07-11 12:54:21 +00:00
michael
cc4818be26 + initial implementation of new fpmake compile tools
git-svn-id: trunk@435 -
2005-06-17 16:53:18 +00:00
michael
809d10c0a6 * Patch from Alexandrov Alexandru:
- TFieldDefs rewrited as TOwnedCollection and TFieldDef as
    TCollectionItem, so it can be edited now with Collection editor;
  - TFieldDef.Assign implemented;
  - corrections to Index property of TField;
  - made writeable Fields property of TFields;
  - DefaultFieldClasses uncommented and moved to implementation part;
    and some more.

git-svn-id: trunk@175 -
2005-06-02 17:13:18 +00:00
fpc
790a4fe2d3 * log and id tags removed
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
fpc
50778076c3 initial import
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
peter
6cf4eb98c3 * use current fpcmake instead of from 1.9.8 2005-05-05 13:28:47 +00:00
joost
ce319c62c2 - some fixes in assignment of transactions and databases 2005-04-24 19:21:28 +00:00
joost
9d7562ff73 - Fixed a mem-leak in TMySQLConnection.ConnectMySQL
- Added ObtainSQLStatementType to TMySQLConnection.PrepareStatement
- RowsAffected and LastInsertID should be QWord s, not int64
2005-04-13 23:20:22 +00:00
joost
fa3ce88bbd - Changed for dyn.linking
- Made the query read-only
2005-04-13 22:57:03 +00:00
joost
10b6189ecf - TSQLQuery now frees FIndexDefs 2005-04-13 22:10:26 +00:00
joost
6497e8a7ea - Updated for changes in sqldb.pp 2005-04-10 18:31:31 +00:00
joost
f15478c0ca - - implemented parameter support for Postgres
- Updated for changes in sqldb.pp
2005-04-10 18:30:49 +00:00
joost
79712269b4 - - implemented parameter support for Interbase/Firebird
- Updated for changes in sqldb.pp
2005-04-10 18:30:05 +00:00
joost
122a00350d - implemented parameter support for sqldb
- Added TSQLConnection.ConnOptions
- renamed TSQLQuery.FreeStatement to TSQLQuery.CloseStatement
- renamed TSQLQuery.PrepareStatement to TSQLQuery.Prepare
- added TSQLQuery.UnPrepare
2005-04-10 18:29:26 +00:00
michael
012392381c + Several patches from Jose A. Rimon
# Prevents "field not found" error, when use a query without the primary key
Set SQLlen of different data types
 Use AliasName instead of SQLname to avoid "duplicate field name" error, for
example when using "coalesce" more than once
use SQLScale in ftLargeInt to get actual values
 Send query to server with different lines. Provides line info in sqlErrors
and allows single line comments
2005-03-23 08:17:51 +00:00
peter
aa5b73f3ec * 1.9.8 2005-02-15 22:28:29 +00:00
peter
e417e34496 * truncate log 2005-02-14 17:13:06 +00:00
joost
70f562cec7 - Added support for SetSchemaInfo
- Uses the aliasname as the displayname
2005-02-07 11:24:25 +00:00
joost
e2d68a7e4f - implemented TSQLQuery.SetSchemaInfo
- added support for delete and insert
2005-02-07 11:23:41 +00:00
joost
79753bc429 implemented use of HostName 2005-02-04 17:53:08 +00:00
joost
4e1b076d8f fixed GetClientInfo for dynamically linked client 2005-02-04 17:50:21 +00:00
peter
110fb12911 * regenerated 2005-02-03 20:33:26 +00:00
michael
bfcb70b5e4 * Patch from Joost van der Sluis
- Use of the dynamically loaded library (postgres3dyn)
  - support for the postgreSQL'a internal fieldtype 'name'
  - implemented UpdateIndexDefs
  - Support for more then one query for each connection
2005-01-24 10:53:23 +00:00
michael
35a249fc8f * Patch from Joost van der Sluis
- Made it possible to run 'show...' queries for MySQL
  - Use of the dynamically loaded library (mysql4dyn)
  - implemented UpdateIndexDefs
  - Support for more then one query for each connection
2005-01-24 10:53:04 +00:00
michael
f04a7f8f86 * Patch from Joost van der Sluis
- Made it possible to run 'show' queries for MySQL
2005-01-24 10:52:43 +00:00