[fpc-pascal] MySQL3, MySQL4, and MySql5 - Micha Might have answer

Jesús Reyes A. jesusrmx at yahoo.com.mx
Sun Aug 6 01:49:00 CEST 2006


----- Original Message ----- 
From: "Jason P Sage" <jasonpsage at jegas.org>
To: <fpc-pascal at lists.freepascal.org>
Sent: Saturday, August 05, 2006 1:15 PM
Subject: [fpc-pascal] MySQL3, MySQL4, and MySql5 - Micha Might have answer


I heard from Michael Van Canneyt, or Micha, in an email not to long ago,
that the MySQL5 FPC unit is available and has been for awhile. My attempts
at finding it have been fruitless.

Question: Does anyone know where I can find the MySQL5 FPC unit that
succeeds MySql4 FPC unit?

Thank You Micha for help so far!

Thanx all of you in advance (if/when you reply ;)

--- Now for some rambling --- BEGIN

I just wanted to report that I was able to resurrect my old MySQL 3 wrapper
(wraps the FPC MySQL/MySQL3 unit) using the FPC 2.0.2 version - COOL!

I was also able to make a new wrapper around the FPC MySQL4 unit using FPC
2.0.2 version - COOL once again! This was just like Micha said! The only
real big difference is how you connect.. but the calls are mostly the same.
The biggest difference, is that version 3 of mysql required you maintain a
pointer per connection - and this pointer was passed to every MySQL call.
The version 4 is ALMOST the same except there are now two pointers that seem
to matter most: 1 is, forgive my ignorance, but, seems to me... to be a
MYSQL CLIENT internal "GLOBAL" pointer to some internal structure that you
initialize with a mysql_init call. The other(s), are (an) individual pointer
for each/your connection (you) make, and these connection pointers can be
used to get meta data available about these connection(s) by passing them to
certain mysql_????? functions.

I'd just thought I'd post this other stuff to maybe help the next person.

--- Now for some rambling --- END

Have a great Day All!
Jason P Sage

-----------------------

Where did you look?

These versions are included in FPC2.0.3, FPC2.0.4, FPC2.1.1

the source is in directory packages/base/mysql/ 

__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.yahoo.com.mx/ 



More information about the fpc-pascal mailing list