On 7 Nov 2011, at 5:22pm, Mills, Steve wrote: > On Nov 7, 2011, at 11:09:39, Simon Slavin wrote: > >> On 7 Nov 2011, at 5:02pm, Mills, Steve wrote: >> >>> SqliteStatement cmd("PRAGMA page_size", *this); >> >> This does not return a simple character string, but a table with one row and >> one column. Might you have to extract the value from that table ? > > I think that's what the next 2 lines do: > > cmd.Step(); > cmd.GetColumnInt(0, pageSize); > > which expand to: > > sqlite3_step(m_stmt); > pageSize = sqlite3_column_int(m_stmt, 0);
Apologies. I missed that. I don't use that API and didn't see how the results would get into the command he makes up later. Simon. _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users