aboutsummaryrefslogtreecommitdiffstats
path: root/includes/db
Commit message (Collapse)AuthorAgeFilesLines
* Bug 35162 - Change in Database api break extension MSSQLBackCompatSam Reed2012-03-221-3/+1
| | | | | | | | | $canonicalDBTypes is probably superfluous information, but doesn't harm as a shortcut Ping r108051 Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/113601
* Reverted r106025 and friends (r106370, r106373, r108060, r108337, r106419). ↵Aaron Schulz2012-02-031-49/+5
| | | | | | | This can go in 1.20 if a Postgres person has time to look at it. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/110690
* Strict Standards: Declaration of DatabaseOracle::sourceStream() should be ↵Sam Reed2012-02-021-1/+5
| | | | | | | | | compatible with that of DatabaseBase::sourceStream() Followup r108768, and also use $inputCallback Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/110575
* Fix doxygen docs before REL1_19 branchingAntoine Musso2012-02-012-2/+2
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/110518
* rv r87948 "fix backtrace on SQL error"Antoine Musso2012-01-301-4/+0
| | | | | | | | | | | Looks unneeded nowaday. Backtrace is correctly appended to HTML output or CLI output when $wgShowDBErrorBacktrace is true. Not sure what it was supposed to fix. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/110308
* Pass some more __METHOD__ to DatabaseBase::begin() and DatabaseBase::commit()Alexandre Emsenhuber2012-01-182-3/+3
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/109357
* Followup to r108744OverlordQ2012-01-121-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/108779
* Give sql.php eval.php type scrollbackSam Reed2012-01-122-7/+6
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/108774
* Followup r108768, callign the right callback helps tooSam Reed2012-01-121-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/108773
* Add $inputCsllback to sourceStream(), to return full lines back to the ↵Sam Reed2012-01-121-3/+5
| | | | | | | | | calling function Will be used soooon Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/108768
* Reverted r108743 per CR comment. This should at least be discussed first.Aaron Schulz2012-01-122-11/+16
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/108745
* Kill "* @return void"Sam Reed2012-01-122-16/+11
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/108743
* Revert r108603, which was itself a revert of r107376, r107994. Before ↵Max Semenik2012-01-113-24/+48
| | | | | | | considering something unneeded, please ask first ;) Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/108671
* Reverts MySQL stored procedure supportAntoine Musso2012-01-113-48/+24
| | | | | | | | | | | | | | | | | | | This is reverting the work done by MaxSem to support stored procedures and stored function in MySQL. The reasons are: - it is not needed yet - tests are not functionals - alter the stable include/db/Database.php and drop support for ';;' So please create a branch to work on it and merge it back in trunk once we have branched 1.19 :-) I have opened bug 33654 to track this enhancement request. Reverts r107376, r107994. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/108603
* No need of $wgDBmwschema after r108060Platonides2012-01-071-2/+2
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/108337
* Couple of fname -> __method__Chad Horohoe2012-01-061-9/+7
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/108265
* (bug 32787) Add DB name to debug output. Based on patch by SolitariusChad Horohoe2012-01-061-5/+3
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/108263
* Followup r107932Sam Reed2012-01-051-1/+1
| | | | | | | Check random class to be isntantiated is a subclass of DatabaseBase Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/108164
* re r106025 — apply follow up from Luca FulchirMark A. Hershberger2012-01-041-6/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/108060
* follow up r107932 with w/s fixesMark A. Hershberger2012-01-041-3/+3
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/108051
* Fix Bug 33384 - database drivers cannot be provided by extensionMark A. Hershberger2012-01-031-1/+3
| | | | | | | | | Author: Adam Wight Love the simplicity of this fix. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/107932
* Added support for stored procedures/functions to MySQL:Max Semenik2011-12-273-24/+48
| | | | | | | | | | | * Refactored DatabaseBase::sourceStream(), made it possible for descendant classes to alter its behaviour w/o having to redo it completely like Oracle does. * MySQL class now supports specifying DELIMITER. * Thrown away the mess of catering for double semicolon. If it's a problem, fix your .sql files! * Haven't actually touched Oracle. * Tests! Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/107376
* * removed manual cascading of recentchanges on page deleteJure Kajzer2011-12-201-3/+1
| | | | | | | | | * fixed purgeCache bug in updater * TESTED install/update from 1.18/phpunit Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/106806
* Fixes to DB2 support:Leons Petrazickis2011-12-161-16/+179
| | | | | | | | | | | * Database schema update to reflect 1.18 and 1.19 changes. * Better support for numRows() and dataSeek() functions on DB2 result sets. * Updates to DB2 installer and updater classes. * Developed by Andre, Diego, and other students at Minho University and reviewed by me. * See r85885, r85896. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/106480
* Foooollowup r106373 - update commentNiklas Laxström2011-12-161-3/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/106419
* Simplify a bit the code of r106025Platonides2011-12-151-9/+6
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/106373
* Use the canonical name of the settingPlatonides2011-12-151-4/+4
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/106370
* Bug 16794 - $wgSharedDB PostgreSQL supportMark A. Hershberger2011-12-131-5/+59
| | | | | | | Updated fix from Luca Fulchir Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/106025
* add missing deprecation notices and added deprecation version to existing onesJeroen De Dauw2011-12-133-4/+7
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/105985
* * (bug 32786) Fix backwards compatibility for extensions using 1.17's ↵Brion Vibber2011-12-061-0/+13
| | | | | | | | | | Database::newFromType() Patch based on https://bugzilla.wikimedia.org/attachment.cgi?id=9604 by Solitarius -- thanks! Added a conversion for a changed tablePrefix / tableprefix bit. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/105372
* More documentation of parameters following up r104591Sam Reed2011-12-056-56/+55
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/105189
* Adding new debugging toolbarJohn Du Hart2011-12-041-0/+4
| | | | | | | Needs a UI cleanup still, but for the most part is working. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/105122
* Per Timo, the second line would wipe out the firstSam Reed2011-12-021-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/105010
* Reverting r103706Sam Reed2011-12-023-20/+8
| | | | | | | | | Only seemingly supported by MySQL, and likely a seldom used function Not worth trying to support it, as other non mysql db's would need workarounds, and that's just not happening Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/104926
* Moar documentationsSam Reed2011-11-298-5/+180
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/104591
* Bit more documentationSam Reed2011-11-291-1/+16
| | | | | | | (test commit also) Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/104516
* Improve comment from r104047Sam Reed2011-11-251-1/+1
| | | | | | | | | Also bump MySQL min requirements to 5.0.2 to save an extra conditional >= 5.0.2 has been around ages.. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/104209
* Added Database::getServerUptime() function to return seconds of uptimeAaron Schulz2011-11-242-0/+20
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/104190
* Added wasLockTimeout() DB function. All our DBMS can implement this accept ↵Aaron Schulz2011-11-232-0/+19
| | | | | | | for PG. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/104108
* Reverted 'lockTimeout' option from r104069: table_lock_wait_timeout is ↵Aaron Schulz2011-11-232-6/+0
| | | | | | | GLOBAL and the other one requires an innoDB plugin...so that was useless. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/104087
* Factored setTimeout() into setSessionOptions() and deprecated the former. In ↵Aaron Schulz2011-11-232-8/+30
| | | | | | | the future we can batch the queries perhaps. Also added a lock wait timeout option. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/104069
* Kill mysql4 specific code from DatabaseMysqlSam Reed2011-11-231-47/+20
| | | | | | | Set minimum version of mysql in MysqlInstaller Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/104047
* * (bug 8859) Database::update should take array of tables tooSam Reed2011-11-193-8/+20
| | | | | | | | | Original patch by Andrew Dunbar Also apply in DatabaseOracle and DB2 code as they override update Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/103706
* Followup r102910Sam Reed2011-11-141-1/+1
| | | | | | | Make the link to the MW page https only Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102965
* Bug 32379 - DatabaseError.php is hardcoding httpSam Reed2011-11-131-4/+4
| | | | | | | Also tidy up a couple of returns (per others in method, and/or parents) Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102910
* Added rollback-related comment to nextSequenceValue()Aaron Schulz2011-11-131-0/+4
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102887
* Fix syntax error I introduced from r102683Sam Reed2011-11-101-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102686
* Add $fname to tableExistsSam Reed2011-11-106-10/+11
| | | | | | | Pass $fname/__METHOD__ in in upstream callers Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102683
* some more oracle-phpunit-fu (should not affect non-oracle)Jure Kajzer2011-11-102-2/+2
| | | | | | | | | | | * CloneDatabase - already droping tables in internal function, removed duplicate action * DatabaseOracle - stopped ignoring "temporary" parameter * added two parameters to phpunit (use-normal-tables & reuse-db), default actions stay the same * with reuse-db oracle phpunit test run on oracle down to 1m 20s ;) Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102652
* * Added getInfinity to DatabaseOracleJure Kajzer2011-11-101-1/+7
| | | | | | | | | * Block - replaced 'infinity' strings with DB->getInfinity calls * UploadStash - added sequence value generation for ID Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/102625