← cproj

oh now it makes sense

d58b4e3798e1f9278d37bcbd604d847a9a7214c6 · ovidiucs · Oct 10, 2019 22:34

+4 · 1 file changed

  • graph/db/sqltest.c +4 −0
diff --git a/graph/db/sqltest.c b/graph/db/sqltest.c
index 93796c7..cdf9a4e 100644
--- a/graph/db/sqltest.c
+++ b/graph/db/sqltest.c
@@ -190,6 +190,10 @@ int dbSelect(sqlite3 *db, char *data) {
   rc = sqlite3_step(res);
   if ( rc == SQLITE_ROW ) {
    fprintf(stdout,"SQLite data is: %s\n",sqlite3_column_text(res,1));
+     rc = sqlite3_step(res);
+       if ( rc == SQLITE_ROW ) {
+   fprintf(stdout,"SQLite data is: %s\n",sqlite3_column_text(res,1));
+       }
   }//  fprintf(stdout, "%s",rc);
 
   // Finalize