diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-04-26 14:12:59 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-04-26 14:12:59 +0000 |
commit | b6480251b89f75d4038f45a0c6f0e33833ec2307 (patch) | |
tree | d88b0e11c345b9fab42dfd4ab2d2e12f01b20092 | |
parent | b8664945dc3cbbb25f33b7664306739f96cde5b9 (diff) | |
download | brdo-b6480251b89f75d4038f45a0c6f0e33833ec2307.tar.gz brdo-b6480251b89f75d4038f45a0c6f0e33833ec2307.tar.bz2 |
- Patch #780048 by linclark: db_next_id() documentation refers to a non-existent function.
-rw-r--r-- | includes/database/database.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/includes/database/database.inc b/includes/database/database.inc index dda27d7ba..843117f69 100644 --- a/includes/database/database.inc +++ b/includes/database/database.inc @@ -2500,8 +2500,9 @@ function db_close(array $options = array()) { /** * Retrieves a unique id. * - * Use this function if for some reason you can't use a serial field, normally a - * serial field with db_last_insert_id is preferred. + * Use this function if for some reason you can't use a serial field. Using a + * serial field is preferred, and InsertQuery::execute() returns the value of + * the last ID inserted. * * @param $existing_id * After a database import, it might be that the sequences table is behind, so |