Commit graph

25 commits

Author SHA1 Message Date
River Tarnell
b817c0c15f merge ORACLE_WORK. sorry, this may break some parts of MySQL, i did not test extensively. 2005-08-02 13:35:19 +00:00
Brion Vibber
b0c41ad13b * (bug 2885) Fix fatal errors and notices in PHP 5.1.0beta3
* (bug 2931) Fix additional notices on reference use in PHP 4.4.0
2005-07-22 11:29:15 +00:00
River Tarnell
f6a6230890 try disabling persistant connections 2005-07-07 03:01:35 +00:00
Antoine Musso
157861bc31 fix some issues with phpdoc 2005-07-05 21:22:25 +00:00
River Tarnell
1f2587c66f don't try to redeclare classes 2005-07-02 23:50:09 +00:00
Ævar Arnfjörð Bjarmason
c4855d9284 * Add a trailing newline in die() 2005-04-13 08:18:35 +00:00
Ævar Arnfjörð Bjarmason
273671cf32 Adding cache related stuff to a new 'Cache' subpackage 2005-04-12 01:29:21 +00:00
Tim Starling
52a4214b20 Smarter, more flexible cache type selection. Moved entire contents of ObjectCache.php to BagOStuff.php, to make way for some more generic code. 2005-04-09 10:30:45 +00:00
Tim Starling
0cc1d7fd54 Don't clear objectcache on every query, I doubt there was any good reason for doing so 2005-03-27 17:26:55 +00:00
Brion Vibber
3caa8e7404 eAccelerator caching support, patches from Jamie Bliss 2005-03-02 01:54:05 +00:00
Brion Vibber
90d50200e8 * (bug 1431) Avoid redundant objectcache garbage collection
Based on zigger's patch: http://bugzilla.wikimedia.org/attachment.cgi?id=238&action=view
2005-02-07 03:03:26 +00:00
Evan Prodromou
4b42f18b66 Removed CVS keywords from files, to make merging between branches
easier. Interpolated keywords cause lots of conflicts and headaches at
merge time for older (<1.12.x) CVS versions.
2004-11-29 18:25:30 +00:00
Brion Vibber
b3ca6226ca Use compression in the objectcache table if zlib support is available.
Since we'll be using this for the parser cache when memcached is not
set up, we'll want to actually put junk in there and saving space is nice.
2004-11-22 01:33:47 +00:00
Tim Starling
d00451fa19 Fixed bug with Turck MMCache wrapper, and made it the default where Turck is installed (except if memcached is specified) 2004-10-23 10:21:23 +00:00
Antoine Musso
ba2afcd9fa Split files and classes in different packages for phpdocumentor. I probably changed some double quotes to single and used function foo () { shema 2004-09-03 23:00:01 +00:00
Antoine Musso
90155b8a97 Changing comments layout preparing for generated documentation with Phpdocumentor 2004-09-02 23:28:24 +00:00
Tim Starling
1b8462ac58 Table prefix bugs 2004-08-27 13:40:27 +00:00
Antoine Musso
3d60242fb5 massive double to single quotes conversion. I have not noticed any bug after a lot of testing 2004-08-22 17:24:50 +00:00
Tim Starling
bcb4f2c046 New feature: Turck MMCache shared memory as a lightweight, windows-compatible replacement for memcached 2004-08-21 13:59:48 +00:00
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