2009-04-14 10:52 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbmysql/tmysql.prg
+ Added 4th port parameter to TMySqlServer():New() method.
* contrib/hbcurl/hbcurls/Makefile
* Cleanup.
This commit is contained in:
@@ -8,6 +8,13 @@
|
||||
2009-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
|
||||
*/
|
||||
|
||||
2009-04-14 10:52 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
|
||||
* contrib/hbmysql/tmysql.prg
|
||||
+ Added 4th port parameter to TMySqlServer():New() method.
|
||||
|
||||
* contrib/hbcurl/hbcurls/Makefile
|
||||
* Cleanup.
|
||||
|
||||
2009-04-14 00:54 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
|
||||
* harbour/contrib/gtqtc/gtqtc.cpp
|
||||
* harbour/contrib/gtqtc/moc_gtqtc.cpp
|
||||
|
||||
@@ -8,25 +8,12 @@ ROOT = ../../../
|
||||
|
||||
LIBNAME=hbcurls
|
||||
|
||||
# always export symbols
|
||||
HB_USER_CFLAGS += -DCURL_STATICLIB
|
||||
|
||||
HB_INC_CURL_OK =
|
||||
|
||||
ifneq ($(HB_ARCHITECTURE),dos)
|
||||
|
||||
ifeq ($(HB_INC_CURL),)
|
||||
ifeq ($(HB_XBUILD),)
|
||||
HB_INC_CURL = /usr/include
|
||||
endif
|
||||
endif
|
||||
|
||||
HB_INC_CURL_OK += $(foreach d, $(HB_INC_CURL), $(if $(wildcard $(d)/curl/curl.h),$(d),))
|
||||
|
||||
endif
|
||||
HB_INC_CURL_OK = $(foreach d, $(HB_INC_CURL), $(if $(wildcard $(d)/curl/curl.h),$(d),))
|
||||
|
||||
ifneq ($(strip $(HB_INC_CURL_OK)),)
|
||||
|
||||
# always export symbols
|
||||
HB_USER_CFLAGS += -DCURL_STATICLIB
|
||||
HB_USER_CFLAGS += $(foreach d, $(HB_INC_CURL_OK), -I$(d))
|
||||
|
||||
C_SOURCES=\
|
||||
|
||||
@@ -1356,12 +1356,12 @@ CREATE CLASS TMySQLServer
|
||||
ENDCLASS
|
||||
|
||||
|
||||
METHOD New( cServer, cUser, cPassword ) CLASS TMySQLServer
|
||||
METHOD New( cServer, cUser, cPassword, nPort ) CLASS TMySQLServer
|
||||
|
||||
::cServer := cServer
|
||||
::cUser := cUser
|
||||
::cPassword := cPassword
|
||||
::nSocket := mysql_real_connect( cServer, cUser, cPassword )
|
||||
::nSocket := mysql_real_connect( cServer, cUser, cPassword, nPort )
|
||||
::lError := .F.
|
||||
|
||||
IF Empty( ::nSocket )
|
||||
|
||||
Reference in New Issue
Block a user