lacak
|
fd0c9fcfe1
fclfcl-db: bufdataset: forgot free filestream and datasetreader
|
11 years ago |
lacak
|
62fdd81cc8
fcl-db: bufdataset: add InternalInitFieldDefs for TBufDataset + test (TestFieldDefsUpdate); related also to rev.27021
|
11 years ago |
lacak
|
54f0f58f63
fcl-db: bufdataset:
|
11 years ago |
lacak
|
58687847db
fcl-db: bufdataset: formatting (cosmetic, char-case, ordering of methods)
|
11 years ago |
michael
|
53ba347851
* Correct use of FieldDefs factory
|
11 years ago |
lacak
|
9c2ffc30ee
fcl-db:
|
11 years ago |
michael
|
7846bec140
* Fix bug ID #24109
|
11 years ago |
michael
|
f59a2272d9
* Applied slightly modified patch from bug ID #24110
|
11 years ago |
lacak
|
c4a981fa8e
fcl-db: bufdataset: TBufDataset autoincrement fields (ftAutoInc) are not restarted when dataset is closed and again reopened. See bug #25628
|
11 years ago |
lacak
|
03e76b5f8b
fcl-db: bufdataset: Check if blob field is not ReadOnly when blob stream is created (in bmWrite mode). Bug #25648
|
11 years ago |
lacak
|
1034503c5d
fcl-db: bufdataset: improve rev.26604. do not use Field.SetData in BlobStream constructor, because SetData also calls Validate and generates deFieldChange. Which is too early in constructor. These events must be generated after data will be written (in fact deFieldChange is called in BlobStream destructor and Validate is not called in current implementation).
|
11 years ago |
lacak
|
8e6fcd876c
fcl-db: bufdataset: when data are written to BLOB field (using TBufBlobStream) assign new write blob buffer to BLOB field in record buffer. So new data are there before Post.
|
11 years ago |
lacak
|
b55c4eec60
fcl-db: bufdataset: formatting
|
11 years ago |
reiniero
|
a3dab9b686
* fcl-db: cosmetic
|
11 years ago |
reiniero
|
148d262a6a
* fcl-db: cosmetic
|
11 years ago |
lacak
|
c16d232c3a
fcl-db: bufdataset: when updates in update buffers are canceled, reverted records must be correctly restored to all active indexes not only in current (then other indexes remains in inconsistent state)
|
11 years ago |
lacak
|
a580751b7e
fcl-db: bufdataset: formatting + comments
|
11 years ago |
lacak
|
ca44693e4b
fcl-db: base: addition to rev.25543 + move property Stream from public to protected section.
|
12 years ago |
lacak
|
139b498296
fcl-db: base: move method GetNewBlobBuffer from public to protected section as it was before rev.21735
|
12 years ago |
lacak
|
7842e9f823
fcl-db: datapacketreader: change of interface methods. Pass reference to TCustomBufDataset only once in constructor of TDatapacketReader, so instance of datapacketreader will know about BufDataset for which it was created and there is no need to pass this reference on "every" call to methods of TDataPacketReader. It brings simplicity and more flexibility IMHO.
|
12 years ago |
lacak
|
fed009e998
fcl-db: base: fix streaming of NULL values in FPCBinaryDatapacketReader (like in Delphi null bitmap is stored in the beginning of record and null values are not stored in row data) + tests
|
12 years ago |
lacak
|
baa700925c
fcl-db: bufdataset: make TFpcBinaryDatapacketReader more flexible hence descendant can override version preset in constructor and write in old format.
|
12 years ago |
lacak
|
f24d30105e
fcl-db: base: improve Blob handling. When writting empty blob set null on. raise data event FieldChange after data are written, not before.
|
12 years ago |
lacak
|
b2e7364ae8
fcl-db: bufdataset: improves rev.25333; length indicator is saved only for variable length fields
|
12 years ago |
lacak
|
625a2c18f3
fcl-db: bufdataset: fixes bug when saving of BLOB data using SaveToFile or SaveToStream in dfBinary format.(instead of BLOB data only pointer to "BLOB buffer record" is saved)
|
12 years ago |
lacak
|
99e67d19cc
fcl-db: bufdataset: partialy fixes TestOpeningNonExistingDataset. See also #22030.
|
12 years ago |
lacak
|
4237cbcfd8
fcl-db: bufdataset: formatting
|
12 years ago |
lacak
|
c5cf5b5b2f
fcl-db: bufdataset: Fix wrong initialization of OrgBufID in new blob buffer.
|
12 years ago |
lacak
|
b17cdf4e09
fcl-db: bufdataset: use call to FreeBlobBuffers instead of separate Freemem+Dispose
|
12 years ago |
lacak
|
f520795cfe
fcl-db: formatting (unification char-case)
|
12 years ago |