summaryrefslogtreecommitdiff
path: root/includes/database.pear.inc
Commit message (Collapse)AuthorAge
* - Patch #13020 by chx: let Drupal handle multiple database layers.Dries Buytaert2004-12-30
| | | | - Removed the PEAR database backend. It's no longer being used/maintained.
* - Patch 13180 by chx: renamed check_query() to db_escape_string() and ↵Dries Buytaert2004-11-21
| | | | | | implemtented it properly per database backend. Read the manual for pg_escape_string: "Use of this function is recommended instead of addslashes()." Or read sqlite_escape_string: "addslashes() should NOT be used to quote your strings for SQLite queries; it will lead to strange results when retrieving your data."
* - Code improvements by Stefan: made all status messages consistent (and ↵Dries Buytaert2004-08-18
| | | | easier to translate).
* - Patch #9287 by JonBob: made the code style in the three database include ↵Dries Buytaert2004-07-14
| | | | files consistent with Drupal standards, and adds a wealth of Doxygen-style comments to aid developers in writing solid database access code using the API.
* - Patch #4950 by Stefan (and Morbus): made watchdog messages translatable.Dries Buytaert2004-06-02
|
* - Patch by Adrian: added support for multiple database connections.Dries Buytaert2004-04-30
|
* - Tidied up the DoxyGen comments. Patch by Kjartan.Dries Buytaert2003-12-08
|
* Patch by Ax to fixe and improve to the core doxygen PHPdoc:Dries Buytaert2003-11-24
| | | | | | | | | | | | * fixes all doxygen warnings [#]_ in the current code base + changes @param style from phpDocumentor (@param type $var desc) to doxygen (@param $var desc) + documents all undocumented parameters + escapes / fixes html warnings + fixes @defgroup in theme.inc * adds more groupings [#]_ + drupal_{set|get}_title, drupal_{set|get}_breadcrumb + pager.inc: pager_api (pager_query(), pager_display()), pager pieces * adds a new group "themeable" which contains all themeable functions.
* - Bugfix: prefix not prepended to sequences. Fixes bug #3639.Dries Buytaert2003-10-22
| | | | | | | | | | Make sure to write: db_next_id({table}_field); instead of: db_next_id(table_field);
* - Replaced some dead wood.Dries Buytaert2003-10-14
|
* - Fixed node_save() and user_save() bug introduced by table prefix changes.Dries Buytaert2003-07-21
| | | | | | Modified patches from Gerhard. - Changed the order of the checks in node_teaser(). Patch from Kobus.
* - Committed a slightly modified version of Slavica's table prefix patch.Dries Buytaert2003-07-10
|
* - Synced/unified the error reporting from database.mysql.inc and ↵Dries Buytaert2003-06-08
| | | | | | database.pear.inc. This makes debugging the PostgreSQL (and MSSQL) support somewhat easier.
* Patch by Ax:Dries Buytaert2003-03-16
| | | | | | | - db_query_range() in database.mysql.inc wasn't updated to match db_query(). - Fixed phpdoc.
* - All LIMIT queries must go through the pager or through db_query_range().Dries Buytaert2003-03-16
| | | | | | | | | | | | | | | The syntax for db_query_range() was enhanced so it matches db_query(). So you may pass extra arguments of the SQL statement which are checked via check_query() and then substituted into the SQL statement. After these optional arguments, you always pass $from and $count parameters which define your range. Most often, the $from is 0 and the count is the max number of records you want returned. Patch by Moshe. - The pager_query() function for PEAR was enhanced so that it adds proper GROUP BY statement counting the number of records to be paged. Patch by James Arthur. - MSSQL database scheme by Moshe.
* - Patch by Ulf: XHTML-ified the code.Dries Buytaert2003-01-21
|
* - Fixed db_query_range() in PEAR database abstraction layer. Patch by James.Dries Buytaert2002-11-09
|
* - Added a db_query_range function. Patch by Natrak, slightly modified.Dries Buytaert2002-11-09
|
* - removing whitespace (+testing still).Kjartan Mannes2002-11-06
|
* - Committed Jeremy's incarnation of the statistics module. Last minutesDries Buytaert2002-10-13
| | | | | | | | | | | | | | | changes include: * a couple of coding style changes, renamed some "stats" into "statistics", etc. * removed the "Who's online" block from the user module. * added db_affected_rows() to the resp. database abstraction layers and made the statistics module use db_affected_rows() instead. * added update logic to "update.php".
* - Fixed function prototype of db_error(). Patch by James.Dries Buytaert2002-08-26
| | | | One-liners are great! :)
* - Applied a (modified) version of Marco's SQL sequence patch.Dries Buytaert2002-08-20
|
* - Ran the code through 'scripts/code-clean.sh': removed trailing whitespaceDries Buytaert2002-05-20
| | | | (and possibly tabs).
* - updating the PEAR db_query functions to the new format.Kjartan Mannes2002-05-01
|
* - bug fixes:Kjartan Mannes2002-04-22
| | | | | | | | | | * fixed mails not being parsed properly. * tracker now shows user name when you view your own recent comments. * link to submission queue now points to the right place. * fixed jabber module. * theme is now activated when changed. - applied Gerhards coding style patch.
* - Added "query log" functionality to Drupal. Inspired by weitzman'sDries Buytaert2001-12-23
| | | | code/patch.
* - changed the PEAR version of db_query() to act similar to the MySQL one.Kjartan Mannes2001-11-13
| | | | If there is an SQL error db_query() will not return a result.
* - Made some improvements/updates to the database abstraction layer.Dries Buytaert2001-10-31