From 63601400e476c6cf43d985f3e7b9864681695ed4 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Fri, 18 Jan 2013 16:46:04 +0100 Subject: Update to MediaWiki 1.20.2 this update includes: * adjusted Arch Linux skin * updated FluxBBAuthPlugin * patch for https://bugzilla.wikimedia.org/show_bug.cgi?id=44024 --- includes/dao/IDBAccessObject.php | 55 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 includes/dao/IDBAccessObject.php (limited to 'includes/dao') diff --git a/includes/dao/IDBAccessObject.php b/includes/dao/IDBAccessObject.php new file mode 100644 index 00000000..e30522a5 --- /dev/null +++ b/includes/dao/IDBAccessObject.php @@ -0,0 +1,55 @@ + higher QoS) + const READ_LATEST = 1; // read from the master + const READ_LOCKING = 3; // READ_LATEST and "FOR UPDATE" + + // Convenience constant for callers to explicitly request slave data + const READ_NORMAL = 0; // read from the slave + + // Convenience constant for tracking how data was loaded (higher => higher QoS) + const READ_NONE = -1; // not loaded yet (or the object was cleared) +} -- cgit v1.2.2