Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:13512 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13329 invoked by uid 1010); 25 Oct 2004 17:45:43 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 9560 invoked by uid 1007); 25 Oct 2004 17:44:46 -0000 Message-ID: <20041025174445.9557.qmail@pb1.pair.com> To: internals@lists.php.net Date: Mon, 25 Oct 2004 11:44:30 -0600 Lines: 52 Organization: Javasense X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Posted-By: 63.230.14.90 Subject: [PATCH][PHP_5_0] MSSQL Uniqueid formatting, etc... From: jason@javasense.com ("Jason Borden") Here's a patch to the MSSQL extention that: 1. Formats a resultant uniqueidentifer into a string (instead of raw binary) which is the same way that odbc handles them. 2. Enables uniqueids to be used from freetds if SYBUNIQUE is defined in the freetds code. I believe this is what the original author intended to do, since the current code doesn't do anything unless you add your own -D compile definition or change the code to work. This patch could probably also be applied to the 4.3 and 5.1 trees without modification, I haven't tried. Jason begin 666 mssql-uniqueid-patch.diff M9&EF9B M3G)U('!H<"US'0O;7-S<6PO<&AP7VUS'0O;7-S<6PO<&AP7VUS