michael
|
71ab58a2f1
* Added ActualSQL and ParamValue log types, correct SQLConnector so it passes log options on
|
10 years ago |
lacak
|
ef00cefa0a
fcl-db: cleanup (remove unused parts of code)
|
10 years ago |
lacak
|
242d750ef5
fcl-db: sqldb: ExecuteDirect should call StartImplicitTransaction, when Transaction.Options contains stoUseImplicit (else it leads later to AV due to nil Transaction.Handle)
|
10 years ago |
lacak
|
d0b365c99a
fcl-db: sqldb: fix trailing quote char
|
10 years ago |
lacak
|
8b41206ffd
fcl-db: sqldb:
|
10 years ago |
lacak
|
5017d1e6eb
fcl-db: sqldb:
|
10 years ago |
michael
|
78dda3e217
* Renamed sqoPreferRefresh to sqoRefreshUsingSelect
|
10 years ago |
michael
|
3e100245e0
* Globally take into account forcedclose when committing/rollbacking, so all operations succeed
|
10 years ago |
lacak
|
b8f8e61957
fcl-db: sqldb: keep in synchro Database/Transaction when changing Database/Transaction, but only when NEW Database.Transaction or Transaction.Database is assigned. After discussion in DB-Core modifies rev. 30483. Bug #27805
|
10 years ago |
lacak
|
63caee1cae
fcl-db: sqldb: cosmetic
|
10 years ago |
michael
|
c1935de563
* Patch from Laco to fix assigning transaction/database when database/transaction does not match
|
10 years ago |
michael
|
9a807bdfe3
* Implemented RETURNING clause as a way of updating fields
|
10 years ago |
michael
|
1427d94933
* Check changecount before deciding to cancel updates
|
10 years ago |
michael
|
5e99f7f9c1
* Implemented sqoCancelUpdatesOnRefresh, remedy bug ID #21989
|
10 years ago |
lacak
|
d193c51dbd
fcl-db: cosmetic
|
10 years ago |
michael
|
743324f72b
* Patch from Laco with minor modification from bug ID #27251
|
10 years ago |
lacak
|
9fba59b3bc
fcl-db:
|
10 years ago |
lacak
|
8ae9752530
fcl-db: cosmetic
|
10 years ago |
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 |