Commit Graph

56069 Commits

Author SHA1 Message Date
Michaël Van Canneyt
f3026aac16 * Sync stored specifier names
(cherry picked from commit a2a9db1e06)
2023-12-16 14:32:58 +01:00
Michaël Van Canneyt
c584ab449f * Add storage specifier for params
(cherry picked from commit 045b938dfa)
2023-12-16 14:32:50 +01:00
marcoonthegit
184d8c4e9a * Added headers (bug #39481) for fcl-db.
(cherry picked from commit afcf3e5201)
2023-12-16 14:32:43 +01:00
Ondrej Pokorny
4dcf6714f6 db odbcconn: error messages received through SQLGetDiagRec are ANSI - convert them to CP_ACP
(cherry picked from commit adb264a711)
2023-12-16 14:32:37 +01:00
Michaël Van Canneyt
12b6a01a87 * Remove SQLDB dependency of csvdataset unit
(cherry picked from commit 21326cfb9a)
2023-12-16 14:29:36 +01:00
Michaël Van Canneyt
f1d1eb8914 * Fix memleak when writing CSV data. Fix issue #39607
(cherry picked from commit 56acf11ec2)
2023-12-16 14:29:30 +01:00
Michaël Van Canneyt
85f7e96162 * Additional fieldtypes for GetFromField
(cherry picked from commit 003d3267f0)
2023-12-16 14:29:23 +01:00
Michaël Van Canneyt
9503f78bd7 * Need fielddefs
(cherry picked from commit ab013b6b69)
2023-12-16 14:28:43 +01:00
Michaël Van Canneyt
7fe9c4ba73 * Need fielddefs
(cherry picked from commit 1b4ad74b68)
2023-12-16 14:28:34 +01:00
Michaël Van Canneyt
b8ad0cfabf * Fix fieldmap & object generator
(cherry picked from commit e09bf7e266)
2023-12-16 14:28:24 +01:00
Michaël Van Canneyt
8b3e745c52 * Patch from Laco to implement filtering on null values
(cherry picked from commit f1043ef099)
2023-12-16 14:28:16 +01:00
Michaël Van Canneyt
b907920ef3 * Patch from Laco to add TSingleField
(cherry picked from commit c46b45bf72)
2023-12-16 14:28:10 +01:00
Michaël Van Canneyt
7d3836fefc * Patch from Werner Pamler to fix issue #39544
(cherry picked from commit 7b3ef85d2f)
2023-12-16 14:28:01 +01:00
Michaël Van Canneyt
d5cf7d02ac * Patch from Laco to add tests
(cherry picked from commit 6cc82086a9)
2023-12-16 14:27:53 +01:00
Michaël Van Canneyt
6337d59160 * AsString takes into account empty true or false. Fix issue #39371
(cherry picked from commit fecc6db4c2)
2023-12-16 14:27:46 +01:00
Michaël Van Canneyt
c2a86a9bc8 * Displayvalues can omit false part. Fix issue #39371
(cherry picked from commit d9996607b8)
2023-12-16 14:27:36 +01:00
Lacak
6866b3f19f * Patch from Laco, implementing several new properties and extendedfield. to fix issue #39521
(cherry picked from commit bde7b73a3e)
2023-12-16 14:27:29 +01:00
Michaël Van Canneyt
fc7e4e8429 * Patch from Werner Pamler to fix issue #39493
(cherry picked from commit 8ee49ef930)
2023-12-16 14:27:18 +01:00
Michaël Van Canneyt
7e64029aff * Patch from Werner Pamler to fix some errors in JSON export
(cherry picked from commit a868a45ba9)
2023-12-16 14:27:04 +01:00
Michaël Van Canneyt
4d0ed80780 * Attempt to fix failing cross-compilation, remove unused dll
(cherry picked from commit a9b4fa5ed4)
2023-12-16 14:26:57 +01:00
Michaël Van Canneyt
b8ac68a657 * Fix by Werner Pamler for issue #39436
(cherry picked from commit 2052049e74)
2023-12-16 14:26:50 +01:00
florian
7af4034db3 * patch by Frank Rademakers: Initialize new FoxPro Float fields correctly, resolves #39418
(cherry picked from commit 8ca19a3b65)
2023-12-16 14:26:42 +01:00
Michaël Van Canneyt
ee9fba01ba * Fix issue #39342, after exception in doapplyupdates, res is not valid
(cherry picked from commit 06b659f787)
2023-12-16 14:26:35 +01:00
Michaël Van Canneyt
10e052a579 * Correct reader signatures
(cherry picked from commit 25e937b0c9)
2023-12-16 14:26:21 +01:00
Michaël Van Canneyt
97cba6bbdf * cast empty string to char no longer compiles
(cherry picked from commit 2f81580e04)
2023-12-16 14:26:14 +01:00
Michaël Van Canneyt
a8393a31c0 * Rework packet handling
(cherry picked from commit 776790d014)
2023-12-16 14:26:08 +01:00
Michaël Van Canneyt
99883c8e1d * Fix error in calclookupvalue
(cherry picked from commit 3cfec8f905)
2023-12-16 14:26:01 +01:00
michael
9b3d29899f * Enable TDatasource.Enabled, patch from Laco
git-svn-id: trunk@49630 -
(cherry picked from commit c48ac0a71e)
2023-12-16 14:25:54 +01:00
ondrej
4c736d8a24 fpSQLParser: fix float literal parsing (make it locale-independent)
git-svn-id: trunk@49564 -
(cherry picked from commit 48f259589b)
2023-12-16 14:25:46 +01:00
michael
3c618da545 * Fix issue #39009, remove size 20 limit on float types
git-svn-id: trunk@49507 -
(cherry picked from commit f3e7d96053)
2023-12-16 14:23:03 +01:00
ondrej
0c5cd7bfaa odbc: fix comments
git-svn-id: trunk@49471 -
(cherry picked from commit d2e2ac5181)
2023-12-16 14:22:50 +01:00
ondrej
40e88bb732 odbc: use ftMemo/ftWideMemo for SQL_VARCHAR/SQL_WVARCHAR declared as nvarchar(max)
git-svn-id: trunk@49470 -
(cherry picked from commit 3fa35f258b)
2023-12-16 14:22:36 +01:00
lacak
340d7d1308 fcl-db: return default values for (published) properties where getters are not implemented yet.
git-svn-id: trunk@49238 -
(cherry picked from commit d7bef47c24)
2023-12-16 14:22:27 +01:00
lacak
d32f2867f5 fcl-db: Introduce TObjectField and TArrayField. Only essential interface parts (added new objects, new properties and methods according to Delphi documentation).
There is no implementation of methods in fields.inc and dataset.inc.
Only references to Delphi documentation is added as comments. These comments should be deleted after implementation.

git-svn-id: trunk@49188 -
(cherry picked from commit 5d81c6c43b)
2023-12-16 14:22:18 +01:00
michael
bf49538a0f * Apparently, taking code from freeclx is not OK
git-svn-id: trunk@49091 -
(cherry picked from commit a8df728548)
2023-12-16 14:22:04 +01:00
lacak
24e680d510 fcl-db: Introduce TArrayField. Only essential parts (added new object properties according to Delphi documentation). Some code taken from FreeCLX project (https://sourceforge.net/projects/freeclx/)
git-svn-id: trunk@49085 -
(cherry picked from commit 89fc5b7f8d)
2023-12-16 14:21:55 +01:00
lacak
da028ae8fa fcl-db: Introduce TObjectField. Only essential parts (added new object properties according to Delphi documentation)
git-svn-id: trunk@49083 -
(cherry picked from commit 803402b225)
2023-12-16 14:21:49 +01:00
lacak
198acd29f9 fcl-db: Introduce TObjectField. Only essential parts (added new object properties according to Delphi documentation). Some code taken from FreeCLX project (https://sourceforge.net/projects/freeclx/)
git-svn-id: trunk@49082 -
(cherry picked from commit f517d21507)
2023-12-16 14:21:32 +01:00
ondrej
bfe83a3a87 fcl-db: odbc: make TODBCCursor.STMTHandle and ODBCSuccess public
git-svn-id: trunk@49056 -
(cherry picked from commit 1ad9091763)
2023-12-16 14:21:25 +01:00
ondrej
a4866c5c65 fcl-db: odbc: partially revert #49049
git-svn-id: trunk@49051 -
(cherry picked from commit 6b0d010a67)
2023-12-16 14:21:18 +01:00
ondrej
35da09230a fcl-db: odbc: go to first selectable result. issue #38664
git-svn-id: trunk@49049 -
(cherry picked from commit fa0b053b21)
2023-12-16 14:21:11 +01:00
ondrej
2338aa4d5e pqconnection: refactoring - use variable
git-svn-id: trunk@49011 -
(cherry picked from commit 28e359f091)
2023-12-16 14:21:04 +01:00
ondrej
cc3a46b9e1 pqconnection: support ftVarBytes parameters (TParam.SetAsBytes)
git-svn-id: trunk@49010 -
(cherry picked from commit 72fc981c7f)
2023-12-16 14:20:55 +01:00
michael
64d6655f5b * Fix compilation, additional mysql
git-svn-id: trunk@48710 -
(cherry picked from commit 22ad12d5b7)
2023-12-16 14:20:49 +01:00
michael
c2edb12ac1 * Fix issue ID #38358
git-svn-id: trunk@48409 -
(cherry picked from commit 6bdd7dc3b9)
2023-12-16 14:20:38 +01:00
michael
4620cd07a3 * Patch from Laco to fix bug ID #37849
git-svn-id: trunk@48381 -
(cherry picked from commit 67a3af29a0)
2023-12-16 14:20:23 +01:00
michael
4351d2a62d * Add Port to SQLConnector
git-svn-id: trunk@48358 -
(cherry picked from commit 25e2f29e01)
2023-12-16 14:19:41 +01:00
michael
74cd768246 * Only set cursor name for selectable queries
git-svn-id: trunk@47643 -
(cherry picked from commit a82ac3fb6a)
2023-12-16 14:14:43 +01:00
michael
c80ee7d794 * Allow for async apply updates
git-svn-id: trunk@47641 -
(cherry picked from commit a9e7d1ef0d)
2023-12-16 14:14:34 +01:00
ondrej
dfbed51167 * fcl-db: PQConnection needs a lowercase port param
git-svn-id: trunk@47607 -
(cherry picked from commit 63a231a93d)
2023-12-16 14:14:26 +01:00