Hi all,

the attachment enables the TMySQL40Connection, TMySQL41Connection and
TMySQL50Connection components in the SQLDB package for fpc-version
2.1.1.


-- 
Met vriendelijke groeten,

  Joost van der Sluis
  CNOC Informatiesystemen en Netwerken
  http://www.cnoc.nl
Index: components/sqldb/registersqldb.pas
===================================================================
--- components/sqldb/registersqldb.pas	(revision 8211)
+++ components/sqldb/registersqldb.pas	(working copy)
@@ -21,11 +21,19 @@
 {$IFNDEF ver2_0_0}{$IFNDEF ver2_0_1}
   {$DEFINE HASODBCCONNECTION}
 {$ENDIF}{$ENDIF}
+{$IFNDEF ver2_0_0}{$IFNDEF ver2_0_1}{$IFNDEF ver2_0_2}{$IFNDEF ver2_0_3}
+  {$DEFINE HASMYSQL50CONNECTION}
+{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}
 
 interface
 
 uses
-  Classes, SysUtils, LResources, sqldb, ibconnection, pqconnection, mysql4conn,
+  Classes, SysUtils, LResources, sqldb, ibconnection, pqconnection,
+{$IFDEF HASMYSQL50CONNECTION}
+  mysql40conn, mysql41conn, mysql50conn,
+{$ELSE}
+  mysql4conn,
+{$ENDIF}
 {$IFDEF HASODBCCONNECTION}
   odbcconn,
 {$ENDIF}
@@ -43,9 +51,14 @@
 {$IFDEF HASODBCCONNECTION}
                               TODBCConnection,	
 {$ENDIF}
-
-			      TPQConnection,
-                              TMySQLConnection]);
+{$IFDEF HASMYSQL50CONNECTION}
+                              TMySQL40Connection,
+                              TMySQL41Connection,
+                              TMySQL50Connection,
+{$ELSE}
+                              TMySQLConnection,
+{$ENDIF}
+			      TPQConnection]);
 end;
 
 procedure Register;

Reply via email to