Allow truncation of multiple tables. This also provides for a way to avoid risky keywords like CASCADE for Postgres. For Postgres, use RESTART IDENTITY, which has been supported since Postgres 8.4. Avoid TRUNCATE/DELETE queries for empty temp tables, which is useful for integrations tests that frequently call this method. Reorganize and tweak the regexes in Database::getTempWrites(). It now recognizes multi-table DROP/TRUNCATE (Postgres-style). Change-Id: Idd49f118b20ea5a0f7a3e8c00369aabcd45dd44e |
||
|---|---|---|
| .. | ||
| composer | ||
| eventrelayer | ||
| filebackend | ||
| http | ||
| iterators | ||
| lockmanager | ||
| Message | ||
| mime | ||
| objectcache | ||
| ParamValidator | ||
| rdbms | ||
| redis | ||
| services | ||
| stats | ||
| uuid | ||
| virtualrest | ||
| APACHE-LICENSE-2.0.txt | ||
| ArrayUtils.php | ||
| Cookie.php | ||
| CookieJar.php | ||
| CryptHKDF.php | ||
| CSSMin.php | ||
| DeferredStringifier.php | ||
| Deflate.php | ||
| DnsSrvDiscoverer.php | ||
| ExplodeIterator.php | ||
| GenericArrayObject.php | ||
| HashRing.php | ||
| HtmlArmor.php | ||
| HttpStatus.php | ||
| JavaScriptMinifier.php | ||
| jsminplus.php | ||
| MapCacheLRU.php | ||
| MappedIterator.php | ||
| MemoizedCallable.php | ||
| MessageSpecifier.php | ||
| MWCryptHash.php | ||
| ProcessCacheLRU.php | ||
| README | ||
| ReplacementArray.php | ||
| ReverseArrayIterator.php | ||
| RiffExtractor.php | ||
| StaticArrayWriter.php | ||
| StatusValue.php | ||
| StringUtils.php | ||
| Timing.php | ||
| UDPTransport.php | ||
| Xhprof.php | ||
| XhprofData.php | ||
The classes in this directory ./includes/libs are considered standalone from the remainder of the MediaWiki codebase. They do not call on any other portions of MediaWiki code, and can be used in other projects without dependency issues.