On May 6, 2009, at 6:50 AM, Maria wrote:

> Hi, I would like to modify sqlite source code.
> Before, start of modification, I wanted to print 'hello world!'  
> message from
> 'sqlite3_initialize()' routine.
>
> I've downloaded sqlite-amalgamation-3.6.13.tar.gz
> <http://www.sqlite.org/sqlite-amalgamation-3.6.13.tar.gz>on ubuntu  
> system.
> then, I followed the install step, such as:
>
>> ./configure
>> make
>> make install
>
> After I install it successfully, I opened the 'sqlite3.c' file and  
> found the
> 'sqlite3_initialize()' routine and add 'fprintf(stdout, "hello world! 
> \n");'
> then, I recompiled.
>> make
>
> and run the sqlite
>> sqlite3 test.db

Have you tried:

    ./sqlite test.db


>>
>> .tables
>> .read createStudent.sql
>
> etc..
> I thought when I start the sqlite3, it would call initialize routine  
> and
> print 'hello world'..... but it dosen't.
> I also put some printing message in 'sqlite3StartTable()' and
> 'sqlite3EndTable()' then recompiled it and run create or drop table
> statement.
>
> Two days ago, actually, I could print messages by above way. But since
> yesterday, it's never printed anything. I even reinstalled my os  
> system.
> I am pretty much confused with it. Could anyone give me some advice,  
> please?
>
> Thanks so much.
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

D. Richard Hipp
d...@hwaci.com



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

Reply via email to