michael
81c4fe28bf
* Added CopyFromDataset, Clear
...
git-svn-id: trunk@33150 -
2016-03-05 10:15:45 +00:00
michael
9de8ad93ba
* Make GetObjectNames public
...
git-svn-id: trunk@33127 -
2016-02-27 09:27:11 +00:00
lacak
6ca424900b
fcl-db: datadict: when querying for table indexes use ServerIndexDefs instead of local IndexDef
...
git-svn-id: trunk@33087 -
2016-02-12 13:27:23 +00:00
lacak
b38b441d53
fcl-db: dbase: Bug #28734 , Patch by Luiz Americo
...
git-svn-id: trunk@33086 -
2016-02-12 11:43:40 +00:00
lacak
f55ab74e6a
fcl-db: dbase: call inherited InternalPost to check required fields. Revealed by test TestRequired
...
git-svn-id: trunk@33085 -
2016-02-12 10:07:08 +00:00
lacak
5f17bcbc97
fcl-db: tests: cosmetic
...
git-svn-id: trunk@33080 -
2016-02-10 11:28:10 +00:00
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).
...
DB test suite do not show any regression.
git-svn-id: trunk@33079 -
2016-02-10 11:13:02 +00:00
lacak
b5ef41b2be
fcl-db: sqldb: cosmetic
...
git-svn-id: trunk@33078 -
2016-02-10 10:02:17 +00:00
marco
79305ce4da
* mantis #29588 setblobdata moved over pointer ref type.
...
git-svn-id: trunk@33049 -
2016-02-04 20:19:39 +00:00
michael
59a55ea07d
* Fix wrong use of options
...
git-svn-id: trunk@32964 -
2016-01-17 17:18:38 +00:00
michael
c1e876f525
* Fix building
...
git-svn-id: trunk@32963 -
2016-01-17 15:33:18 +00:00
michael
b96d3cc517
* Some fixes and optimizations to last fix
...
git-svn-id: trunk@32941 -
2016-01-14 21:11:40 +00:00
michael
087e123189
* Correctly determine transaction params (from adli82, bug ID #29088 )
...
git-svn-id: trunk@32938 -
2016-01-13 21:00:22 +00:00
michael
c34aa86d99
* Fix bug #0029381
...
git-svn-id: trunk@32931 -
2016-01-13 08:03:18 +00:00
lacak
57c7b32490
fcl-db: tests: move TestCancel method as Edit/Cancel is not supported on UniDirectional datasets (avoid false negative results)
...
git-svn-id: trunk@32854 -
2016-01-05 08:19:21 +00:00
lacak
01d3297d37
fcl-db: bufdataset: revert prior commit 32807 as it causes fail of TTestSpecificTBufDataset.TestOpeningNonExistingDataset
...
git-svn-id: trunk@32853 -
2016-01-05 07:53:21 +00:00
lacak
d4d1fcb634
fcl-db: datadict: mssql: add support for querying sequences and domains using standard INFORMATION_SCHEMA views (supported since version 2000)
...
git-svn-id: trunk@32851 -
2016-01-05 06:46:04 +00:00
lacak
634764231a
fcl-db: datadict: SEQUENCE START value can be any signed integer value (+ missing spaces)
...
git-svn-id: trunk@32850 -
2016-01-05 06:16:34 +00:00
michael
721340d197
* Fixed wince compilation (Bug ID 0029319)
...
git-svn-id: trunk@32843 -
2016-01-04 07:27:31 +00:00
michael
7c66a42eaf
* Initial MS-SQL server support for Data Dictionary
...
git-svn-id: trunk@32831 -
2016-01-02 16:21:54 +00:00
michael
38da3db2b2
* Patch to add IBFixFssData, IBFixFssMeta options from Tsvetoslav (bug ID 28309)
...
git-svn-id: trunk@32812 -
2015-12-31 15:20:36 +00:00
michael
b4211ee8fb
* GetObjectNames implementation (adapted from Daniel Gaspary, bug ID #26254 )
...
git-svn-id: trunk@32810 -
2015-12-31 14:58:47 +00:00
michael
6a84b02189
* Added SkipClientLibraryCheck option (bug ID 27395)
...
git-svn-id: trunk@32808 -
2015-12-31 14:28:27 +00:00
michael
49fcad5119
* Patch from Luiz Americo to remove redundant field check (is in BindFields) Bug ID #29296
...
git-svn-id: trunk@32807 -
2015-12-31 14:18:04 +00:00
michael
810fdb9d13
* Add sqlscript unit tests to test application
...
git-svn-id: trunk@32801 -
2015-12-30 16:03:15 +00:00
michael
2b2bf19981
* Fix bug in SQL -- comment handling (by Andrea Urbani, bug ID #28333 )
...
git-svn-id: trunk@32800 -
2015-12-30 16:02:52 +00:00
michael
081b6ce8a1
* Fix bug where BindFields does not raise error when a field is not found (Bug ID 28173)
...
git-svn-id: trunk@32796 -
2015-12-30 10:17:44 +00:00
blikblum
adcebe7a8c
sqliteds: set memo conversion procedure in TSqliteDataset
...
git-svn-id: trunk@32755 -
2015-12-27 10:53:33 +00:00
blikblum
e65a6b9e50
sqliteds: fix indentation
...
git-svn-id: trunk@32754 -
2015-12-27 10:53:12 +00:00
blikblum
6189686c6d
sqliteds: Ensure unique names in fielddefs
...
git-svn-id: trunk@32753 -
2015-12-27 10:40:58 +00:00
michael
5ab123883a
* Make sure formatting settings are not used when passing datetime values
...
git-svn-id: trunk@32729 -
2015-12-26 16:08:14 +00:00
lacak
6f9d542d81
fcl-db: sqldb: fixes AV when SQL is empty, Cursor is not allocated yet. Bug #29124
...
git-svn-id: trunk@32566 -
2015-12-02 06:37:49 +00:00
lacak
e0ee5c30bf
fcl-db: bufdataset: add limited support for ftBCD fields in filter parser.
...
As DBF filter/expression parser does not support etBCD type of expression, I have used etFloat type, so I convert currency data type to double data type.
(which can lead in some cases in false results, when currency can not be expressed as double, without loss of precision)
git-svn-id: trunk@32558 -
2015-12-01 07:45:54 +00:00
lacak
124100cde1
fcl-db: sqldb: Propagate ConnOptions from Proxy connection to TSQLConnector.ConnOptions, when ConnectorType changes (not OnInternalConnect, which is late).
...
Attempt to set TSQLTransaction.Options to stoUseImplicit check if TSQLConnection support sqImplicitTransaction.
git-svn-id: trunk@32359 -
2015-11-19 07:25:03 +00:00
marco
a441becb11
* enable mysql 5.7
...
git-svn-id: trunk@32253 -
2015-11-06 10:59:53 +00:00
lacak
e4369ba51b
fcl-db: implement CompareBookmarks in Delphi compatible way.
...
"value less than 0 if Bookmark1 is less than Bookmark2, 0 if the bookmarks are identical, and a value greater than 0 if Bookmark1 is greater than Bookmark2."
Also FPC documentation: "It returns a negative value if Bookmark1 is located before Bookmark2, zero if they refer to the same record, and a positive value if the second bookmark appears before the first bookmark."
Special case is if one of bookmarks is nil:
nil, "not nil" returns 1
"not nil", nil returns -1
Bug #28730
git-svn-id: trunk@32131 -
2015-10-23 08:57:23 +00:00
joost
6926ae8cae
* Fixed some dependencies in fpmake.pp
...
git-svn-id: trunk@32123 -
2015-10-22 17:08:13 +00:00
blikblum
9aa6ea2255
Implement OnFilterRecord
...
git-svn-id: trunk@32093 -
2015-10-18 18:53:47 +00:00
lacak
16b02dcd2b
fcl-db: sqlite: when raising database error retrieve also extended error code and pass it to ESQLDatabaseError exception object.
...
git-svn-id: trunk@32034 -
2015-10-13 05:23:20 +00:00
blikblum
da66980766
Call inherited method in InternalPost (check for required fields)
...
git-svn-id: trunk@31877 -
2015-09-28 18:39:00 +00:00
blikblum
d4a8b7881b
Use FieldValues in Lookup, allowing to retrieve multiple field values
...
git-svn-id: trunk@31876 -
2015-09-28 18:38:52 +00:00
nickysn
02d6f7a2a4
- disabled the win16 target for all packages that don't compile on that platform
...
git-svn-id: trunk@31857 -
2015-09-27 19:32:44 +00:00
blikblum
8414d53e0e
Use StrBufSize to calculate PChar length and properly escape NUL values inside strings. Fixes bug #26443
...
git-svn-id: trunk@31853 -
2015-09-27 17:00:15 +00:00
blikblum
755a6cc776
Remove commented code in fillds demo commited by accident
...
git-svn-id: trunk@31845 -
2015-09-27 12:01:13 +00:00
blikblum
776534a43d
Fix mem leak in InitiRecord
...
git-svn-id: trunk@31844 -
2015-09-27 12:01:05 +00:00
blikblum
d144073299
Adapt demos programs to use sqlite3ds by default
...
git-svn-id: trunk@31841 -
2015-09-26 21:34:29 +00:00
blikblum
e4ec432012
Fix sqliteds compilation
...
git-svn-id: trunk@31840 -
2015-09-26 21:34:16 +00:00
blikblum
55ad9b69d0
Free row from begin item
...
git-svn-id: trunk@31839 -
2015-09-26 21:34:06 +00:00
blikblum
cc11bc4590
Fix Comparebookmarks properly handling nil parameters
...
git-svn-id: trunk@31838 -
2015-09-26 21:33:55 +00:00
blikblum
da100b43f7
Use actual item instead of cache item for edit
...
git-svn-id: trunk@31837 -
2015-09-26 21:33:43 +00:00