Commit Graph

603 Commits

Author SHA1 Message Date
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
joost
fb3ede2ef7 * Fixed accessing TCustomBufDataset.IndexName and CompareBookmarks from a new instance (bug 16695+adapted test)
git-svn-id: trunk@15412 -
2010-06-12 11:42:38 +00:00
joost
73bfdcf8b8 * Fixed accessing TCustomBufDataset.IndexFieldNames from a new instance (bug 16695 + test)
* Fixed problems when closing a dataset that was opened using the FileName property, when the FileName property was cleared in between

git-svn-id: trunk@15409 -
2010-06-11 15:14:43 +00:00
joost
bf24adf137 * Remove the FileName property from the datasets after the test
git-svn-id: trunk@15394 -
2010-06-05 21:13:36 +00:00
joost
cc700b54b8 * Implemented TBufDataset.UniDirectional property
* Run all tests of TestDBBasics also using UniDirectional TBufDatasets. (Introduces a lot of false failures)

git-svn-id: trunk@15393 -
2010-06-05 20:05:18 +00:00
joost
48567240d0 * Fixed mem-leaks in tests
git-svn-id: trunk@15392 -
2010-06-05 19:04:58 +00:00
joost
7181287ed2 * Added TDBConnector.TestUniDirectional property
git-svn-id: trunk@15389 -
2010-06-05 16:39:53 +00:00
joost
f74bd99413 * Make the dbconnector ref-counted
git-svn-id: trunk@15388 -
2010-06-05 16:24:53 +00:00
joost
c10e229a4b * Moved TDBBasicsTestSetup to toolsunit
git-svn-id: trunk@15373 -
2010-06-04 10:44:08 +00:00
joost
25fd20f055 * Do not use an old connection handle when the connection is reconnected, bug #16438 + test
git-svn-id: trunk@15349 -
2010-05-30 20:09:48 +00:00
joost
73df2c730d * Result all indexes on UpdateIndexDefs, not only the PK. Patch from Ladislav Karrach, bug #16493
git-svn-id: trunk@15325 -
2010-05-25 20:10:44 +00:00
joost
0ca44b1a7e * Added dependencies for sub-packages, bug #16555
git-svn-id: trunk@15324 -
2010-05-25 19:37:28 +00:00
joost
02e04f9ba0 * Use the datasets the filter in TBufDataset.Locate
git-svn-id: trunk@15323 -
2010-05-25 19:21:25 +00:00
joost
c1cd8d04ba * Fixed new test from r15300
git-svn-id: trunk@15301 -
2010-05-21 08:17:30 +00:00
joost
a8ee8cdbb3 * Detect multiple fields in primary key for sqlite + test, bug #16493
git-svn-id: trunk@15300 -
2010-05-20 19:56:48 +00:00
joost
1aa47e7b2f * Test ftBCD fields .asstring
git-svn-id: trunk@15298 -
2010-05-20 18:31:38 +00:00