Michaël Van Canneyt
c46b45bf72
* Patch from Laco to add TSingleField
2022-02-14 09:15:43 +01:00
Michaël Van Canneyt
6cc82086a9
* Patch from Laco to add tests
2022-01-14 15:41:48 +01:00
michael
22ad12d5b7
* Fix compilation, additional mysql
...
git-svn-id: trunk@48710 -
2021-02-18 15:09:04 +00:00
michael
0b8f98ab24
* Patch from Mattias Gaertner to add MySQL 8.0 support
...
git-svn-id: trunk@48692 -
2021-02-17 12:59:32 +00:00
lacak
78e7ea6fbf
fcl-db: mysql: use new ftLongWord for INT UNSIGNED fields. Bug #37979
...
git-svn-id: trunk@47237 -
2020-10-28 14:32:20 +00:00
lacak
d68ce429ab
fcl-db: base: add some of new Delphi field types into enumeration TFieldType
...
(ftOraTimeStamp, ftOraInterval, ftLongWord, ftShortint, ftByte, ftExtended)
git-svn-id: trunk@47217 -
2020-10-27 10:01:30 +00:00
lacak
6f09188d24
fcl-db: mssql: GUID values should be wrapped by {} + test
...
git-svn-id: trunk@46355 -
2020-08-11 06:50:31 +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
lacak
815172ac47
fcl-db: tests: test DATE and TIME data types for Sybase and MS SQL Server (requires version >= 2008)
...
git-svn-id: trunk@39011 -
2018-05-17 10:07:07 +00:00
lacak
0a72573e02
fcl-db: tests: Add support for "CharSet" configuration option (specified in database.ini)
...
git-svn-id: trunk@34093 -
2016-07-11 07:40:38 +00:00
lacak
8e2ac164f8
fcl-db: tests: preparation for BOOLEAN data type tests for Firebird 3
...
git-svn-id: trunk@33666 -
2016-05-10 13:37:23 +00:00
lacak
5f17bcbc97
fcl-db: tests: cosmetic
...
git-svn-id: trunk@33080 -
2016-02-10 11:28:10 +00:00
lacak
61c451b391
fcl-db: mysql: add MySQL57Connection. Requires rev.31218.
...
(Tested with MySQL Server 5.7.7 RC)
git-svn-id: trunk@31220 -
2015-07-23 10:27:29 +00:00
lacak
85142e88f0
fcl-db: tests: add case for SQLite into TryDropIfExists. Fixes bug introduced in rev.29109
...
git-svn-id: trunk@29170 -
2014-11-28 09:54:03 +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
a441768941
* Case insensitive table name for firebird
...
git-svn-id: trunk@29122 -
2014-11-23 14:58:51 +00:00
michael
6b32a6e0e5
* Transaction options and connection options
...
git-svn-id: trunk@29109 -
2014-11-22 16:28:09 +00:00
lacak
00f85c52ab
fcl-db: oracle:
...
- for ftBlob parameters binding use temporary LOBs instead of long varraw to bypass 64KB limit of current implementation
- initial support for NCLOB data type (if client uses for NCHAR "variable width" charset (like UTF-8) then there is character length <> byte length which is currently not handled correctly)
git-svn-id: trunk@28286 -
2014-08-01 05:48:24 +00:00
lacak
af2130d558
fcl-db: tests: add more data type mappings for Oracle
...
git-svn-id: trunk@28012 -
2014-06-20 11:55:58 +00:00
lacak
62782f1904
fcl-db: tests: some tests expects, that GetNDataset (FPDEV table) returns records ordered by ID. In some cases when in test record is updated (f.e. TestRefresh) this record appears at end when dataset is reopened.
...
(ATM this is case of PostgreSQL only, where 2 tests fails - false negative)
git-svn-id: trunk@27843 -
2014-06-02 10:36:41 +00:00
lacak
2d785d1035
fcl-db: tests: add comment for SQLite why some test for exact numeric (currency) values, which can not be expressed lossless as double, fail.
...
Add to testCurrencyValues, also value with decimal point which can be expressed lossless as double.
git-svn-id: trunk@27668 -
2014-04-26 16:55:39 +00:00
reiniero
87f7cf715e
* fcl-db: cosmetic: improve documentation for TFieldType array members
...
git-svn-id: trunk@27659 -
2014-04-26 10:07:12 +00:00
lacak
2be706dbb0
fcl-db: tests: as MS SQL Server does not support for datetime times beyond 23:59:59.997 use this value instead of 23:59:59.999 introduced in rev.27522
...
git-svn-id: trunk@27640 -
2014-04-23 12:18:22 +00:00
lacak
c8ecf2eecd
fcl-db: tests: Add MS SQL Server to list of servers, which do not support TIME data type >= '24:00:00'
...
git-svn-id: trunk@27522 -
2014-04-11 08:37:55 +00:00
reiniero
b2813cc627
fcl-db: cosmetic:
...
* Rename deceptively named GetLogEvent
* Typos
git-svn-id: trunk@27407 -
2014-03-31 09:54: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
reiniero
f7a7701f5c
fcl-db: cosmetic
...
git-svn-id: trunk@27252 -
2014-03-24 07:36:20 +00:00
reiniero
62f8792cb5
fcl-db: dbtestframework:
...
* Sybase: improve compatibility; instructions for test db required settings
git-svn-id: trunk@27220 -
2014-03-21 12:32:33 +00:00
reiniero
fb8cbfdc92
fcl-db: dbtestframework: cosmetic
...
git-svn-id: trunk@27145 -
2014-03-15 14:24:53 +00:00
lacak
02551d7129
fcl-db: tests: PostgreSQL stores unquoted identifiers in lower-case which is not compliant with SQL standard.
...
(and causes some tests fail)
Introduce sql server type identifier char case formating function.
git-svn-id: trunk@27129 -
2014-03-14 07:23:08 +00:00
lacak
0b56c2e237
fcl-db: tests: add STRICT_TABLES for MySQL sql_mode (required for correct tests behavior) + cosmetic
...
git-svn-id: trunk@27112 -
2014-03-12 08:24:58 +00:00
lacak
d440a05301
fcl-db: tests: pre-set testing environment for MySQL, MSSQL
...
git-svn-id: trunk@27095 -
2014-03-11 13:57:41 +00:00
reiniero
18ae2b20df
fcl-db: dbtestframework:
...
* mssql server: improve results by setting ANSI_PADDING to ON when connecting.
See http://msdn.microsoft.com/en-us/library/ms187403.aspx
git-svn-id: trunk@27020 -
2014-03-07 10:26:06 +00:00
reiniero
7f93de8697
fcl-db: dbtestframework
...
* refine r26950: only use SET ANSI_NULL_DFLT_ON ON for MS SQL Server; Sybase ASE does not support it.
git-svn-id: trunk@27019 -
2014-03-07 09:30:54 +00:00
reiniero
b87b2add38
fcl-db: dbtestframework:
...
* Fix dbf export test column name collisions; fixes "field not found" when exporting
git-svn-id: trunk@26967 -
2014-03-06 12:40:32 +00:00
reiniero
0ec6a79505
fcl-db: dbtestframework: MS SQL Server:
...
* Create tables allowing NULL values for non-primary keys
* Increase blob size per documentation in order to support large blobs
git-svn-id: trunk@26950 -
2014-03-04 13:08:33 +00:00
reiniero
8e28dd52b4
fcl-db: dbtestframework:
...
- revert functional changes of previous commit: better deal with NULL setting via connection/session or database level:
http://msdn.microsoft.com/en-us/library/ms174979.aspx
git-svn-id: trunk@26949 -
2014-03-04 12:46:56 +00:00
reiniero
3eb1edb749
fcl-db: dbtestframework: start work on MS SQL tests.
...
* Create FPDEV_FIELD table with columns that accept null values for non-primary key.
git-svn-id: trunk@26948 -
2014-03-04 12:13:46 +00:00
reiniero
cb9c15a256
fcl-db: dbtestframework:
...
* Cosmetic: Oracle, MySQL drop table command convenience call
git-svn-id: trunk@26937 -
2014-03-03 12:25:31 +00:00
reiniero
acd53636ed
fcl-db: dbtestframework, Oracle:
...
* Fix for Oracle not accepting string literals in INSERT INTO statement for BLOB fields.
Use hex encoding instead.
Note: probably will have to review BLOB .AsString code in Oracle connector as well
git-svn-id: trunk@26902 -
2014-02-28 10:04:51 +00:00
reiniero
f3b7a7ad2e
fcl-db: dbtestframework, Oracle:
...
* Fix for Oracle can't handle time hours > 23:
ORA-01850: hour must be between 0 and 23
git-svn-id: trunk@26901 -
2014-02-27 16:59:39 +00:00
reiniero
2d8ea638b3
fcl-db: dbtestframework, Oracle:
...
* ftLargeint requires NUMBER(19,0) instead of NUMBER(18,0)/NUMERIC(18,0) in order to cater for entire largeint range:
see
http://docs.oracle.com/cd/B19306_01/server.102/b14232/apb.htm
* Oracle ftdate/ftdatetime/ftTime require date/timestamp literals:
e.g.
DATE '2000-01-01',
TIMESTAMP '0001-01-01 10:45:12.000',
See
SQL Reference 10g Release 2
http://docs.oracle.com/cd/B19306_01/server.102/b14200/sql_elements003.htm#BABGIGCJ
git-svn-id: trunk@26900 -
2014-02-27 16:45:31 +00:00
reiniero
1bd35f5655
fcl-db: dbtestframework:
...
* Fix Oracle tests erroring creating FPDEV_FIELD: no support for BIGINT datatype; substitute NUMERIC(18,0) as is done for Firebird.
git-svn-id: trunk@26884 -
2014-02-26 11:04:18 +00:00
lacak
29ddc3f688
fcl-db: mysql: add support for MySQL 5.6
...
git-svn-id: trunk@26197 -
2013-12-08 09:44:46 +00:00
lacak
4817a0e670
fcl-db: tests: it seems, that Sybase ASE does not have NTEXT data type; so comment it for now; update for rev.25372
...
git-svn-id: trunk@25376 -
2013-08-27 05:57:17 +00:00
lacak
279587a278
fcl-db: tests: add more field types to FieldDataSet
...
git-svn-id: trunk@25372 -
2013-08-26 12:42:53 +00:00
reiniero
e7b833bd1b
sqldb: tests: clean up forms so database.ini editor is in main form
...
git-svn-id: trunk@25327 -
2013-08-22 11:07:39 +00:00
lacak
7a46ebd7f1
fcl-db: odbc: map UNSIGNED SMALLINT to ftWord fields. TestSupportWordFields
...
git-svn-id: trunk@25032 -
2013-07-03 08:24:51 +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
michael
98c9425c8b
* Fix memory leaks in tests
...
git-svn-id: trunk@24770 -
2013-06-02 13:14:41 +00:00