Commit Graph

618 Commits

Author SHA1 Message Date
joost
366a8dd966 * Added test for ftTime fields
* Fixed problem with ftTime field values that exceed 24 hours (odbc)

git-svn-id: trunk@17000 -
2011-02-24 22:15:46 +00:00
joost
83b0940628 * TFieldDef.Size for strings should contain the max. number of bytes in the string, without the trailing zero. Bug #17268
git-svn-id: trunk@16988 -
2011-02-23 21:40:37 +00:00
joost
a3ebc51add * BCD-Variant support is now implemented, use it.
git-svn-id: trunk@16980 -
2011-02-22 21:46:41 +00:00
joost
f496f3c795 * Fixed support of TFmtBcd fields for sqlite3, bug #16853
* Cleaned up accidentally comitted files in r16948

git-svn-id: trunk@16954 -
2011-02-20 18:22:06 +00:00
joost
41342ab54f * Accidentally comitted files, trying to apply patch from Ladislav Karrach to
implement TFmtBCD fields, bug #16853. Has to be cleaned up later

git-svn-id: trunk@16948 -
2011-02-20 12:31:16 +00:00
marco
d3afac1736 * TGraphics header size was subtracted from non TGraphic blobs ,
Mantis 18712, patch by Erwin v/d Bosch.

git-svn-id: trunk@16917 -
2011-02-15 08:42:54 +00:00
joost
76b53866c0 * Use 'BIGINT'to test largeintfields by default, bug #18649
* Added TestSQLLargeint test, to check for fields which are defined as 'LARGEINT'

git-svn-id: trunk@16882 -
2011-02-06 14:09:12 +00:00
marco
aad696166d * twidestringfield.setfieldtype, mantis 18663, patch by Ladislav
git-svn-id: trunk@16871 -
2011-02-03 08:08:47 +00:00
joost
d6adcdfe81 * Patch from Ladislav Karrach to use a field's type-affinity to determine the fieldtype. (Fixes aggregate test)
git-svn-id: trunk@16857 -
2011-01-30 21:05:56 +00:00
joost
2ba53fb6d6 * Added support for ftMemo-params in TSQLite3Conn
git-svn-id: trunk@16855 -
2011-01-30 19:24:08 +00:00
joost
5fc605df60 * Added recognition of CLOB fields to TSqlite3Conn + test, bug #17004
git-svn-id: trunk@16853 -
2011-01-30 17:50:18 +00:00
michael
774978a687 * Minor code cleanup suggested by LacaK <lacak@zoznam.sk>
git-svn-id: trunk@16776 -
2011-01-18 09:31:49 +00:00
michael
ae380229b6 * Applied patch from bug #16493
git-svn-id: trunk@16775 -
2011-01-18 08:36:09 +00:00
marco
cd4425aa58 * patch from Lacak2, use dbconst for errormessage, mantis #0018161
git-svn-id: trunk@16602 -
2010-12-20 15:51:39 +00:00
michael
c7fe965f2c Fix for 18239
git-svn-id: trunk@16577 -
2010-12-17 11:15:13 +00:00
michael
413dcde4aa * Made used SQLLite library name configurable
git-svn-id: trunk@16500 -
2010-12-03 08:59:20 +00:00
michael
627bc7f73b * Forgot to commit constants used in sqldb logging
git-svn-id: trunk@16499 -
2010-12-03 08:37:03 +00:00
michael
0ca7ca5517 * Logging facilities implemented
git-svn-id: trunk@16498 -
2010-12-02 17:35:42 +00:00
michael
43b6b58ea3 * Fix by Graeme Geldenhuys: map blob subtype 1 to ftMemo
git-svn-id: trunk@16444 -
2010-11-26 12:48:00 +00:00
marco
3b7bb9da6a * using value instead of avalue does not properly set bound because getvalueasvariant
returns 0.0 if isnull. Mantis 17819, patch from Martin Schreiber.

git-svn-id: trunk@16392 -
2010-11-21 14:46:26 +00:00
joost
c4cd67c782 * Set the version in the Makefile.fpc from the fcl-db sub package base so that
a Package.fpc is generated. There is no Package.fpc generated for the main
   fcl-db package because there are no ppu-files generated. A Package.fpc (even
   if it is invalid) is necessary for fpmake to detect the fcl-db installation.

git-svn-id: trunk@16340 -
2010-11-13 20:47:01 +00:00
michael
054d2b71a2 * Fixed SetInsertSQL/SetDeleteSQL
git-svn-id: trunk@16295 -
2010-11-02 09:46:07 +00:00
joost
ef8837cfa8 * Patch from José Mejuto so that TBufDataset.SetRecNo takes the active index into account, bug #15460
git-svn-id: trunk@16257 -
2010-10-29 19:13:42 +00:00
michael
1bc555dc53 * TBlobField.SaveToStream() should check whether CreateBlobStream actually creates a stream
git-svn-id: trunk@16219 -
2010-10-25 09:55:43 +00:00
michael
a723c86cb1 * Mark blob parameters as binary
git-svn-id: trunk@16207 -
2010-10-23 14:09:59 +00:00
michael
f5072a3816 * Fixed blob parameter support
git-svn-id: trunk@16203 -
2010-10-23 11:04:59 +00:00
michael
b3598929f6 * Fixed largeint parameter problem
git-svn-id: trunk@16197 -
2010-10-22 09:20:27 +00:00
mazen
b127fc154a * Fixed spell error revealed by lintian.
git-svn-id: trunk@16094 -
2010-10-06 20:33:57 +00:00
Jonas Maebe
8b0301409a + i386/iphonesim target for the new iPhoneSimulator in Xcode 3.2.4 and
later: the same as i386/darwin, except
      a) uses the non-fragile Objective-C ABI/runtime
      b) does not require stubs for direct calls/jumps (not required for
         i386/darwin under 10.6 and later either, but still generated
         there for backwards compatibility)
      c) only the same packages are enabled as for ARM/Darwin
      d) MacOSAll is compiled specifically for the iPhoneSimulator SDK
    This target also defines the symbol "darwin" apart from the target
    name "iphonesim" for source code compatibility reasons.

git-svn-id: trunk@16065 -
2010-09-29 21:56:47 +00:00
michael
3d148c48ea * Attempt at MySQL 5.1 connection
git-svn-id: trunk@15980 -
2010-09-14 10:10:31 +00:00
michael
6df8ec1ce8 * Added tests for Grant/Revoke, fixed some bugs on the way
git-svn-id: trunk@15942 -
2010-09-03 17:01:01 +00:00
michael
04bd5e208b * Fixed bug #15939
git-svn-id: trunk@15856 -
2010-08-19 17:49:40 +00:00
michael
4c7f9238c7 * SQL parser
git-svn-id: trunk@15832 -
2010-08-16 23:13:24 +00:00
blikblum
50861d26ab * Do not change SQL property value internally. Use instead a separated field (FEffectiveSQL)
git-svn-id: trunk@15686 -
2010-08-01 14:13:51 +00:00
joost
37eed41c52 * Map blob to SQL_LONGVARBINARY, MS SQL has a maximum of 8000 bytes for SQL_BINARY types, bug #14907
git-svn-id: trunk@15507 -
2010-07-01 15:50:17 +00:00
joost
64c824cd86 * Make sure that fixed width parameters are really ftFixedChar
git-svn-id: trunk@15506 -
2010-07-01 15:44:21 +00:00
joost
57e39c37ae * Added ability to specify fieldname-quote chars for tests. Usefull for ODBC where these chars can differ
git-svn-id: trunk@15505 -
2010-07-01 15:21:46 +00:00
blikblum
1bf2cfd5e8 * Set Datasize for the unrecognized field types
git-svn-id: trunk@15503 -
2010-06-30 20:25:25 +00:00
joost
32fd85f17e * Revert accidentally commited files in r15499
git-svn-id: trunk@15500 -
2010-06-30 18:32:25 +00:00
joost
f016c79d7a * Patch from Luiz Americo to fix a double pathdelim in filename, bug #16737
git-svn-id: trunk@15499 -
2010-06-30 18:29:41 +00:00
joost
c58e26e25a * Implemented GetTableNames, systemtables=true, bug #13893, by Ladislav Karrach
git-svn-id: trunk@15498 -
2010-06-30 18:17:27 +00:00
joost
01f11e8ada * Set defailt value for UniDirectional
git-svn-id: trunk@15489 -
2010-06-28 19:17:52 +00:00
michael
8d84ac54ca * Added easy access function for params
git-svn-id: trunk@15471 -
2010-06-22 11:48:31 +00:00
joost
fede03c225 * Fixed for query-results with double fieldnames
git-svn-id: trunk@15433 -
2010-06-13 19:47:25 +00:00
joost
4e9fc5fadb * Support for ftFixedChar parameter
* Use SQL_VARCHAR instead of SQL_LONGVARCHAR, bug #14907, based on patch from Ladislav Karrach

git-svn-id: trunk@15431 -
2010-06-13 19:37:59 +00:00
joost
81c3db6679 * Implemented TField.Editmask by Luiz Americo, bug #16555
git-svn-id: trunk@15425 -
2010-06-13 13:26:55 +00:00
joost
04773d35b9 * Use resourcestring for error message
git-svn-id: trunk@15423 -
2010-06-13 13:18:22 +00:00
joost
6a6ab2a392 * Call TDatalink.LayoutChanged when controls are disabled and dataset closed/opened. Bug #16428 + test
git-svn-id: trunk@15422 -
2010-06-13 12:26:50 +00:00
joost
4b58890d90 * Implemented usage of mysql connection params, see bug #16568
git-svn-id: trunk@15418 -
2010-06-13 10:56:10 +00:00
joost
87555e084a * Splitted up TCustomBufDataset tests from more general tests
git-svn-id: trunk@15413 -
2010-06-12 16:37:35 +00:00