Hello Marian, On Feb 1, 2011, at 1:28 PM, Marian Cascaval wrote:
> Since this topic has lead to different sub-topic I dare ask a question (I'm a > beginner both in C++ and, Oh boy, in SQLite too). > > Tito, do you really need the 5th argument in sqlite3_prepare_v2() i.e. > "&oneSQL"? > From what I understand from your code, there's only one SQL statement to be > prepared, so there would be no need for the supposedly next SQL statement. > Do you reuse (reset) these statements? > I was under the impression that the 5th argument is used when the SQL > statement > string contains more than one SQL statement. > > Thanks for your patience if I misunderstood something .. or all. Yes, you understood right. I was using the 5th arg for debugging reasons, as I was checking whether the memory was being smashed somewhere. As for the statements, yes, I'm reusing them all the time. Regards, -- Tito _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users