Commit Graph

18 Commits

Author SHA1 Message Date
reiniero
3065e3289b fcl-db: dbtestframework:
+ add support for logging test execution/sqldb log events to file. Enable by setting the the logfile= entry in database.ini

git-svn-id: trunk@27329 -
2014-03-29 10:17:31 +00:00
lacak
9013ff6724 fcl-db:fcl-db: base: fix streaming (restoring) of ftWideMemo fields in XMLDatapacketReader
+ extend test of streaming of "FieldDataset" to test all fields (not only Blob and Memo)

git-svn-id: trunk@25538 -
2013-09-23 11:09:07 +00:00
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
git-svn-id: trunk@25524 -
2013-09-20 05:56:27 +00:00
lacak
47f9c32f11 fcl-db: tests: fix TestStreamingNullFieldsXML (only fields which are not required and not readonly can be set to Null)
git-svn-id: trunk@25452 -
2013-09-11 12:05:20 +00:00
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.
git-svn-id: trunk@25411 -
2013-09-04 13:13:50 +00:00
lacak
9e5c31331e fcl-db: tests: add more information to be able find point where test fails.
git-svn-id: trunk@22990 -
2012-11-16 08:43:39 +00:00
lacak
221ee477b2 fcl-db tests: unification of file names used (generated) during testing.
git-svn-id: trunk@22938 -
2012-11-06 08:32:41 +00:00
joost
ec67f10680 * Fixed CreateDataset when TBufDataset.Filename is set
* Clear old fielddefs before reading TBufDataset from file
 * Call bindfields while reading a dataset from file while there are 
   (calculated) fields present + test

git-svn-id: trunk@21756 -
2012-07-02 10:28:37 +00:00
joost
4151e3f2c1 * Stream TBufdataset fmtBcd fields (xml)
* Stream TBufdataset blob and memo-fields (xml)
 * Refactored code to recognize xml-fieldtypes
 * ftVarBytes fields do not have the 'Binary' subtype (delphi compat)
 * Use fielddefs instead of fields to stream dataset (fixes problems with 
   calculated fields)
 * Added basic blob-tests

git-svn-id: trunk@21735 -
2012-06-29 16:04:55 +00:00
marco
642a180809 Fix from Lacak2 for Mantis #21994 fixes
* when records are inserted into empty dataset and then all canceled by CancelUpdates AV is raised
* another fix for bug #18004, applied in rev.20531 (improved in rev.21197)
  (original approach is not good because when record is inserted and deleted and again inserted,
   then same memory block can be returned, which leads to confusion, because we get same BookmarkData for distinct records)
* +test 

git-svn-id: trunk@21280 -
2012-05-12 20:15:52 +00:00
joost
cbb8b23c71 * fixed the recognition of xml-files using the TBufDataset.filename property
git-svn-id: trunk@21267 -
2012-05-09 14:49:53 +00:00
marco
7d49788693 * Patch from Lacak2 for mantis #19593, exception while saving bufdataset to file.
git-svn-id: trunk@21197 -
2012-05-02 20:09:10 +00:00
marco
448e3db450 * fixes Mantis #14730 dealing with oldvalue=null
git-svn-id: trunk@19267 -
2011-09-28 16:27:32 +00:00
joost
428915a90b * Patch from Ladislav Karrach to fix problems when closing TSQLQueries when the connection is not active, bug #17623
git-svn-id: trunk@17432 -
2011-05-11 20:51:32 +00:00
joost
c10e229a4b * Moved TDBBasicsTestSetup to toolsunit
git-svn-id: trunk@15373 -
2010-06-04 10:44:08 +00:00
joost
39224aad96 * Splitted TBufDataset in TCustomBufDataset and TBufDataset
git-svn-id: trunk@14855 -
2010-02-03 19:51:34 +00:00
joost
b844e3841c * Added tests to test insertions after all records are deleted
git-svn-id: trunk@12507 -
2009-01-04 21:48:57 +00:00
joost
204de0d4cf * Added tests for update-buffers and streaming
git-svn-id: trunk@12448 -
2008-12-28 01:12:38 +00:00