mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 00:29:33 +02:00
* call mysql_init
This commit is contained in:
parent
09248fce79
commit
f8849f9396
@ -72,6 +72,7 @@ begin
|
||||
{$ifdef ver1_0}
|
||||
Result:=mysql_connect(@Connection,PChar(Host),PChar(User),PChar(Password))<>Nil;
|
||||
{$else}
|
||||
mysql_init(@Connection);
|
||||
Result:=mysql_real_connect(@Connection,PChar(Host),PChar(User),PChar(Password),Nil,0,Nil,0)<>Nil;
|
||||
{$endif}
|
||||
If Not Result then
|
||||
|
Loading…
Reference in New Issue
Block a user