Skip to content
Snippets Groups Projects
Commit 3ca31d04 authored by root's avatar root Committed by agata
Browse files

tolte modifiche che permettono il funzionamento di nextgen-gallery

parent ce19152e
No related branches found
No related tags found
No related merge requests found
......@@ -313,6 +313,12 @@ class hyperdb extends wpdb {
. ')\W([\w-]+)\W/is', $q, $maybe) )
return $maybe[1];
// SHOW TABLES LIKE (used in some plugins)
if ( preg_match('/^\s*'
. 'SHOW\s+TABLES\s+LIKE\s+'
. '\W(\w+)\W/is', $q, $maybe) )
return $maybe[1];
// Big pattern for the rest of the table-related queries in MySQL 5.0
if ( preg_match('/^\s*(?:'
. '(?:EXPLAIN\s+(?:EXTENDED\s+)?)?SELECT.*?\s+FROM'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment