Re: [sqlite] query does not work on sqlite c apis but works on the console

2007-12-20 Thread Dennis Cote
arbalest06 wrote: i already got it working.. I'm glad to hear that. however, is still have the free(): invalid pointer problem in my sqlite3_close..this is my code for my close api: if( GDBM_Db_p != NULL ) { printf( "FDBM_Close: GDBM_Db_p is not NULL\n" ); /* closes

Re: [sqlite] query does not work on sqlite c apis but works on the console

2007-12-20 Thread arbalest06
i already got it working..the only problem was that my condition ( char * ) = "id=1"..i got it working when i made it to "id = 1"..spaces did that trouble to my code..however, is still have the free(): invalid pointer problem in my sqlite3_close..this is my code for my close api: if(

Re: [sqlite] query does not work on sqlite c apis but works on the console

2007-12-20 Thread Dennis Cote
arbalest06 wrote: im implementing a C program that uses the sqlite as my database..im using a global database pointer because im creating my apis for open and close database..my problem is that when i put a select query, the return value is 1..i copied my query to the console of sqlite3 and it

[sqlite] query does not work on sqlite c apis but works on the console

2007-12-20 Thread arbalest06
good day! im implementing a C program that uses the sqlite as my database..im using a global database pointer because im creating my apis for open and close database..my problem is that when i put a select query, the return value is 1..i copied my query to the console of sqlite3 and it worked