mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 08:49:38 +02:00
* real_connect "db" parameter added which was added in 3.22. Mants 15041, but dled mysql 3.23 to verify.
git-svn-id: trunk@14264 -
This commit is contained in:
parent
5fa1e1cee2
commit
71c32214a1
@ -2,7 +2,6 @@
|
||||
unit mysql3;
|
||||
|
||||
{$undef use_mysql_321} { if undefined, use mysql 3.23 interface }
|
||||
|
||||
{
|
||||
Import unit for the mysql header files.
|
||||
|
||||
@ -60,6 +59,7 @@ Function mysql_error(mysql : PMYSQL) : pchar; extdecl; external mysqllib;
|
||||
function mysql_init(mysql: PMYSQL) : PMYSQL;extdecl; external mysqllib name 'mysql_init';
|
||||
function mysql_connect (mysql : PMYSQL; host,user,passwd: pchar) : PMYSQL;extdecl; external mysqllib name 'mysql_connect';
|
||||
function mysql_real_connect (mysql : PMYSQL; const host,user,passwd : pchar;
|
||||
{$ifndef use_mysql_321} const db : Pchar; {$endif} // strictly speaking 3.22+ not 3.21+
|
||||
port : cardinal;
|
||||
unix_socket : pchar;
|
||||
clientflag : cardinal) : PMYSQL;extdecl; external mysqllib;
|
||||
|
@ -52,6 +52,7 @@ var
|
||||
mysql_init : function(mysql: PMYSQL) : PMYSQL;extdecl;
|
||||
mysql_connect : function(mysql : PMYSQL; host,user,passwd: pchar) : PMYSQL;extdecl;
|
||||
mysql_real_connect : function(mysql : PMYSQL; const host,user,passwd : pchar;
|
||||
{$ifndef use_mysql_321} const db : Pchar; {$endif} // strictly speaking 3.22+ not 3.21+
|
||||
port : cardinal;
|
||||
unix_socket : pchar;
|
||||
clientflag : cardinal) : PMYSQL;extdecl;
|
||||
|
Loading…
Reference in New Issue
Block a user