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); -- Steve Mills office: 952-818-3871 home: 952-401-6255 cell: 612-803-6157 _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users