lacak
6d8ac30a19
fcl-db: tests:
...
* add new method CommitDDL to TSQLDBConnector. There is often used in tests "if SQLConnType=interbase then TSQLDBConnector(DBConnector).Transaction.CommitRetaining;" so move this to separate method and use it.
* TODBCConnection in auto commit mode does not work well for Firebird/Interbase, so switch to manual commit mode.
git-svn-id: trunk@23075 -
2012-11-28 12:47:09 +00:00
lacak
595e413950
fcl-db: tests: use SQLServerType instead of SQLConnType.
...
To allow correctly testing TODBCConnection.
(we need know remote DB server to setup some tests)
git-svn-id: trunk@23074 -
2012-11-28 11:12:09 +00:00
pierre
18d6e113b6
Do not search sub-directories in library directory list,\n list all found libraries, but use the first one
...
git-svn-id: trunk@23073 -
2012-11-28 10:32:59 +00:00
lacak
7bd0c1df19
fcl-db: ibconnection: small cleanup
...
git-svn-id: trunk@23072 -
2012-11-28 07:33:54 +00:00
lacak
502ed76da2
fcl-db: base: add AsLargeInt for TFloatField
...
git-svn-id: trunk@23071 -
2012-11-28 06:47:33 +00:00
Jonas Maebe
a1923f02f8
* always mark symbols referenced by properties as "used"; in case the
...
property is private, the "used" tracking of the property itself will
indicate whether the symbol is actually used (mantis #22155 )
git-svn-id: trunk@23070 -
2012-11-27 16:40:51 +00:00
lacak
d53b5371bb
fcl-db: tests: adapt some tests for Interbase XE
...
(Interbase and Firebird are not the same; f.e. Interbase does not support BIGINT data type, CTEs, Execute block, insert returning etc.)
git-svn-id: trunk@23069 -
2012-11-27 12:35:06 +00:00
lacak
cf5bd7e5c1
fcl-db: base: add AsLargeInt for TFMTBCDField
...
git-svn-id: trunk@23068 -
2012-11-27 11:47:57 +00:00
reiniero
f7037fe06a
- fcl-db: removed faulty sdfdataset test against sdf spec as sdfdataset must comply with the RFC4180 CSV format, see issue #22980
...
git-svn-id: trunk@23067 -
2012-11-27 10:24:20 +00:00
reiniero
2ba03a9df7
+ fcl-db: Firebird/Interbase: add some metadata support: GetConnectionInfo and ODS major version
...
git-svn-id: trunk@23066 -
2012-11-27 08:31:32 +00:00
lacak
60602bfb34
fcl-db: tests: add TestSmallIntParamQuery
...
(plus small cleanup)
git-svn-id: trunk@23065 -
2012-11-27 07:19:15 +00:00
lacak
f6e23e07f1
fcl-db: postgresql: fixes loading of field data of type FLOAT4
...
(revealed by test TestSQLReal)
git-svn-id: trunk@23064 -
2012-11-26 13:28:53 +00:00
lacak
f58150e3fd
fcl-db: tests: improve testing for approximate numeric data types. SQL standard defines DOUBLE PRECISION (tested in TestSupportFloatFields), FLOAT (tested in TestFloat) and REAL (added new test TestSQLReal (single precision floating point values))
...
git-svn-id: trunk@23063 -
2012-11-26 13:08:39 +00:00
lacak
f3e071493f
fcl-db: test: adapt one test, which was MySQL specific to run on all sqlDB connectors.
...
(removed unused columns with DOUBLE data type, which is MySQL specific and prevents successful test table creation + add to GROUB BY clause column which is not part of aggregate function)
git-svn-id: trunk@23062 -
2012-11-26 10:58:11 +00:00
lacak
b1fa17411a
fcl-db: tests: formatting
...
(removes unneeded spaces in table definitions + adds comments to some tests where is not clear at first look what they tests)
git-svn-id: trunk@23061 -
2012-11-26 09:52:04 +00:00
lacak
030287d5d8
fcl-db: tests: add TestLargeIntParamQuery
...
git-svn-id: trunk@23060 -
2012-11-26 09:02:31 +00:00
lacak
5d6d67ac70
fcl-db: tests: use SQLServerType instead of SQLConnType.
...
To allow correctly testing TODBCConnection.
(we need know remote DB server to setup some tests)
git-svn-id: trunk@23059 -
2012-11-26 08:47:29 +00:00
Jonas Maebe
2dac1c445a
- disabled Stabs support on 64 bit targets (mantis #23365 )
...
* show a warning if an unsupported debug format is selected
git-svn-id: trunk@23056 -
2012-11-24 13:15:58 +00:00
Jonas Maebe
d749ac5354
* make ansistring unique before starting to change it using a pchar
...
git-svn-id: trunk@23055 -
2012-11-24 13:15:54 +00:00
Jonas Maebe
c7255f153e
* sets with the same base/range can still have a different size (and hence
...
not be equal) due to different packset settings -> still need conversion
(mantis #23204 )
git-svn-id: trunk@23054 -
2012-11-24 12:32:57 +00:00
michael
8535da3e99
* Use actual class instead of hard-coded base class in class methods
...
git-svn-id: trunk@23053 -
2012-11-23 22:25:55 +00:00
michael
9f054632a1
* Added some convenience methods
...
git-svn-id: trunk@23052 -
2012-11-23 22:13:35 +00:00
michael
8e67bf6e15
* Fix (adapted) from bug #23372
...
git-svn-id: trunk@23051 -
2012-11-23 20:00:58 +00:00
marco
d4ac343e3a
* LE and BE streamhelpers for tstream. Simplifies writing stream formats in a different endianness. (mostly CHM)
...
git-svn-id: trunk@23050 -
2012-11-23 17:17:16 +00:00
lacak
9e17ba4102
fcl-db: odbc: fix error when loading blobs.
...
(revealed by TestSQLClob)
git-svn-id: trunk@23049 -
2012-11-23 13:01:10 +00:00
lacak
b91969c407
fcl-db: tests: use SQLServerType instead of SQLConnType.
...
To allow correctly testing TODBCConnection.
(we need know remote DB server to setup some tests)
git-svn-id: trunk@23048 -
2012-11-23 12:52:42 +00:00
masta
e982f4789d
Removed unused register allocation in tarminlinenode.second_abs_long
...
git-svn-id: trunk@23047 -
2012-11-22 19:20:39 +00:00
pierre
d956808080
Fix bug introduced by myself for win32 dwarf info generation Bug #23365 and 23330
...
git-svn-id: trunk@23046 -
2012-11-22 13:49:21 +00:00
Jonas Maebe
631fa329e5
- disabled assembler implementations for darwin/i386 because they don't
...
work on i386 targets that require a 16-byte aligned stack
git-svn-id: trunk@23045 -
2012-11-22 13:34:21 +00:00
Jonas Maebe
dfe3ca5328
* prevent invalid typecast on targets using nestedfpstruct functionality
...
in case of type errors in the source (the compiler will already have
printed an error at this point)
git-svn-id: trunk@23044 -
2012-11-22 12:22:00 +00:00
Jonas Maebe
3eb527b532
* make use_fixed_stack for i386 more generic (any target with more than
...
4 byte stack alignment needs a fixed stack)
git-svn-id: trunk@23043 -
2012-11-22 12:17:52 +00:00
michael
ea848beb13
* Changed GetLastInsertID to GetInsertID so it is the same as in GetLastID
...
git-svn-id: trunk@23042 -
2012-11-22 09:45:15 +00:00
michael
58d0d3c593
* Added GetLastInsertID
...
git-svn-id: trunk@23041 -
2012-11-22 08:23:53 +00:00
joost
ca179908e2
* Implemented zipinstall command for fpmake, see also bug #21481
...
git-svn-id: trunk@23040 -
2012-11-21 20:48:14 +00:00
florian
4aca018f62
* setelement nodes itself should not be considered, since setelement
...
nodes generate no code except loading data into registers, this does
not hurt, resolves #23342
git-svn-id: trunk@23039 -
2012-11-20 21:15:38 +00:00
florian
fcc6d3dcd9
+ VarIsBool function by Alexander Strokach, resolves #23358
...
git-svn-id: trunk@23038 -
2012-11-20 20:30:08 +00:00
lacak
31fa3c9db2
fcl-db: tests: basic test for ftWideString and ftWideMemo for SQLite. Tests if these field types are recognized when saving/restoring to XML format. See rev.22997
...
git-svn-id: trunk@23037 -
2012-11-20 12:44:12 +00:00
svenbarth
bb5dc545f8
rtl/objpas/fgl.pp:
...
Fix typo in comment; fixes Mantis #23352
git-svn-id: trunk@23036 -
2012-11-19 19:23:58 +00:00
lacak
0775705e8f
fcl-db: change fieldtype for ftWideString and ftFixedWideChar from 'string' to 'string.uni' (Delphi compatibility).
...
Corrects my prior commit.
Note: Delphi stores characters outside ASCII as numeric character references in form: &#D;
git-svn-id: trunk@23035 -
2012-11-19 13:50:23 +00:00
Jonas Maebe
e4740a27e1
- removed tthreadid/pthreadid definitions for haiku/beos/*bsd/darwin:
...
they're not in the other versions either, they're not part of the
libpthread api, and hide the tthreadid definition from the system unit
git-svn-id: trunk@23034 -
2012-11-19 13:17:50 +00:00
lacak
66f458467f
fcl-db: sqlite: Always add null terminator to end of moved strings. (in case of length of data in db > FieldDef.Size null terminator is not moved).
...
Bug #0023338 .
Fixes also already existing failed test.
git-svn-id: trunk@23033 -
2012-11-19 09:54:25 +00:00
sergei
a7e7d97da6
* ELF linker: fixed written values of STT_TLS symbols, they must be relative to PT_TLS segment address.
...
* Made name of dynamic interpreter variable, it is now set correctly for each target.
- Removed setting header flags for ARM. This functionality belongs to CPU-specific unit anyway, and probably must be implemented using object attributes in modern ABIs.
git-svn-id: trunk@23032 -
2012-11-19 09:07:45 +00:00
florian
ab1815273c
+ added comment on movsd hack
...
git-svn-id: trunk@23031 -
2012-11-18 21:34:38 +00:00
florian
d49a88c3c8
* merge fixes by Torsten Grundke
...
git-svn-id: trunk@23030 -
2012-11-18 21:18:49 +00:00
florian
2aaa7514f4
+ started cpupara for aarch64
...
git-svn-id: trunk@23029 -
2012-11-18 20:42:11 +00:00
nickysn
5640b654c9
* only enable I386_ASSEMBLER on certain platforms
...
git-svn-id: trunk@23028 -
2012-11-18 20:37:32 +00:00
joost
69437fcc1a
* Remove fpmake.o and fpmake.dbg on distclean
...
git-svn-id: trunk@23027 -
2012-11-18 20:24:25 +00:00
joost
44c3ef9e7e
* Clean *.dbg files. Bug #20466
...
git-svn-id: trunk@23026 -
2012-11-18 17:55:29 +00:00
sergei
0369a30f49
* Internal linker: made sec_rodata_norel read-only.
...
* For Win32 and Win64 targets made sec_rodata read-only, too (for these targets it doesn't matter if read-only section contains relocations).
git-svn-id: trunk@23025 -
2012-11-18 17:40:17 +00:00
joost
5ee506d64e
* Do not cross-compile binaries from packages, unless BUILDFULLNATIVE is defined
...
git-svn-id: trunk@23024 -
2012-11-18 17:32:06 +00:00