Commit Graph

586 Commits

Author SHA1 Message Date
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
joost
354122a8c5 * Partially support for autoincrement columns for ODBC, patch from Ladislav Karrach, bug #16076
git-svn-id: trunk@15237 -
2010-05-06 14:46:31 +00:00
joost
ba47f2f4a1 * TBufDataset.Locate now takes active index into account, bug #14979
git-svn-id: trunk@15236 -
2010-05-06 14:20:53 +00:00
joost
e3045406f6 * TBufDataset.RecNo now takes active index into account, bug #15460
* Added (commented out) code which can be enabled for debugging purposes
 * Removed unused TBufIndex.Fields property

git-svn-id: trunk@15235 -
2010-05-06 14:01:34 +00:00
joost
b2dc9e6f09 * fpmake fixes
git-svn-id: trunk@15233 -
2010-05-05 20:47:42 +00:00
joost
8ff48e9af1 * Support for ftBoolean and ftWord parameters, based on patch from Ladislav Karrach, bug #14907
git-svn-id: trunk@15232 -
2010-05-05 20:06:14 +00:00
joost
f493a70687 * Raise exception when .locate is called on inactive TBufDataset, bug #13938 + test
git-svn-id: trunk@15231 -
2010-05-05 19:33:54 +00:00
joost
cb92994356 * New property TSQLConnection.FieldNameQuoteChars, these chars (start- and
end -quote) are used around field-names. Parameter-names are always quoted
   using double-quotes, since they are replaced by sqldb for all systems which
   don't use double-quotes as fieldnamequotechars. Bug #12275.

git-svn-id: trunk@15229 -
2010-05-05 17:30:26 +00:00
joost
257145c6c8 * dbwhtml does not have resourcestrings
git-svn-id: trunk@15227 -
2010-05-04 21:28:52 +00:00
joost
722dbaa616 * Patch from Ladislav Karrach (Lacak2) to implement RowsAffected for ODBC, bug #14791
git-svn-id: trunk@15211 -
2010-05-02 21:00:55 +00:00
joost
819958228f * In case the initialization of odbc fails, do not raise exceptions while cleaning up
git-svn-id: trunk@15210 -
2010-05-02 20:18:43 +00:00
joost
ac2cd091e9 * Patch from Ladislav Karrach (Lacak2) to implement TBooleanField.AsInteger, bug #14751
git-svn-id: trunk@15206 -
2010-05-02 16:26:41 +00:00
joost
b7dc7d03b2 * Set TBCDField.ValidChars, bug #16147
git-svn-id: trunk@15205 -
2010-05-02 15:24:58 +00:00
joost
f9616640d8 * Proper checks for null-values when comparing fields + tests
git-svn-id: trunk@15203 -
2010-05-02 14:30:32 +00:00
joost
a4a1cd76e5 * Do only add parentheses when necessary for filtering. So that when the
query parser fails this only leads to problem when the filter is used

git-svn-id: trunk@15199 -
2010-04-28 22:01:15 +00:00
joost
6f148501ca * Test for bug #15456
git-svn-id: trunk@15197 -
2010-04-28 21:18:47 +00:00
joost
6ba6be6b2b * Patch from Ladislav Karrach to parse queries with the limit keyword, bug #15456
git-svn-id: trunk@15196 -
2010-04-28 21:13:23 +00:00
joost
395f1bccb7 * fpmake.pp fixes
git-svn-id: trunk@15183 -
2010-04-26 15:15:45 +00:00