From 0f21545969752d6f67097143c42dad463a5198f4 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Tue, 24 Mar 2015 00:39:19 +0100 Subject: [PATCH 1/2] adds mysqli_stmt_* aliases to manual-lookup.sqlite --- gen-phpweb-sqlite-db.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gen-phpweb-sqlite-db.php b/gen-phpweb-sqlite-db.php index 6f68a3f..474a4b2 100644 --- a/gen-phpweb-sqlite-db.php +++ b/gen-phpweb-sqlite-db.php @@ -146,8 +146,9 @@ function scan($dir, $lang) // Hack until PhD generates ids from the DocBook files, and error.php uses them // $hackme contains class [method] prefixes with their function counterparts $hackme = array( - 'mysqli-result.' => 'mysqli-', 'mysqli.' => 'mysqli-', + 'mysqli-result.' => 'mysqli-', + 'mysqli-stmt.' => 'mysqli-stmt-' ); foreach ($hackme as $class => $procedural) { if (false !== strpos($keyword, $class)) { From ae92ef1edbdae92a33d528f9b842b85c8ed620a8 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Tue, 24 Mar 2015 20:26:17 +0100 Subject: [PATCH 2/2] adds procedural mysqli_driver::* aliases to manual-lookup.sqlite --- gen-phpweb-sqlite-db.php | 1 + 1 file changed, 1 insertion(+) diff --git a/gen-phpweb-sqlite-db.php b/gen-phpweb-sqlite-db.php index 474a4b2..cc3a609 100644 --- a/gen-phpweb-sqlite-db.php +++ b/gen-phpweb-sqlite-db.php @@ -147,6 +147,7 @@ function scan($dir, $lang) // $hackme contains class [method] prefixes with their function counterparts $hackme = array( 'mysqli.' => 'mysqli-', + 'mysqli-driver.' => 'mysqli-', 'mysqli-result.' => 'mysqli-', 'mysqli-stmt.' => 'mysqli-stmt-' );