michael
24ea912ff5
* Patch from Luiz Americo to implement SQL_NULL params on firebird (bug ID 37646)
...
git-svn-id: trunk@46756 -
2020-09-03 09:40:44 +00:00
michael
b2957b92f4
* Fix bug #0036461 , parameters not correctly refreshed in Mysql
...
git-svn-id: trunk@43702 -
2019-12-20 16:28:42 +00:00
michael
147a766890
* Indicate and use sqSequences connection info, fix bug #0035241 (statement for sqlite next sequence value)
...
git-svn-id: trunk@43655 -
2019-12-06 09:57:10 +00:00
michael
0ce71294ea
* Fix Bug ID #0033025 : Prepare should be called only once for repeated use
...
git-svn-id: trunk@43024 -
2019-09-17 09:38:17 +00:00
michael
15f999bcce
* Implement macro support, by Zdravko Gabrovski (Bug ID 36057)
...
git-svn-id: trunk@43001 -
2019-09-15 10:13:20 +00:00
lacak
475fed4e9a
fcl-db: sqldb: when parsing identifiers (TableName) take into account delimited identifiers (double quoted) separated by point + test. Bug #34511
...
git-svn-id: trunk@40240 -
2018-11-06 13:46:37 +00:00
lacak
35f6cbfbae
fcl-db: tests: improve test for RefreshOnUpdate using returning clause.
...
When more than one record is updated then only fields in first record are correctly refreshed. Related to rev.30796 (which closes one bug, but opens other)
git-svn-id: trunk@30797 -
2015-05-04 12:01:26 +00:00
lacak
93802cf5ee
fcl-db: tests: Follow rev.30691 (Renamed sqoPreferRefresh to sqoRefreshUsingSelect) Bug #28017
...
git-svn-id: trunk@30795 -
2015-05-04 08:15:39 +00:00
michael
9a807bdfe3
* Implemented RETURNING clause as a way of updating fields
...
git-svn-id: trunk@30463 -
2015-04-06 13:20:30 +00:00
michael
743324f72b
* Patch from Laco with minor modification from bug ID #27251
...
git-svn-id: trunk@30291 -
2015-03-23 16:37:51 +00:00
lacak
2a2078e7f7
fcl-db: odbc: implements RefreshLastInsertID for autoincrementing columns.
...
Bug #16076
git-svn-id: trunk@29751 -
2015-02-18 11:02:07 +00:00
lacak
0b545308d7
fcl-db: base: when master dataset is closed leave detail dataset intact. Later if master is reopened relationship will work again. Delphi compatible behavior. Bug #26424 (Grandfather-Father-Son relationship)
...
git-svn-id: trunk@29679 -
2015-02-13 06:42:55 +00:00
lacak
2175dd1403
fcl-db: tests: cosmetic
...
git-svn-id: trunk@29480 -
2015-01-16 13:17:36 +00:00
lacak
e8c40ee106
fcl-db: tests: rename test tables to "FPDEV2", which is automatically cleaned up upon test completion.
...
git-svn-id: trunk@29462 -
2015-01-13 12:04:55 +00:00
lacak
d033c7e122
fcl-db: tests: cosmetic + correct typos
...
git-svn-id: trunk@29451 -
2015-01-12 13:59:17 +00:00
lacak
9fba59b3bc
fcl-db:
...
- base: added new TDataSetState: dsRefreshFields used in refreshing field between local TBufDataSet and remote DB during process of applying updates.
- mssql: implemented RefreshLastInsertID + test
git-svn-id: trunk@29443 -
2015-01-12 09:00:37 +00:00
lacak
6c10d2ddad
fcl-db: sqlite: map INTEGER PRIMARY KEY columns (ROWID) to TAutoIncField (as part of adding support for Refreshing AutoInc fields)
...
Update tests (use as test table FPDEV2, which is automatically removed at end of test, remove unused variables)
git-svn-id: trunk@29243 -
2014-12-10 07:31:58 +00:00
lacak
0d4be3fb37
fcl-db: tests: change TestAutoCommit test to not use multiple transactions, as this results in "false negative" for SQL Connections, which does not support multiple simultaneous transactions
...
git-svn-id: trunk@29194 -
2014-12-03 09:21:25 +00:00
lacak
544fe162c1
fcl-db: tests: quick fix for test for MSSQL server, which do not support overlapping or nested transactions
...
git-svn-id: trunk@29190 -
2014-12-01 13:46:40 +00:00
michael
6d5622aca3
* Implemented RefreshSQL and fetching value for AutoInc fields
...
git-svn-id: trunk@29183 -
2014-11-29 20:29:52 +00:00
lacak
9f730c9831
fcl-db: sqldb: rename some of new types as discussed in DB-Core
...
git-svn-id: trunk@29143 -
2014-11-24 13:13:47 +00:00
michael
411e798495
* AutoCommit option
...
git-svn-id: trunk@29121 -
2014-11-23 14:58:26 +00:00
michael
f00212c993
* Fix+Test for bug #27068 : coCheckRowsAffected
...
git-svn-id: trunk@29113 -
2014-11-22 19:40:11 +00:00
michael
6b32a6e0e5
* Transaction options and connection options
...
git-svn-id: trunk@29109 -
2014-11-22 16:28:09 +00:00
michael
a53fca1b67
* QueryOptions for disconnected mode and autoapplyupdates
...
git-svn-id: trunk@29088 -
2014-11-17 12:24:46 +00:00
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
e55332ab6f
fcl-db: tests:
...
- add prefix "FPDEV_" for all objects, which are used in tests
- enclose TestValue in single quotes, when used in INSERT
- add statement terminator after directive COMMIT
- use Commit instead of CommitDDL when droping table
git-svn-id: trunk@26143 -
2013-11-27 12:44:35 +00:00
reiniero
15152a2045
* fcl-db: TSQLScript tests for issue #25334 , probably issue #17829
...
cosmetic: move comments in database.ini.txt so GUI ini editor won't mess up comments
cosmetic: readme.txt fixed old variable name
git-svn-id: trunk@26118 -
2013-11-21 12:05:12 +00:00
lacak
35f74e86ad
fcl-db: tests: Add test for Master-detail (see rev.25055)
...
git-svn-id: trunk@25065 -
2013-07-08 11:50:15 +00:00
lacak
a12a94eaff
fcl-db: tests: move 1 test
...
git-svn-id: trunk@25064 -
2013-07-08 11:06:56 +00:00
lacak
f95f42d72b
fcl-db: tests: introduce TDBBasicsTestCase as ancestor for other test cases (call DBConnector.StartTest and StopTest from him)
...
git-svn-id: trunk@24888 -
2013-06-13 11:46:42 +00:00
lacak
ee2fee4259
fcl-db: sqldb:
...
- handle quoted table names when retrieving server index informations for quoted TableName
- reset updated flag of ServerIndexDefs when SQL.Text changes
- new tests unit for sqlDB
- tested for FB, MSSQL, MySQL, PostgreSQL, Sqlite, odbc_MSSQL, odbc_PostgreSQL, odbc_Firebird, odbc_MySQL
git-svn-id: trunk@24880 -
2013-06-12 11:01:59 +00:00