Re: [lazarus] SQLDB support MySQL v4.0, v4.1 and v5.1

2005-11-23 Thread Joost van der Sluis
  the attachment enables the TMySQL40Connection, TMySQL41Connection and
  TMySQL50Connection components in the SQLDB package for fpc-version
  2.1.1.

  Thanks, applied in revision 8112.
  When will it be merged to 2.0.3?

 Depends on Joost :)

I first want to test if it compiles and works on Windows, and if the
snapshots are ok. 

-- 
Met vriendelijke groeten,

  Joost van der Sluis
  CNOC Informatiesystemen en Netwerken
  http://www.cnoc.nl

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] SQLDB support MySQL v4.0, v4.1 and v5.1

2005-11-22 Thread Joost van der Sluis
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;


Re: [lazarus] SQLDB support MySQL v4.0, v4.1 and v5.1

2005-11-22 Thread Vincent Snijders

Joost van der Sluis wrote:

Hi all,

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


Thanks, applied in revision 8112.

When will it be merged to 2.0.3?

Vincent.

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives