View Issue Details

IDProjectCategoryView StatusLast Update
0036635PackagesDatabasepublic2020-01-31 08:50
ReporterMAndreato Assigned ToJuha Manninen  
Status resolvedResolutionfixed 
Summary0036635: Missing TOracleConnection from SQLdb tab on win64
DescriptionHASORACLECONNECTION is undefined in registersqldb of SQLDBLaz for win64 even on Lazarus 2.1, FPC 3.3
Steps To ReproduceInstall last trunk of FPC 3.3.1 and last trunk of Lazarus 2.1.0 on win64.
Open loaded package SQLDBLaz 1.0.2 and double click on unit registersqldb.pas.
The FPC macro HASORACLECONNECTION is conditioned on the following IF:
(FPC_FULLVERSION>30302) or not defined(win64)
I don't know how to inspect FPC_FULLVERSION value, but evaluating it against, for example, 30300, does set HASORACLECONNECTION.
Then compile, use and install the package --> Lazarus is rebuilt and TOracleConnections shows on SQLdb tab.
TagsNo tags attached.
Fixed in Revisionr62598
Attached Files


Juha Manninen

2020-01-30 00:38

developer   ~0120798

Yes, FULLVERSION 30302 means FPC version 3.3.2 which does not exist. It is certainly wrong.
What is the right version? When was Oracle connection added to FPC libs?
Let's fix this properly.


2020-01-30 07:51

reporter   ~0120801

I don't know when, historically, the support of TOracleConnection to win64 was added, but I used to bypass that "if" on Lazarus 2.0.6 and it always worked.
So I think 20006 should be a safe value. Eventually, anyone who experienced the issue on a older version could suggest a lower value.

Juha Manninen

2020-01-30 10:23

developer   ~0120805

> So I think 20006 should be a safe value.

Maybe it should be FPC 3.0.2, thus testing:

Juha Manninen

2020-01-30 11:53

developer   ~0120806

Fixed, please test.
The support was indeed added in FPC 3.0.2.


2020-01-31 08:50

reporter   ~0120815

Your're right!
I confused the two variables: I meant Lazarus 2.0.6 came with FPC 3.0.2... Sorry.

Now I reinstalled from scratch a new trunk FPR + trunk Lazarus, via fpcupdeluxe and TOracleConnection is available on the SQLdb tab "out of the box".

Issue History

Date Modified Username Field Change
2020-01-29 09:46 MAndreato New Issue
2020-01-30 00:38 Juha Manninen Assigned To => Juha Manninen
2020-01-30 00:38 Juha Manninen Status new => feedback
2020-01-30 00:38 Juha Manninen LazTarget => -
2020-01-30 00:38 Juha Manninen Note Added: 0120798
2020-01-30 07:51 MAndreato Note Added: 0120801
2020-01-30 07:51 MAndreato Status feedback => assigned
2020-01-30 10:23 Juha Manninen Note Added: 0120805
2020-01-30 11:53 Juha Manninen Status assigned => resolved
2020-01-30 11:53 Juha Manninen Resolution open => fixed
2020-01-30 11:53 Juha Manninen Fixed in Revision => r62598
2020-01-30 11:53 Juha Manninen Note Added: 0120806
2020-01-31 08:50 MAndreato Note Added: 0120815