michael
|
868ba1560f
* Applied patch by Michael Van Ham (bug ID 27220)
|
10 years ago |
lacak
|
e82b7a953d
fcl-db: sqldb: set default return value for function StartImplicitTransaction. Can be overriden by descendants.
|
10 years ago |
lacak
|
e26d106b5b
fcl-db: sqldb: some databases supports inserting of explicit values into "autoincrementing" columns. So in case when ftAutoInc field has already supplied value, do not do fetch of LastID
|
10 years ago |
lacak
|
e3b12486c5
fcl-db: sqldb: fix AV (uninitialized variable) in MySQL tests
|
10 years ago |
michael
|
6d5622aca3
* Implemented RefreshSQL and fetching value for AutoInc fields
|
10 years ago |
lacak
|
c41bc63cd4
fcl-db: sqldb: Make ESQLDatabaseError.CreateFmt more safe if it is called with Args=[] (then do not try Format(Msg,Args))
|
10 years ago |
lacak
|
b300241c09
fcl-db: sqldb: initialize TCustomSQLStatement.FRowsAffected to -1. Revealed by TestRowsAffected.
|
10 years ago |
lacak
|
eaadd51b42
fcl-db: reverts rev.29118, because there are 3rd party libraries (like ZEOS), which define own EDatabaseError descendants, where they define members FErrorCode and/or ErrorCode.
|
10 years ago |
lacak
|
9f730c9831
fcl-db: sqldb: rename some of new types as discussed in DB-Core
|
10 years ago |
michael
|
411e798495
* AutoCommit option
|
10 years ago |
michael
|
2134e3aaac
* Promoted errorcode to the EDatabaseError level, unified all error codes
|
10 years ago |
michael
|
f00212c993
* Fix+Test for bug #27068 : coCheckRowsAffected
|
10 years ago |
michael
|
6b32a6e0e5
* Transaction options and connection options
|
10 years ago |
michael
|
a53fca1b67
* QueryOptions for disconnected mode and autoapplyupdates
|
10 years ago |
lacak
|
041b4681e9
fcl-db: sqldb: cosmetic
|
11 years ago |
lacak
|
5c936f0ecf
fcl-db: sqldb: always call in TSQLQuery.InternalOpen BindFields so all private variables are calculated properly (f.e. FBlobFieldCount)
|
11 years ago |
lacak
|
feff396633
fcl-db: sqldb: simplify code, remove unused field (FSQLBuf)
|
11 years ago |
lacak
|
375eab52c7
fcl-db: sqldb: add PROCEDURE_NAME column as alias to ROUTINE_NAME column in schema view ROUTINES query. GetProcedureNames method expects column named PROCEDURE_NAME, which is not a part of SQL standard INFORMATION_SCHEMA.ROUTINES view.
|
11 years ago |
lacak
|
7de12fb703
fcl-db: sqldb: align column naming (PROCEDURE_NAME) for stProcedures schema query with ODBC standard (SQLProcedures) and also with Delphi naming used in ADO OpenSchema for siProcedures (and partial also with DBX).
|
11 years ago |
lacak
|
aa62089fb3
fcl-db: sqldb: TSQLTransaction.EndTransaction should end transaction (a do not leave it active). So caCommitRetaining and caRollbackRetaining are only aliases of caCommit, caRollback in this case. Bug #26068
|
11 years ago |
reiniero
|
b2813cc627
fcl-db: cosmetic:
|
11 years ago |
lacak
|
37e0aa202c
fcl-db: sqldb: propagate LogEvents from TSQLConnector to proxy TSQLConnection
|
11 years ago |
reiniero
|
f005a65ce4
fcl-db:
|
11 years ago |
lacak
|
285d459801
fcl-db: sqldb: cosmetic
|
11 years ago |
reiniero
|
420e0165a2
fcl-db: sqlconnection:
|
11 years ago |
lacak
|
cf42b3bdc0
fcl-db: cosmetic
|
11 years ago |
lacak
|
607369f830
fcl-db: sqldb: add PSGetTableName; addition to rev.27074
|
11 years ago |
michael
|
3c015a3ab1
* Made property TableName protected (as suggested in 20395)
|
11 years ago |
lacak
|
2c0bd0fe59
fcl-db: sqldb: when TSQLQuery.FieldDefs.Update is called (is used by IDE Field editor for "Add fields ...") for closed (never prepared) dataset then Cursor is nil, and is passed to TSQLConnection.AddFieldDefs where AV can occurs.
|
11 years ago |
lacak
|
277c3fb00a
fcl-db: sqldb: cosmetic (reorder methods)
|
11 years ago |