Merge "docs: Fix typo"
[mediawiki.git] / includes / libs / rdbms / defines.php
blob11a1cef9541fa1b8a7331f440f5545b2ac5a186b
1 <?php
3 use Wikimedia\Rdbms\IDatabase;
4 use Wikimedia\Rdbms\ILoadBalancer;
6 /** @{
7 * Database related constants
8 */
9 define( 'DBO_DEBUG', IDatabase::DBO_DEBUG );
10 define( 'DBO_NOBUFFER', IDatabase::DBO_NOBUFFER );
11 define( 'DBO_IGNORE', IDatabase::DBO_IGNORE );
12 define( 'DBO_TRX', IDatabase::DBO_TRX );
13 define( 'DBO_DEFAULT', IDatabase::DBO_DEFAULT );
14 define( 'DBO_PERSISTENT', IDatabase::DBO_PERSISTENT );
15 define( 'DBO_SYSDBA', IDatabase::DBO_SYSDBA );
16 define( 'DBO_DDLMODE', IDatabase::DBO_DDLMODE );
17 /** @deprecated since 1.39, use the "ssl" parameter */
18 define( 'DBO_SSL', IDatabase::DBO_SSL );
19 define( 'DBO_COMPRESS', IDatabase::DBO_COMPRESS );
20 /** @} */
22 /** @{
23 * Valid database indexes
24 * Operation-based indexes
26 define( 'DB_REPLICA', ILoadBalancer::DB_REPLICA );
27 /** @since 1.36 */
28 define( 'DB_PRIMARY', ILoadBalancer::DB_PRIMARY );
29 /** @} */