MediaWiki  REL1_20
Database

This file deals with database interface functions and query specifics/optimisations. More...

Classes

class  Blob
 Utility classThis allows us to distinguish a blob from a normal string and an array of strings. More...
class  DatabaseBase
 Database abstraction object. More...
class  DatabaseIbm_db2
 Primary database interface. More...
class  DatabaseMssql
class  DatabaseMysql
 Database abstraction object for mySQL Inherit all methods and properties of Database::Database() More...
class  DatabaseOracle
class  DatabasePostgres
class  DatabaseSqlite
class  DatabaseSqliteStandalone
 This class allows simple acccess to a SQLite database independently from main database settings. More...
class  DBConnectionError
class  DBError
 Database error base class. More...
class  DBObject
 Utility class. More...
class  DBQueryError
class  DBUnexpectedError
interface  Field
 Base for all database-specific classes representing information about database fields. More...
class  IBM_DB2Blob
 Wrapper around binary large objects. More...
class  IBM_DB2Field
 This represents a column in a DB2 database. More...
class  IBM_DB2Result
 Wrapper to address lack of certain operations in the DB2 driver ( seek, num_rows ) More...
class  LBFactory
 An interface for generating database load balancers. More...
class  LBFactory_Multi
 A multi-wiki, multi-master factory for Wikimedia and similar installations. More...
class  LoadBalancer
 Database load balancing object. More...
interface  LoadMonitor
 An interface for database load monitoring. More...
class  LoadMonitor_MySQL
 Basic MySQL load monitor with no external dependencies Uses memcached to cache the replication lag for a short time. More...
class  MssqlField
 Utility class. More...
class  MssqlResult
 The MSSQL PHP driver doesn't support sqlsrv_num_rows, so we recall all rows into an array and maintain our own cursor index into that array...This is similar to the way the Oracle driver handles this same issue. More...
class  MySQLField
 Utility class. More...
class  ORAField
 Utility class. More...
class  ORAResult
 The oci8 extension is fairly weak and doesn't support oci_num_rows, among other things. More...
class  PostgresTransactionState
 Used to debug transaction processing Only used if $wgDebugDBTransactions is true. More...
class  ResultWrapper
 Result wrapper for grabbing data queried by someone else. More...
class  SavepointPostgres
 Manage savepoints within a transaction. More...
class  SQLiteField

Files

file  CloneDatabase.php
 

Helper class for making a copy of the database, mostly for unit testing.


file  Database.php
 

Base interface for all DBMS-specific code.


file  Database.php
 

Base interface for all DBMS-specific code.


file  DatabaseError.php
 

This file contains database error classes.


file  DatabaseIbm_db2.php
 

This is the IBM DB2 database abstraction layer.


file  DatabaseMssql.php
 

This is the MS SQL Server Native database abstraction layer.


file  DatabaseMysql.php
 

This is the MySQL database abstraction layer.


file  DatabaseOracle.php
 

This is the Oracle database abstraction layer.


file  DatabasePostgres.php
 

This is the Postgres database abstraction layer.


file  DatabaseSqlite.php
 

This is the SQLite database abstraction layer.


file  DatabaseUtility.php
 

This file contains database-related utiliy classes.


file  IDBAccessObject.php
 

This file contains database access object related constants.


file  LBFactory.php
 

Generator of database load balancing objects.


file  LBFactory_Multi.php
 

Advanced generator of database load balancing objects for wiki farms.


file  LBFactory_Single.php
 

Simple generator of database connections that always returns the same object.


file  LoadBalancer.php
 

Database load balancing.


file  LoadMonitor.php
 

Database load monitoring.



Detailed Description

This file deals with database interface functions and query specifics/optimisations.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html