View Issue Details

IDProjectCategoryView StatusLast Update
0025200PatchesLCLpublic2013-10-18 08:42
ReporterReinier OlislagersAssigned ToMaxim Ganetsky  
PriorityhighSeveritytweakReproducibilityalways
Status closedResolutionfixed 
Platformx64 (with x86 compiler)OSWindows 
Product Version1.3 (SVN) 
Target Version1.2.0Fixed in Version1.2.0 
Summary0025200: FBAdmin, FBEventMonitor, PQEventMonitor, SQLDBLibraryLoader available since FPC 2.6.2, not 2.6.3
DescriptionThe FBAdmin, FBEventMonitor, PQEventMonitor, SQLDBLibraryLoader components have been available in FPC 2.6.2, not only 2.6.3+

The attached patches
dbcomps_since262.diff for Laz trunk
laz1199_dbcomps_since262.diff for Laz 1.1.99
add compilation support for trunk+Laz 1.1.99; request application to trunk but especially to the 1.2RC branch so it can be included in end user testing.
I will included a merge request on the wiki once the wiki is up again.

Thanks a lot.
Additional InformationVerified patch works (compiles, shows components, project with components on a form compiles) on
- Laz trunk+FPC trunk x86, Windows
- Laz lazarus_1_1_99pre+FPC 2.6.2 x86, Windows

Sorry about proposing the previous patch that allows compilation from 2.6.3+; I didn't check when the components where actually available.

Just confirmed on a stock Lazarus stable install by searching for the ppu files of the FPC components:
FBAdmin: 2.6.2: C:\Lazarus\fpc\2.6.2\units\i386-win32\fcl-db\fbadmin.ppu
FBEventMonitor: 2.6.2: C:\Lazarus\fpc\2.6.2\units\i386-win32\fcl-db\fbeventmonitor.ppu
PQEventMonitor: 2.6.2: C:\Lazarus\fpc\2.6.2\units\i386-win32\fcl-db\pqeventmonitor.ppu
SQLDBLibraryLoader: 2.6.2: C:\Lazarus\fpc\2.6.2\units\i386-win32\fcl-db\sqldblib.ppu
TagsNo tags attached.
Fixed in Revision43263, 43265
LazTarget-
WidgetsetWin32/Win64
Attached Files

Activities

Reinier Olislagers

2013-10-17 11:35

developer  

dbcomps_since262.diff (438 bytes)   
Index: components/sqldb/registersqldb.pas
===================================================================
--- components/sqldb/registersqldb.pas	(revision 43261)
+++ components/sqldb/registersqldb.pas	(working copy)
@@ -41,7 +41,8 @@
 {$ENDIF}
 {$ENDIF}
 
-{$IF FPC_FULLVERSION >= 20603}
+{$IF FPC_FULLVERSION >= 20602} 
+// These were backported to FPC 2.6.2
  {$DEFINE HASFBADMIN}
  {$DEFINE HASPQEVENT}
  {$DEFINE HASFBEVENT}
dbcomps_since262.diff (438 bytes)   

Reinier Olislagers

2013-10-17 11:36

developer  

laz1199_dbcomps_since262.diff (477 bytes)   
Index: components/sqldb/registersqldb.pas
===================================================================
--- components/sqldb/registersqldb.pas	(revision 43261)
+++ components/sqldb/registersqldb.pas	(working copy)
@@ -41,8 +41,8 @@
 {$ENDIF}
 {$ENDIF}
 
-{$IF FPC_FULLVERSION>= 20700}
-// FBAdmin component introduced in FPC 2.7
+{$IF FPC_FULLVERSION >= 20602}
+// These were backported to FPC 2.6.2
 {$DEFINE HASFBADMIN}
 {$DEFINE HASPQEVENT}
 {$DEFINE HASFBEVENT}

Maxim Ganetsky

2013-10-17 22:05

developer   ~0070867

Applied, thanks.

Reinier Olislagers

2013-10-18 08:42

developer   ~0070873

Thanks a lot, Maxim; I updated the merged revisions list for 1.2 on the wiki.

Issue History

Date Modified Username Field Change
2013-10-17 11:35 Reinier Olislagers New Issue
2013-10-17 11:35 Reinier Olislagers File Added: dbcomps_since262.diff
2013-10-17 11:36 Reinier Olislagers File Added: laz1199_dbcomps_since262.diff
2013-10-17 11:36 Reinier Olislagers Priority normal => high
2013-10-17 11:36 Reinier Olislagers Severity minor => tweak
2013-10-17 21:34 Maxim Ganetsky Assigned To => Maxim Ganetsky
2013-10-17 21:34 Maxim Ganetsky Status new => assigned
2013-10-17 22:05 Maxim Ganetsky Fixed in Revision => 43263, 43265
2013-10-17 22:05 Maxim Ganetsky Note Added: 0070867
2013-10-17 22:05 Maxim Ganetsky Status assigned => resolved
2013-10-17 22:05 Maxim Ganetsky Fixed in Version => 1.1.99 pre-release
2013-10-17 22:05 Maxim Ganetsky Resolution open => fixed
2013-10-18 08:42 Reinier Olislagers Note Added: 0070873
2013-10-18 08:42 Reinier Olislagers Status resolved => closed
2013-10-18 08:42 Reinier Olislagers Fixed in Version 1.1.99 pre-release => 1.2.0