#24752 [Com]: unknown column type "uniqueidentifier", type 35

From: Date: Fri, 21 Oct 2005 14:49:00 +0000
Subject: #24752 [Com]: unknown column type "uniqueidentifier", type 35
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-86877@lists.php.net to get a copy of this message
ID: 24752 Comment by: rodent at rodent dot za dot net Reported By: ssc at coolspot dot de Status: Suspended Bug Type: MSSQL related Operating System: Linux PHP Version: 4.3.8 New Comment: I would like to reopen this bug for php 5. The same appears to be ocurring there with freetds 0.61 from debian stable Previous Comments: ------------------------------------------------------------------------ [2004-08-24 08:40:42] derick@php.net Behave like this and receive no help. ------------------------------------------------------------------------ [2004-08-24 08:40:10] derick@php.net Please keep your insulting comments in front of you. What version doesn't work? ------------------------------------------------------------------------ [2004-08-23 21:36:29] ssc at coolspot dot de Ok, once again a lesson in the usage of a really famous tool, called "diff", which could by new to some of you. A TIP : if you are searching a release manager, call me. It is "really" anoying to double-check PHP each time i need to update. /mssql/php_mssql.h iff -wu php-4.3.8.working/ext/mssql/php_mssql.h php-4.3.8/ext/ --- php-4.3.8.working/ext/mssql/php_mssql.h 2004-08-23 15:56:59.000000000 +0200 +++ php-4.3.8/ext/mssql/php_mssql.h 2004-04-21 01:37:26.000000000 +0200 @@ -38,7 +38,7 @@ #if HAVE_FREETDS #ifndef SHORT -//typedef short SHORT; +typedef short SHORT; #endif #define SQLTEXT SYBTEXT #define SQLCHAR SYBCHAR @@ -62,7 +62,9 @@ #define SQLIMAGE SYBIMAGE #define SQLBINARY SYBBINARY #define SQLVARBINARY SYBVARBINARY +#ifdef SQLUNIQUE /* FreeTSD 0.61+ */ #define SQLUNIQUE SYBUNIQUE +#endif #define DBERRHANDLE(a, b) dberrhandle(b) #define DBMSGHANDLE(a, b) dbmsghandle(b) #define DBSETOPT(a, b, c) dbsetopt(a, b, c, -1) ------------------------------------------------------------------------ [2004-08-23 21:23:33] ssc at coolspot dot de Open again dudes. Is there somebody who needs lessons in CVS usage, or what ? ------------------------------------------------------------------------ [2004-08-12 18:52:08] zakharm at hotmail dot com I see that the following is in ext/mssql/php_mssql.h: #ifdef SQLUNIQUE /* FreeTSD 0.61+ */ #define SQLUNIQUE SYBUNIQUE #endif When configuring PHP via ./configure, is there a parameter I can send to configure to enable SQLUNIQUE? I did get it working by removing the #ifdef & #endif, but is there another way? My configuration: freedts ./configure --prefix=/usr/local/freetds --with-tdsver=8.0 php ./configure --with-mssql=/usr/local/freetds --with-regex=php --with-config-file-path=/etc/php4/apache --disable-rpath --enable-memory-limit --disable-debug --with-layout=GNU --with-pear=/usr/share/php --with-mysql=shared --with-apxs=/usr/bin/apxs ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/24752 -- Edit this bug report at http://bugs.php.net/?id=24752&edit=1

« previous php.bugs (#86877) next »