A general question for the TCL experts....  

There is no problem, I'm just trying to understand how TCL works.

In tester.tcl,v 1.79, at line 60, there is the following section:

# Create a test database
#
catch {db close}
file delete -force test.db
file delete -force test.db-journal
sqlite3 db ./test.db
set ::DB [sqlite3_connection_pointer db]

My question is: Why is the last line not "set ::DB db"

What does sqlite3_connection_pointer do?  
Since this is not a tcl verb, or defined by sqlite3, where does this get
defined?

Regards - Noah



CONFIDENTIALITY NOTICE: 
This message may contain confidential and/or privileged information. If you are 
not the addressee or authorized to receive this for the addressee, you must not 
use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.


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

Reply via email to