lacak
|
689fa805eb
fcl-db: sqldb: when applying updates to modified record, look for parameter ":field_name" in InsertSQL,UpdateSQL,DeleteSQL first in TFields and if not found then in TParams. Bug #31411
|
8 years ago |
pierre
|
7031c1c1e5
Do not use a set with CP_NONE, whose value is
|
8 years ago |
michael
|
3bd8da04c7
* Better check for empty Refresh SQL statement
|
8 years ago |
lacak
|
f05acbed7a
fcl-db: base: avoid code page conversion to CP_NONE as this kind of conversion is for now undefined (see bug #30622)
|
8 years ago |
lacak
|
cc100208c9
fcl-db: sqldb: Test for assigned AParams in LogParams to avoid AV. Bug #30662
|
8 years ago |
lacak
|
507088d097
fcl-db: sqldb: Firebird
|
9 years ago |
michael
|
8185da31e6
* Publish autocommit in TSQLScript, make Aborted and Line public. Bug ID #30559
|
9 years ago |
lacak
|
ad96eb037d
fcl-db: sqldb: introduce connection CodePage (derived from connection CharSet) and supporting routines, which performs f.e. codepage aware parameter binding using connection codepage (charset)
|
9 years ago |
lacak
|
26ef7b27e0
fcl-db: sqldb: Publish Before/AfterRefresh properties (Delphi compatible) Bug #30075
|
9 years ago |
michael
|
e78e4d0e72
* Publish UseDollarString and DollarStrings properties
|
9 years ago |
lacak
|
2e005ecc7d
fcl-db: sqldb: make deferred blob loading dependent on sqoKeepOpenOnCommit not on sqoAutoCommit. As original problem is that dataset remains open on commit. Related to rev.33496
|
9 years ago |
lacak
|
7de017daad
fcl-db: sqldb: when sqoAutoCommit is set in TSQLQuery.Options then load BLOBs as records are fetched (Do not allow deferred loading because if in mean time transaction is committed and other transaction updates blob original blob is no more available)
|
9 years ago |
lacak
|
c21ab78262
fcl-db: mysql: move to standard INFORMATION_SCHEMA metadata queries instead of proprietary MySQL show commands. Bug #29819
|
9 years ago |
michael
|
ecd8e21443
* Fix bug #29788
|
9 years ago |
michael
|
67ac09b69f
* Moved some types to sqltypes unit so they can be reused outside of sqldb. Added GetObjectList to datadict using new types
|
9 years ago |
michael
|
9de8ad93ba
* Make GetObjectNames public
|
9 years ago |
lacak
|
810d724493
fcl-db: sqldb: ensure, that if error happens during ExecuteDirect, UnprepareStatement is called. Leaving unfinished statement causes error on later connection close (SQLite). Bug #29376 (fixed as suggested by reporter).
|
9 years ago |
lacak
|
b5ef41b2be
fcl-db: sqldb: cosmetic
|
9 years ago |
michael
|
b4211ee8fb
* GetObjectNames implementation (adapted from Daniel Gaspary, bug ID #26254)
|
9 years ago |
lacak
|
6f9d542d81
fcl-db: sqldb: fixes AV when SQL is empty, Cursor is not allocated yet. Bug #29124
|
9 years ago |
lacak
|
124100cde1
fcl-db: sqldb: Propagate ConnOptions from Proxy connection to TSQLConnector.ConnOptions, when ConnectorType changes (not OnInternalConnect, which is late).
|
9 years ago |
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 |