defines.php 776 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. use Wikimedia\Rdbms\ILoadBalancer;
  3. use Wikimedia\Rdbms\IDatabase;
  4. /** @{
  5. * Database related constants
  6. */
  7. define( 'DBO_DEBUG', IDatabase::DBO_DEBUG );
  8. define( 'DBO_NOBUFFER', IDatabase::DBO_NOBUFFER );
  9. define( 'DBO_IGNORE', IDatabase::DBO_IGNORE );
  10. define( 'DBO_TRX', IDatabase::DBO_TRX );
  11. define( 'DBO_DEFAULT', IDatabase::DBO_DEFAULT );
  12. define( 'DBO_PERSISTENT', IDatabase::DBO_PERSISTENT );
  13. define( 'DBO_SYSDBA', IDatabase::DBO_SYSDBA );
  14. define( 'DBO_DDLMODE', IDatabase::DBO_DDLMODE );
  15. define( 'DBO_SSL', IDatabase::DBO_SSL );
  16. define( 'DBO_COMPRESS', IDatabase::DBO_COMPRESS );
  17. /** @} */
  18. /** @{
  19. * Valid database indexes
  20. * Operation-based indexes
  21. */
  22. define( 'DB_REPLICA', ILoadBalancer::DB_REPLICA );
  23. define( 'DB_MASTER', ILoadBalancer::DB_MASTER );
  24. /** @} */