From:             info at php-power dot it
Operating system: Windows XP
PHP version:      5.0.0b1 (beta1)
PHP Bug Type:     SQLite related
Bug description:  sqlite_seek()

Description:
------------
The function sqlite_seek() not return a requested line,
but the row successive.

Reproduce code:
---------------

$result = sqlite_query('SELECT * FROM test', $conn);

if (sqlite_seek($result, 1)) {
    $row = sqlite_current($result, SQLITE_NUM, true);
}

Expected result:
----------------
The first row of table.

Actual result:
--------------
The secon row of table.

-- 
Edit bug report at http://bugs.php.net/?id=24540&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=24540&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=24540&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=24540&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=24540&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=24540&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=24540&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=24540&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=24540&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=24540&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=24540&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=24540&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24540&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=24540&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=24540&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=24540&r=gnused

Reply via email to