Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:32080 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 67017 invoked by uid 1010); 6 Sep 2007 09:37:28 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 67002 invoked from network); 6 Sep 2007 09:37:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Sep 2007 09:37:28 -0000 Authentication-Results: pb1.pair.com smtp.mail=hartmut@mysql.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=hartmut@mysql.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain mysql.com from 213.136.52.68 cause and error) X-PHP-List-Original-Sender: hartmut@mysql.com X-Host-Fingerprint: 213.136.52.68 mailgate-out2.mysql.com Linux 2.5 (sometimes 2.4) (4) Received: from [213.136.52.68] ([213.136.52.68:45245] helo=mailgate.mysql.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 98/2A-25837-65ACFD64 for ; Thu, 06 Sep 2007 05:37:27 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by mailgate.mysql.com (8.13.8/8.13.8) with ESMTP id l869awDC016595; Thu, 6 Sep 2007 11:36:58 +0200 Received: from mail.mysql.com ([10.222.1.99]) by localhost (mailgate.mysql.com [10.222.1.98]) (amavisd-new, port 10026) with LMTP id 08303-06; Thu, 6 Sep 2007 11:36:57 +0200 (CEST) Received: from [10.100.64.53] (10-100-64-53.mysql.internal [10.100.64.53]) (authenticated bits=0) by mail.mysql.com (8.13.3/8.13.3) with ESMTP id l869arwl024626 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 6 Sep 2007 11:36:55 +0200 Message-ID: <46DFCA39.6080201@mysql.com> Date: Thu, 06 Sep 2007 11:36:57 +0200 Organization: MySQL AB User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.9) Gecko/20061211 SeaMonkey/1.0.7 MIME-Version: 1.0 To: BuildSmart CC: PHP Developers Mailing List References: <46DF60BF.9090805@lerdorf.com> <5430305D-28D0-48C6-8A21-4E711CF21311@daleenterprise.com> <46DFB940.7040600@mysql.com> <3044D92E-CAB5-4BDD-82A7-FE6751B54C0D@daleenterprise.com> In-Reply-To: <3044D92E-CAB5-4BDD-82A7-FE6751B54C0D@daleenterprise.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd-new at mailgate.mysql.com Subject: Re: [PHP-DEV] proof of concept or undocumented? From: hartmut@mysql.com (Hartmut Holzgraefe) BuildSmart wrote: > my current test was to change it to use mysql_config to retrieve the=20 > library details which seemed to work. Does that work all the way back to MySQL 3.23.x? It is important that ext/mysql stays compatible with 3.23 and 4.0 as these client library versions are not supported by ext/mysqli ... > If it's been EOL'd or NLS'd then working on it doesn't make for a sound= =20 > decision and my time would be better spent learning how to replace mysq= l=20 > calls with mysqli calls if mysqli has been proven to work properly with= =20 > mysql-ssl connections. if you stay with the procedural interface then it comes down to 'just' *always* putting in the database handle as first parameter instead of doing so optionally as last parameter only ... See also http://forge.mysql.com/wiki/Converting_to_MySQLi --=20 Hartmut Holzgraefe, Principal Support Engineer . Discover new MySQL Monitoring & Advisory features at: http://www.mysql.com/products/enterprise/whats_new.html Hauptsitz: MySQL GmbH, Dachauer Str.37, 80335 M=FCnchen Gesch=E4ftsf=FChrer: Kaj Arn=F6 - HRB M=FCnchen 162140