Changes from trunk/src/wp-includes/wp-db.php at r33455 to branches/4.3/src/wp-includes/wp-db.php at r33991
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.3/src/wp-includes/wp-db.php
r33455 r33991 2871 2871 . '|UPDATE(?:\s+LOW_PRIORITY)?(?:\s+IGNORE)?' 2872 2872 . '|DELETE(?:\s+LOW_PRIORITY|\s+QUICK|\s+IGNORE)*(?:\s+FROM)?' 2873 . ')\s+((?:[0-9a-zA-Z$_.` ]|[\xC2-\xDF][\x80-\xBF])+)/is', $query, $maybe ) ) {2873 . ')\s+((?:[0-9a-zA-Z$_.`-]|[\xC2-\xDF][\x80-\xBF])+)/is', $query, $maybe ) ) { 2874 2874 return str_replace( '`', '', $maybe[1] ); 2875 2875 } … … 2879 2879 . 'SHOW\s+TABLE\s+STATUS.+(?:LIKE\s+|WHERE\s+Name\s*=\s*)' 2880 2880 . '|SHOW\s+(?:FULL\s+)?TABLES.+(?:LIKE\s+|WHERE\s+Name\s*=\s*)' 2881 . ')\W((?:[0-9a-zA-Z$_.` ]|[\xC2-\xDF][\x80-\xBF])+)\W/is', $query, $maybe ) ) {2881 . ')\W((?:[0-9a-zA-Z$_.`-]|[\xC2-\xDF][\x80-\xBF])+)\W/is', $query, $maybe ) ) { 2882 2882 return str_replace( '`', '', $maybe[1] ); 2883 2883 } … … 2898 2898 . '|(?:GRANT|REVOKE).*ON\s+TABLE' 2899 2899 . '|SHOW\s+(?:.*FROM|.*TABLE)' 2900 . ')\s+\(*\s*((?:[0-9a-zA-Z$_.` ]|[\xC2-\xDF][\x80-\xBF])+)\s*\)*/is', $query, $maybe ) ) {2900 . ')\s+\(*\s*((?:[0-9a-zA-Z$_.`-]|[\xC2-\xDF][\x80-\xBF])+)\s*\)*/is', $query, $maybe ) ) { 2901 2901 return str_replace( '`', '', $maybe[1] ); 2902 2902 }
Note: See TracChangeset
for help on using the changeset viewer.