Commit graph

6 commits

Author SHA1 Message Date
Tim Starling
ac549401d4 * Support for table name prefixes throughout the code. No support yet for converting static SQL, which also means no installation. But it has been tested by creating the tables in the ordinary way and then renaming them
* DB_WRITE now called DB_MASTER, DB_READ now called DB_SLAVE
* Converted to use SQL wrapper functions instead of direct SQL in various places
* Experimental method for preserving the chronological order of events when slave servers are used. Untested.
* Fixes to the new post-parse existence test feature
* Some.. other stuff
2004-07-18 08:48:43 +00:00
Tim Starling
b96b707efa OOP calling convention for database functions. DBMS abstraction implemented by means of functions instead of global variables, PostgreSQL object converted to a subclass instead of a drop-in replacement. Also the beginnings of a flexible table name feature. 2004-07-10 03:09:26 +00:00
Brion Vibber
88d7463ce2 The ampersand for references is unnecessary when the function is declared to accept references as parameters. Further, it produces a warning on some PHP versions (such as the 4.3.6 that comes with Fedora Core 2). Removing... 2004-06-12 03:17:39 +00:00
Domas Mituzas
19fd8735e4 * abstraction layer fixups
* use fetchobject instead of fetchrow
* fix time desync between time() and NOW(). use time()
2004-06-11 14:40:52 +00:00
Domas Mituzas
bb35912240 Use DatabaseFunctions layer instead of copy-paste one :) 2004-06-10 13:03:37 +00:00
Brion Vibber
0c2fba0ac4 Add an objectcache table for limited caching when memcached isn't
available. Currently using for the message cache to avoid reading
every message separately. This now is only slightly slower than
memcached in my tests when $wgUseDatabaseMessages is enabled, so
it's a bit of a speedup for common hosts.
2004-05-09 05:12:55 +00:00