Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 12 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | use Wikimedia\Rdbms\IDatabase; |
4 | use Wikimedia\Rdbms\ILoadBalancer; |
5 | |
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 | /** @} */ |
21 | |
22 | /** @{ |
23 | * Valid database indexes |
24 | * Operation-based indexes |
25 | */ |
26 | define( 'DB_REPLICA', ILoadBalancer::DB_REPLICA ); |
27 | /** @since 1.36 */ |
28 | define( 'DB_PRIMARY', ILoadBalancer::DB_PRIMARY ); |
29 | /** @} */ |