On Fri, 2007-06-08 at 09:50 +0530, Jimmy Mathew Ambalathuruthel wrote:
> Hi all,
>
> I am working in a porting project of SQLite from windows.
>
> I Could not port the Truncate () function (For Eg: WinTruncate () in
> windows code in the file os_win.c ) as the same logic cannot be applied
>
If you don't truncate a file then you may have untruncated files. Why
can't you truncate a file? It is implemented one way or another on
pretty much every OS.
Sqlite uses truncate in it b-tree logic and probably elsewhere so you
would very likely encounter problems with no truncate.
Jimmy
Hi all,
I am working in a porting project of SQLite from windows.
I Could not port the Truncate () function (For Eg: WinTruncate () in
windows code in the file os_win.c ) as the same logic cannot be applied
to my platform.
Can I make it a dummy function by just returning SQLITE_OK?
3 matches
Mail list logo