Commit Graph

777 Commits

Author SHA1 Message Date
michael
fdf66d1be9 * take care of destructor being called if constructor failed
git-svn-id: trunk@22601 -
2012-10-09 11:07:08 +00:00
michael
74149ab196 * Patch from Luiz Americo for some cleanup (bug ID 22550)
git-svn-id: trunk@22600 -
2012-10-09 11:04:44 +00:00
lacak
d0fbfe4525 Implements support for MySQL Transactions. Mantis #19137. Patch by Ludo Brands.
git-svn-id: trunk@22598 -
2012-10-09 05:26:27 +00:00
ludob
da5a38c8ff Moved sqlite3backup.pas to src/sqldb/sqlite
git-svn-id: trunk@22583 -
2012-10-08 09:09:27 +00:00
ludob
91a468307a Fix for table names converted to uppercase Mantis 0022766 Patch by Lacak2
git-svn-id: trunk@22572 -
2012-10-07 15:06:59 +00:00
marco
d2cc65aff0 * improve statementtype detection. Mantis #22723, patch by Lacak2
git-svn-id: trunk@22563 -
2012-10-06 14:25:02 +00:00
marco
a320db479e * applied BOF patch + test from Lacak2. Mantis #22377
git-svn-id: trunk@22562 -
2012-10-06 14:18:17 +00:00
marco
7ec9f59e45 * Sqlite3backup, implements backups between 2 TSQLite3Connections, TSQLite3Connection backup to file and TSQLite3Connection restore from file.
by Ludo Brands, mantis #22394

git-svn-id: trunk@22559 -
2012-10-06 12:29:36 +00:00
marco
37ed624706 * Make validchar writable, Mantis #23002, patch by Anton
git-svn-id: trunk@22498 -
2012-09-28 19:55:41 +00:00
marco
aa7a980a6f * patch for mantis #22371 TTimeField.SetAsString stores data as NativeFormat corrupting time fields
git-svn-id: trunk@22471 -
2012-09-27 11:16:25 +00:00
michael
f019e004ce * Patch to add support for charset (bug 22985)
git-svn-id: trunk@22470 -
2012-09-27 09:10:08 +00:00
michael
10b5d31fc1 Patch to fix type (Bug ID 22994)
git-svn-id: trunk@22468 -
2012-09-27 08:09:20 +00:00
michael
9d8235c9d8 * Fixed uninitialized string results
git-svn-id: trunk@22403 -
2012-09-16 14:05:37 +00:00
joost
e17d1c9b37 * Support Interbase 7 and Firebird 3 boolean fields
* Minor optimization using local VSQLVar variable 
   Patch by Lacak2, mantis 22698

git-svn-id: trunk@22232 -
2012-08-24 15:56:37 +00:00
michael
53c03717d5 * SQL DB loader implemented
git-svn-id: trunk@22163 -
2012-08-21 19:41:51 +00:00
michael
2939c41263 * Patch for sdfdata multiline support and assoiated test case from Reinier Olislagers (bug 22237 and bug #22213)
git-svn-id: trunk@22145 -
2012-08-20 16:41:15 +00:00
Jonas Maebe
e06d3a6e04 * raise an error when locate is used on a closed dataset (patch by
Claudio Romero, mantis #13938)

git-svn-id: trunk@22098 -
2012-08-16 17:53:09 +00:00
michael
c10901e460 * Patch from Ludo Brands to fix Modified behaviour (bug ID 22381)
git-svn-id: trunk@21875 -
2012-07-11 15:18:37 +00:00
joost
c02351da63 * Implemented autoincremental fields for TBufDataset
git-svn-id: trunk@21757 -
2012-07-02 11:42:05 +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
marco
cbb9e3b077 * Improved pqconnection error reporting. Patch by Ludo, Mantis #22336
git-svn-id: trunk@21750 -
2012-07-01 15:50:13 +00:00
marco
b616fca354 * Mantis #22249 Mysql BIT type support.
git-svn-id: trunk@21743 -
2012-06-30 17:57:29 +00:00
marco
c4ec774c4c * Fixes Sql parsing problems with spaces lacking between keyword and expression
(like where(id=0) ) Mantis #21965, patch by Ludo, updated by Lacak2.

git-svn-id: trunk@21742 -
2012-06-30 17:53:42 +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
40d26638a7 * skip newline after comment. Patch by Lacak2, #22031
git-svn-id: trunk@21682 -
2012-06-22 19:14:26 +00:00
marco
2941b1e456 * do not set fregistered directoy since that hampers registerevents().
Patch by Ludo, Mantis #22244
 

git-svn-id: trunk@21643 -
2012-06-18 11:15:18 +00:00
joost
8b6c61bb86 * Forgot to commit file in r21641
git-svn-id: trunk@21642 -
2012-06-18 10:41:35 +00:00
joost
f67a327240 * Set Field.FieldNo to 0 for fields that are not bound to a fielddef, so that
they are distinguisable from calculated fields with a FieldNo of -1.
 * Added test to check for an exception when the Fields do not correspond to
   the underlying data.
 * Improved exception message when the Fields do not correspond with the data

git-svn-id: trunk@21641 -
2012-06-18 10:39:34 +00:00
joost
cc3ac1dd95 * Createdataset should not create fielddefs for calculated or lookup fields
git-svn-id: trunk@21640 -
2012-06-18 09:48:52 +00:00
michael
872409d293 * Forgot to apply patch from #21905 in trunk
git-svn-id: trunk@21627 -
2012-06-17 07:53:28 +00:00
marco
f2ccc9f593 * temporarily disabled the Fields.Count<FieldDefs.Count check.
mantis #22030

git-svn-id: trunk@21591 -
2012-06-13 09:14:55 +00:00
marco
d97aa91e28 * Let gettablenames with TRUE as second param succeed, out of compatibility
Patch from Lacak2 Mantis #22255

git-svn-id: trunk@21583 -
2012-06-12 13:36:07 +00:00
michael
4b8ffef650 * Patch from Ludo Brands to fix memory leak (bug 22228)
git-svn-id: trunk@21540 -
2012-06-08 08:33:28 +00:00
michael
efe5362670 * Fixed bug #19376: when quoting, quote character should be doubled
git-svn-id: trunk@21491 -
2012-06-05 18:43:55 +00:00
michael
f97c4b7b57 * Applied patch from Reinier Olislaghers to quote memo fields (bug 19759)
git-svn-id: trunk@21490 -
2012-06-05 18:35:22 +00:00
marco
283ed5971a * Fixed gotcha in r21364. SQL Null instead of nil. Mantis #22108 by Ludo
git-svn-id: trunk@21373 -
2012-05-23 12:37:02 +00:00
marco
283b37139f * Patch from Ludo Brands implementing TCustomBufdataset.lookup
Mantis #22099

git-svn-id: trunk@21364 -
2012-05-23 04:57:36 +00:00
michael
a08ea239ca * Patch to improve error message from LacaK2 (Bug ID 22061)
git-svn-id: trunk@21325 -
2012-05-18 12:26:17 +00:00
michael
0efa458127 * Add PostGres Event notification component from Ludo Brands (22060)
git-svn-id: trunk@21324 -
2012-05-18 12:19:09 +00:00
michael
137b21223b * Add Event notification component from Ludo Brands (22060)
git-svn-id: trunk@21323 -
2012-05-18 12:13:48 +00:00
marco
2ae09dc995 * Patch from Perdhevi/Lacak2 to improve keyfields existence.
Fixes code part of mantis #15286, which turns into a documentation issue now.  

git-svn-id: trunk@21281 -
2012-05-12 21:05:41 +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
michael
3296858f44 * Added TFBAdmin component from Ludo Brands (bug 22012)
git-svn-id: trunk@21276 -
2012-05-12 12:15:56 +00:00
joost
f011d02833 * Raise an exception when a TBufDataset is opened while there is no dataset created
git-svn-id: trunk@21268 -
2012-05-09 15:56:55 +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
343b8e299c * Mantis #21995, rewrite mantis #17199 changes (IB datetime milliseconds)
using composedatetime.

git-svn-id: trunk@21265 -
2012-05-09 12:28:28 +00:00
joost
50704e55c8 * Implemented TBufDataset.MergeChangelog
git-svn-id: trunk@21256 -
2012-05-08 14:16:28 +00:00
joost
67ab61dcc8 * Moved .ReadOnly property from TSQLQuery to TBufDataset
git-svn-id: trunk@21254 -
2012-05-08 12:21:50 +00:00
joost
a5bfcb026d * Fixed case-insensitive filtering on filters like *blah*
git-svn-id: trunk@21252 -
2012-05-08 09:33:21 +00:00
marco
e1283a3e0e * handle milliseconds in IB timestamps, patch by Zipfelvo, improved by Lacak2.
Mantis #17199

git-svn-id: trunk@21244 -
2012-05-05 22:19:25 +00:00