Commit Graph

631 Commits

Author SHA1 Message Date
michael
d22edd8e15 * ONChange removed from field, TDatset Descendents must do it
git-svn-id: trunk@17243 -
2011-04-04 13:22:29 +00:00
michael
1c0c6656f3 * Fixed some tests for firebird
git-svn-id: trunk@17222 -
2011-04-02 10:47:00 +00:00
michael
e8cf8e4177 * Added OnValidate event support (17510)
git-svn-id: trunk@17220 -
2011-04-02 10:36:48 +00:00
michael
ee461becfb * Fix for 19018
git-svn-id: trunk@17205 -
2011-03-29 11:15:41 +00:00
michael
9a0873d471 * Fixed bug #19008
git-svn-id: trunk@17199 -
2011-03-28 09:00:31 +00:00
joost
ad52fe0f23 * BigInt is already set by default since r16882
git-svn-id: trunk@17196 -
2011-03-27 16:19:36 +00:00
joost
8b8456aed6 * Added mysql51-connection type to testsuite
git-svn-id: trunk@17195 -
2011-03-27 16:08:55 +00:00
joost
7fd29b3133 * Use new BcdToStf(f) functions, bug #18988
git-svn-id: trunk@17194 -
2011-03-27 15:17:17 +00:00
joost
e21bf87bc2 * Better fix for mantis 17661, see r17077
git-svn-id: trunk@17179 -
2011-03-25 18:11:58 +00:00
marco
75cdb5b244 * fixed minor logic errors in pqconnection that lead to double free (actually pqclear()). Mantis 17784 by Andrew Brunner
git-svn-id: trunk@17078 -
2011-03-05 00:32:48 +00:00
marco
d08662c1ba * expanded a ifdef mysql50 to 5.0 and 5.1. Mantis 0017661
git-svn-id: trunk@17077 -
2011-03-05 00:25:10 +00:00
marco
9a722411ab * patch from Paul for further vista/win64 API enhancements (mantis 17958)
git-svn-id: trunk@17076 -
2011-03-05 00:11:20 +00:00
marco
448e708fd7 * fix from mantis 17308 "memds" misses ftFixedChar when cloning a dataset field and ftDateTime when copying data.
git-svn-id: trunk@17075 -
2011-03-05 00:07:31 +00:00
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