> I have some sql statement (for example Select col1, col2... from > some_table left join some_table_2 on... > where <some condition>...) > and I want get information about this statement -- column's list, where > clause, table's list etc in some structure (parse tree).
If you compile with -DSQLITE_DEBUG you can call: void sqlite3PrintSelect(Select *p, int indent); Below is an old patch that dumps the select parse tree in more detail. It should be pretty straightforward to bring it up to date with the current sources. Even if you don't compile with it, just examine the patch to see the structure. http://www.mail-archive.com/[email protected]/msg17096.html __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------

