[PATCH] mysqli interoperability

From: Date: Sat, 02 Sep 2006 18:24:46 +0000
Subject: [PATCH] mysqli interoperability
Groups: php.internals 
Request: Send a blank email to internals+get-25509@lists.php.net to get a copy of this message
Hi everyone, I'm working on an extension for an RDF triple store that is built on top of MySQL 5+, and I'd like to be able to share the MySQL connection with mysqli. Unfortunately, since the mysqli header isn't installed, I can't seem to find a way that could withstand changes in mysqli. What I've come up with is to create a trivial function which will take a (zval *) and return a (MYSQL *). I know it's a bit of a hack, but I was trying to be as unintrusive as possible. Patch is attached. -Evan Nemerson

« previous php.internals (#25509) next »