Changes between Version 38 and Version 39 of Packages/SQLite


Ignore:
Timestamp:
Jul 2, 2012, 5:59:40 AM (7 years ago)
Author:
C Rempel
Comment:

/* Testing Ideas */

Legend:

Unmodified
Added
Removed
Modified
  • Packages/SQLite

    v38 v39  
    108108# Finalize (delete) the prepared statement
    109109# Close the connection.
    110 So, a test would look like:
    111  /* SQL Test */
    112 /* Database initialization */
     110So, a test MAY look like:
     111 /* ==================== SQL Test ================== */
     112 /* Database initialization */
    113113 printk("Opening the Database\n");
    114114 sqlite3_open(filename, &ppDb, flags, &zVfs);
     
    116116 printk("Preparing the SQL Statement\n");
    117117 sqlite3_prepare_v2(&db, &zSql, nByte, &ppStmt, &pzTail);
    118 
     118 
    119119 printk("Stepping through the Results\n");
    120120 sqlite3_step(&ppStmt);
    121 
     121 
    122122 printk("Counting the number of columns...");
    123123 nCols = sqlite3_column_count(&ppStmt);
    124124 printk("and the number of columns is %d\n", nCols);
    125 
     125 
    126126 printk("Deleting the SQL Statement\n");
    127127 sqlite3_finalize(&ppStmt);