| Commit message (Collapse) | Author | Age |
|
|
|
| |
- Removed the PEAR database backend. It's no longer being used/maintained.
|
|
|
|
|
|
| |
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."
|
|
|
|
| |
easier to translate).
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
| |
Make sure to write:
db_next_id({table}_field);
instead of:
db_next_id(table_field);
|
| |
|
|
|
|
|
|
| |
Modified patches from Gerhard.
- Changed the order of the checks in node_teaser(). Patch from Kobus.
|
| |
|
|
|
|
|
|
| |
database.pear.inc.
This makes debugging the PostgreSQL (and MSSQL) support somewhat easier.
|
|
|
|
|
|
|
| |
- db_query_range() in database.mysql.inc wasn't updated to match
db_query().
- Fixed phpdoc.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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".
|
|
|
|
| |
One-liners are great! :)
|
| |
|
|
|
|
| |
(and possibly tabs).
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
code/patch.
|
|
|
|
| |
If there is an SQL error db_query() will not return a result.
|
|
|