Date: 09/30/02
- Next message: hholzgra <email protected>: "[PHP-DOC] #19657 [Opn->Bgs]: confirm that auto_pre/append causes a disk read for every script invocation"
- Previous message: Yasuo Ohgaki: "[PHP-DOC] cvs: phpdoc /en/reference/pgsql/functions pg-copy-from.xml pg-copy-to.xml"
- Next in thread: hholzgra <email protected>: "[PHP-DOC] #19669 [Opn->Fbk]: Incomplete documentation for dba_replace"
- Reply: hholzgra <email protected>: "[PHP-DOC] #19669 [Opn->Fbk]: Incomplete documentation for dba_replace"
- Reply: jelte.werkhoven <email protected>: "[PHP-DOC] #19669 [Fbk->Opn]: Incomplete documentation for dba_replace"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: jelte.werkhoven <email protected>
Operating system: linux
PHP version: 4.2.1
PHP Bug Type: Documentation problem
Bug description: Incomplete documentation for dba_replace
I think it might be worth mentioning in the documentation for the
dba_replace function that to actually replace an entry in a *DBM-type
database, you need to pad the value to the exact lenght of the value to be
replaced. This seems to go for both entries shorter and longer than the
replacing value. I also added a comment to the documention to this extent
but this is, in my opinion, cardinal to the differance between dba_replace
and dba_insert so it might be worth mentioning. Also, data corruption and
infinite growth of the data file will result if the length is not padded.
-- Edit bug report at http://bugs.php.net/?id=19669&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19669&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19669&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19669&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19669&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19669&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19669&r=support Expected behavior: http://bugs.php.net/fix.php?id=19669&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19669&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19669&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19669&r=globals-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: hholzgra <email protected>: "[PHP-DOC] #19657 [Opn->Bgs]: confirm that auto_pre/append causes a disk read for every script invocation"
- Previous message: Yasuo Ohgaki: "[PHP-DOC] cvs: phpdoc /en/reference/pgsql/functions pg-copy-from.xml pg-copy-to.xml"
- Next in thread: hholzgra <email protected>: "[PHP-DOC] #19669 [Opn->Fbk]: Incomplete documentation for dba_replace"
- Reply: hholzgra <email protected>: "[PHP-DOC] #19669 [Opn->Fbk]: Incomplete documentation for dba_replace"
- Reply: jelte.werkhoven <email protected>: "[PHP-DOC] #19669 [Fbk->Opn]: Incomplete documentation for dba_replace"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

