We am still working on the CREATE TABLE exercise .. our Visual Studio project 
will not  
breakpoint in certain places - something about pre-processor directives and/or 
compile/link
optimization techniques used; for an alternative, we want to trace the 
flow from the begining
to end for CREATE TABLE, is there any way to do this? That is, simply display 
each method
or function in the order in which it was called?
rkkuzo
 

----- Forwarded Message -----
From: Simon Slavin <slav...@bigfraud.org>
To: u okafor <uo07...@yahoo.com>; General Discussion of SQLite Database 
<sqlite-users@sqlite.org> 
Sent: Saturday, August 11, 2012 11:17 AM
Subject: Re: [sqlite] create table question


On 10 Aug 2012, at 9:14pm, u okafor <uo07...@yahoo.com> wrote:

> We are doing a CREATE TABLE query; sqlite3_step() is called in shell.c and 
> along
> the way, sqlite3VdbeExec() is called. sqlite3VdbeExec() call is pased with 
> "p" 
> pointer which contains "aOp" array. Could you please tell us where this "aOp" 
> array 
> is created in the code... 

If you are trying to learn how to use SQLite, do /not/ use the code from the 
SQLite shell tool.  That shell tool does very advanced and tricky things.  
Instead use the documentation on the web site.  The way to use sqlite3_step() 
is described here:

<http://www.sqlite.org/c3ref/stmt.html>

an example of basic library use can be found here:

<http://www.sqlite.org/quickstart.html>

a basic description of what to do can be found here:

<http://www.sqlite.org/cintro.html>

You should only end up calling sqlite3VdbeExec() yourself if you are doing very 
advanced things.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to