On 5 May 2008 at 11:50, D. Richard Hipp wrote:

> Looking at the code, I do not see why this fails, assuming you have  
> large-file support turned on (which you seem to have, and it is the  
> default, after all.)  The ".import" code does fopen() then fgets() to  
> read the file.  Does fopen() not work for large files on Solaris 9?

I don't know, I am not a C Programmer and not a solaris expert either. 
My skills are just enough to run configure and make and perhaps do some 
simple changes to the source if guided.
Is there another call I could try? Perhaps what the core does to open 
the database file?

Google found this (rather old) message:
http://gcc.gnu.org/ml/gcc-bugs/2001-11/msg00492.html
but as I said it all looks ab bit like black magic to me.

> The code to do an import is not part of the core SQLite, btw.  It is  
> part of the CLI.  You can find the code by searching for "import" in  
> the shell.c source file.

I am not sure I found it. Is it line 1234 of shell.c? But there is no 
fgets coming later. There is only one fgets in this file on line 251 
(all from the full source of v3.5.8) and that looks like handling the 
command line and not an import-line.

Thanks for looking into this
-Michael

-- 
Michael Lackhoff
ZB MED Medizin. Gesundheit. / EDV-Abteilung
Fon: + 49 (0) 221 478-7105
[EMAIL PROTECTED]

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to