Move ILoadBalancer to Rdbms namespace
[mediawiki.git] / includes / libs / rdbms / defines.php
blobc3367e78498faf74df36f6344d413554f97b6377
1 <?php
3 use Wikimedia\Rdbms\ILoadBalancer;
5 /**@{
6 * Database related constants
7 */
8 define( 'DBO_DEBUG', IDatabase::DBO_DEBUG );
9 define( 'DBO_NOBUFFER', IDatabase::DBO_NOBUFFER );
10 define( 'DBO_IGNORE', IDatabase::DBO_IGNORE );
11 define( 'DBO_TRX', IDatabase::DBO_TRX );
12 define( 'DBO_DEFAULT', IDatabase::DBO_DEFAULT );
13 define( 'DBO_PERSISTENT', IDatabase::DBO_PERSISTENT );
14 define( 'DBO_SYSDBA', IDatabase::DBO_SYSDBA );
15 define( 'DBO_DDLMODE', IDatabase::DBO_DDLMODE );
16 define( 'DBO_SSL', IDatabase::DBO_SSL );
17 define( 'DBO_COMPRESS', IDatabase::DBO_COMPRESS );
18 /**@}*/
20 /**@{
21 * Valid database indexes
22 * Operation-based indexes
24 define( 'DB_REPLICA', ILoadBalancer::DB_REPLICA );
25 define( 'DB_MASTER', ILoadBalancer::DB_MASTER );
26 /**@}*/