Skip to content
Snippets Groups Projects
  • lucha's avatar
    856ee5ba
    patches clean up and reorganization · 856ee5ba
    lucha authored
    - moved themes related patches to patches/themes (yet to check)
    - moved wp core patches to patches/core
    - split the mega-patch for hyperdb in the individual edits. I removed the one related to nextgen-gallery since I think it is not relevant anymore (but I might be wrong)
    856ee5ba
    History
    patches clean up and reorganization
    lucha authored
    - moved themes related patches to patches/themes (yet to check)
    - moved wp core patches to patches/core
    - split the mega-patch for hyperdb in the individual edits. I removed the one related to nextgen-gallery since I think it is not relevant anymore (but I might be wrong)
0106-a-few-fixes-to-the-global-wpdb_hash-instance-moved-i.patch 751 B
From b125a7d25e2d6d9b4ee0899fce6de8522847c226 Mon Sep 17 00:00:00 2001
From: root <root@rivolta.investici.org>
Date: Sun, 6 Mar 2011 01:40:07 +0000
Subject: [PATCH 106/229] a few fixes to the global wpdb_hash instance (moved
 into $wpdb)

---
diff --git a/wp-content/db.php b/wp-content/db.php
index f900d305..f819e225 100644
--- a/wp-content/db.php
+++ b/wp-content/db.php
@@ -51,6 +51,13 @@ define( 'HYPERDB_CONN_HOST_ERROR', 2003 );   // Can't connect to MySQL server on
 define( 'HYPERDB_SERVER_GONE_ERROR', 2006 ); // MySQL server has gone away
 
 class hyperdb extends wpdb {
+
+        /**
+	 * A/I patch! 
+	 * store a FlexiHash() instance here.
+	 */
+	var $hash_map;
+
 	/**
 	 * The last table that was queried
 	 * @var string
-- 
2.17.1