michael
b4211ee8fb
* GetObjectNames implementation (adapted from Daniel Gaspary, bug ID #26254 )
...
git-svn-id: trunk@32810 -
2015-12-31 14:58:47 +00:00
michael
6a84b02189
* Added SkipClientLibraryCheck option (bug ID 27395)
...
git-svn-id: trunk@32808 -
2015-12-31 14:28:27 +00:00
michael
49fcad5119
* Patch from Luiz Americo to remove redundant field check (is in BindFields) Bug ID #29296
...
git-svn-id: trunk@32807 -
2015-12-31 14:18:04 +00:00
michael
810fdb9d13
* Add sqlscript unit tests to test application
...
git-svn-id: trunk@32801 -
2015-12-30 16:03:15 +00:00
michael
2b2bf19981
* Fix bug in SQL -- comment handling (by Andrea Urbani, bug ID #28333 )
...
git-svn-id: trunk@32800 -
2015-12-30 16:02:52 +00:00
michael
081b6ce8a1
* Fix bug where BindFields does not raise error when a field is not found (Bug ID 28173)
...
git-svn-id: trunk@32796 -
2015-12-30 10:17:44 +00:00
blikblum
adcebe7a8c
sqliteds: set memo conversion procedure in TSqliteDataset
...
git-svn-id: trunk@32755 -
2015-12-27 10:53:33 +00:00
blikblum
e65a6b9e50
sqliteds: fix indentation
...
git-svn-id: trunk@32754 -
2015-12-27 10:53:12 +00:00
blikblum
6189686c6d
sqliteds: Ensure unique names in fielddefs
...
git-svn-id: trunk@32753 -
2015-12-27 10:40:58 +00:00
michael
5ab123883a
* Make sure formatting settings are not used when passing datetime values
...
git-svn-id: trunk@32729 -
2015-12-26 16:08:14 +00:00
lacak
6f9d542d81
fcl-db: sqldb: fixes AV when SQL is empty, Cursor is not allocated yet. Bug #29124
...
git-svn-id: trunk@32566 -
2015-12-02 06:37:49 +00:00
lacak
e0ee5c30bf
fcl-db: bufdataset: add limited support for ftBCD fields in filter parser.
...
As DBF filter/expression parser does not support etBCD type of expression, I have used etFloat type, so I convert currency data type to double data type.
(which can lead in some cases in false results, when currency can not be expressed as double, without loss of precision)
git-svn-id: trunk@32558 -
2015-12-01 07:45:54 +00:00
lacak
124100cde1
fcl-db: sqldb: Propagate ConnOptions from Proxy connection to TSQLConnector.ConnOptions, when ConnectorType changes (not OnInternalConnect, which is late).
...
Attempt to set TSQLTransaction.Options to stoUseImplicit check if TSQLConnection support sqImplicitTransaction.
git-svn-id: trunk@32359 -
2015-11-19 07:25:03 +00:00
marco
a441becb11
* enable mysql 5.7
...
git-svn-id: trunk@32253 -
2015-11-06 10:59:53 +00:00
lacak
e4369ba51b
fcl-db: implement CompareBookmarks in Delphi compatible way.
...
"value less than 0 if Bookmark1 is less than Bookmark2, 0 if the bookmarks are identical, and a value greater than 0 if Bookmark1 is greater than Bookmark2."
Also FPC documentation: "It returns a negative value if Bookmark1 is located before Bookmark2, zero if they refer to the same record, and a positive value if the second bookmark appears before the first bookmark."
Special case is if one of bookmarks is nil:
nil, "not nil" returns 1
"not nil", nil returns -1
Bug #28730
git-svn-id: trunk@32131 -
2015-10-23 08:57:23 +00:00
joost
6926ae8cae
* Fixed some dependencies in fpmake.pp
...
git-svn-id: trunk@32123 -
2015-10-22 17:08:13 +00:00
blikblum
9aa6ea2255
Implement OnFilterRecord
...
git-svn-id: trunk@32093 -
2015-10-18 18:53:47 +00:00
lacak
16b02dcd2b
fcl-db: sqlite: when raising database error retrieve also extended error code and pass it to ESQLDatabaseError exception object.
...
git-svn-id: trunk@32034 -
2015-10-13 05:23:20 +00:00
blikblum
da66980766
Call inherited method in InternalPost (check for required fields)
...
git-svn-id: trunk@31877 -
2015-09-28 18:39:00 +00:00
blikblum
d4a8b7881b
Use FieldValues in Lookup, allowing to retrieve multiple field values
...
git-svn-id: trunk@31876 -
2015-09-28 18:38:52 +00:00
nickysn
02d6f7a2a4
- disabled the win16 target for all packages that don't compile on that platform
...
git-svn-id: trunk@31857 -
2015-09-27 19:32:44 +00:00
blikblum
8414d53e0e
Use StrBufSize to calculate PChar length and properly escape NUL values inside strings. Fixes bug #26443
...
git-svn-id: trunk@31853 -
2015-09-27 17:00:15 +00:00
blikblum
755a6cc776
Remove commented code in fillds demo commited by accident
...
git-svn-id: trunk@31845 -
2015-09-27 12:01:13 +00:00
blikblum
776534a43d
Fix mem leak in InitiRecord
...
git-svn-id: trunk@31844 -
2015-09-27 12:01:05 +00:00
blikblum
d144073299
Adapt demos programs to use sqlite3ds by default
...
git-svn-id: trunk@31841 -
2015-09-26 21:34:29 +00:00
blikblum
e4ec432012
Fix sqliteds compilation
...
git-svn-id: trunk@31840 -
2015-09-26 21:34:16 +00:00
blikblum
55ad9b69d0
Free row from begin item
...
git-svn-id: trunk@31839 -
2015-09-26 21:34:06 +00:00
blikblum
cc11bc4590
Fix Comparebookmarks properly handling nil parameters
...
git-svn-id: trunk@31838 -
2015-09-26 21:33:55 +00:00
blikblum
da100b43f7
Use actual item instead of cache item for edit
...
git-svn-id: trunk@31837 -
2015-09-26 21:33:43 +00:00
lacak
33986a03d3
fcl-db: mysql: add missing mysql57conn.pas (MySQL 5.7 wrapper)
...
git-svn-id: trunk@31826 -
2015-09-25 04:51:57 +00:00
nickysn
e83f3d2978
* updated all the remaining makefiles that 'fpcmake -r' missed
...
git-svn-id: trunk@31527 -
2015-09-05 11:21:36 +00:00
joost
46906833f1
* Re-generated makefile's
...
git-svn-id: trunk@31318 -
2015-08-12 19:47:44 +00:00
joost
ac87da7c42
* Filter the Makefile's unit searchpaths from the fpmake command line.
...
To void cluttering the .fpm file
git-svn-id: trunk@31317 -
2015-08-12 19:15:14 +00:00
lacak
105af639ce
fcl-db: mysql: fix reporting of connection errors. Pass allocated connection handle (not Nil) to MySQLError procedure to correctly read error code, error message and sqlstate.
...
git-svn-id: trunk@31306 -
2015-08-10 07:08:39 +00:00
michael
77b1e16330
* MariaDB version 10.1 is also compatible with 5.6
...
git-svn-id: trunk@31266 -
2015-08-03 19:21:44 +00:00
lacak
6f3da41769
fcl-db: sdfdataset: Added support for reading of CSV files, which have embedded CRLF between double-quotes (Added TSDFStringList) + test.
...
git-svn-id: trunk@31243 -
2015-07-30 05:49:05 +00:00
lacak
3d6a6512ad
fcl-db: odbc: add support for stIndexes for database metadata retrieval SetSchemaInfo()
...
git-svn-id: trunk@31225 -
2015-07-24 05:38:26 +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
433d0ce4f6
fcl-db: sqlite: always call InitializeSQLite to properly increment library loading/unloading ref-counting. Regression introduced in rev.27342. Bug #28391
...
git-svn-id: trunk@31215 -
2015-07-16 08:03:38 +00:00
lacak
a2b7b9cd6e
fcl-db: odbc: experimental support for XML and sql_variant SQL Server data types
...
git-svn-id: trunk@31200 -
2015-07-08 13:00:59 +00:00
Károly Balogh
77bdd83bfc
AROS/x86_64: regenerated Makefiles
...
git-svn-id: trunk@31177 -
2015-06-29 00:09:06 +00:00
michael
d0df1c6fbb
* Empty string in case statement does not work
...
git-svn-id: trunk@31161 -
2015-06-26 09:24:10 +00:00
michael
33916f51d0
* Added logging demo
...
git-svn-id: trunk@31160 -
2015-06-26 09:12:31 +00:00
michael
4cc83ba03f
* Fix typo
...
git-svn-id: trunk@31159 -
2015-06-26 09:08:33 +00:00
michael
ba506acf9f
* Actually log new log types (ActualSQL and ParamValue)
...
git-svn-id: trunk@31158 -
2015-06-26 09:07:30 +00:00
michael
71ab58a2f1
* Added ActualSQL and ParamValue log types, correct SQLConnector so it passes log options on
...
git-svn-id: trunk@31157 -
2015-06-26 09:00:09 +00:00
michael
e209b1604f
* Correct error message for unknown connector, add param value message
...
git-svn-id: trunk@31156 -
2015-06-26 08:58:28 +00:00
lacak
2f97bc7f60
fcl-db: fix parameter parsing in case, when in SQL follows two comments, where in 2nd commend is embeded quote char. Bug #22463
...
git-svn-id: trunk@31155 -
2015-06-26 08:02:49 +00:00
michael
3a746b76fa
* Example to demonstrate how to create sql
...
git-svn-id: trunk@31154 -
2015-06-25 17:32:53 +00:00
lacak
ef00cefa0a
fcl-db: cleanup (remove unused parts of code)
...
git-svn-id: trunk@31146 -
2015-06-23 10:27:36 +00:00