Commit graph

25 commits

Author SHA1 Message Date
Tim Starling
412eda0517 Correcting bugs due to double-prefixing table names. Removing obsolete Database member functions. Adding comments to Database.php 2004-10-24 07:10:33 +00:00
Domas Mituzas
ce4cdc3469 pass unescaped query string to Database::insert(), double escaping is not needed 2004-09-30 14:40:06 +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
Domas Mituzas
183ea63092 strip profile name in case it exceeds db storage size (at 255 mark) 2004-09-01 12:48:09 +00:00
Domas Mituzas
36530b6e55 get rid of all INSERT IGNORE in includes/, change into Database::insertArray 2004-09-01 12:29:07 +00:00
Tim Starling
4097523205 Fixed notice due to main-cleanup being entered at level 0 2004-08-27 13:42:09 +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
3ed08cf6f6 Sort results by total time 2004-08-21 13:57:47 +00:00
Brion Vibber
333ad2a3ab Fix notices from stupid code in last commit 2004-08-21 09:25:24 +00:00
Brion Vibber
f597b18c42 Record and report memory usage change in profiling.
(Only works on PHP 4.3.2 or higher with --enable-memory-limit, otherwise reports 0.)
2004-08-21 08:27:03 +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
Tim Starling
1a5b4b7000 Fixed profiling 2004-05-26 12:30:36 +00:00
Tim Starling
7ef0896ad7 Fix notice 2004-03-23 12:06:10 +00:00
Brion Vibber
0332f4c598 Fix for compatibility with short_open_tag = Off 2004-02-18 02:15:00 +00:00
Tim Starling
96f02ac694 Got rid of some notices 2004-01-17 11:31:48 +00:00
Mr. E23
587d3b9e9a Added missing global for $wgProfileToDatabase. 2003-12-01 00:09:05 +00:00
Tim Starling
adf48cbb91 Moved logToDB to inside Profiler class 2003-11-19 00:48:40 +00:00
Mr. E23
ab9a00310f Added feature to log sums from profiling data to the DB 2003-11-18 23:52:09 +00:00
Tim Starling
46787701ce Nov. branch merge. Various features backported from stable, various bug fixes. 2003-11-09 11:45:12 +00:00
Tim Starling
ee4c7f2f49 Various fixes, see the version of [[m:Development status]] before this commit for details 2003-11-02 13:57:24 +00:00
Tim Starling
0f6234916a Translation checker added (nl: fixed); more conditional inclusion; misc. tweaks 2003-10-25 08:01:33 +00:00
Tim Starling
ef8c8d5f2b fixed profiling; fixed wfMsg() use of memcached; put block log in initialdata.sql 2003-10-20 13:39:40 +00:00
Tim Starling
d8cc830c4a block/unblock log; split off profiling into Profiling.php and broke it (turn it off for now) 2003-10-16 13:30:45 +00:00