mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-8.4'
This commit is contained in:
commit
89934b405e
5 changed files with 67 additions and 35 deletions
|
@ -1153,6 +1153,7 @@ static int php_sqlite3_stream_seek(php_stream *stream, zend_off_t offset, int wh
|
|||
sqlite3_stream->position = sqlite3_stream->position + offset;
|
||||
*newoffs = sqlite3_stream->position;
|
||||
stream->eof = 0;
|
||||
stream->fatal_error = 0;
|
||||
return 0;
|
||||
}
|
||||
} else {
|
||||
|
@ -1164,6 +1165,7 @@ static int php_sqlite3_stream_seek(php_stream *stream, zend_off_t offset, int wh
|
|||
sqlite3_stream->position = sqlite3_stream->position + offset;
|
||||
*newoffs = sqlite3_stream->position;
|
||||
stream->eof = 0;
|
||||
stream->fatal_error = 0;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
@ -1176,6 +1178,7 @@ static int php_sqlite3_stream_seek(php_stream *stream, zend_off_t offset, int wh
|
|||
sqlite3_stream->position = offset;
|
||||
*newoffs = sqlite3_stream->position;
|
||||
stream->eof = 0;
|
||||
stream->fatal_error = 0;
|
||||
return 0;
|
||||
}
|
||||
case SEEK_END:
|
||||
|
@ -1191,6 +1194,7 @@ static int php_sqlite3_stream_seek(php_stream *stream, zend_off_t offset, int wh
|
|||
sqlite3_stream->position = sqlite3_stream->size + offset;
|
||||
*newoffs = sqlite3_stream->position;
|
||||
stream->eof = 0;
|
||||
stream->fatal_error = 0;
|
||||
return 0;
|
||||
}
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue