diff options
author | drh <drh@noemail.net> | 2015-04-09 13:40:18 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2015-04-09 13:40:18 +0000 |
commit | 39b355c70f62dad0f2f8146fcb5ac17bf5a5f3b4 (patch) | |
tree | 87b11c6026046d1deca71fb89922a5e6e6185799 /tool/sqldiff.c | |
parent | d62c0f4c2daa03886116576b65866bfedb2e6ed6 (diff) | |
download | sqlite-39b355c70f62dad0f2f8146fcb5ac17bf5a5f3b4.tar.gz sqlite-39b355c70f62dad0f2f8146fcb5ac17bf5a5f3b4.zip |
Fix comment typos in the sqldiff.c utility program.
FossilOrigin-Name: 32ab2bb990746a84f5944e3cf428fb2dff3628da
Diffstat (limited to 'tool/sqldiff.c')
-rw-r--r-- | tool/sqldiff.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tool/sqldiff.c b/tool/sqldiff.c index 9aa68caaa..2b982e914 100644 --- a/tool/sqldiff.c +++ b/tool/sqldiff.c @@ -214,14 +214,14 @@ static void namelistFree(char **az){ /* ** Return a list of column names for the table zDb.zTab. Space to -** old the list is obtained from malloc() and should released by calling -** namelistFree() when no longer needed. +** hold the list is obtained from sqlite3_malloc() and should released +** using namelistFree() when no longer needed. ** ** Primary key columns are listed first, followed by data columns. The ** "primary key" in the previous sentence is the true primary key - the ** rowid or INTEGER PRIMARY KEY for ordinary tables or the declared ** PRIMARY KEY for WITHOUT ROWID tables. The number of columns in the -** primary key is returned in *pNPkey. +** primary key is returned in *pnPkey. ** ** If the table is a rowid table for which the rowid is inaccessible, ** then this routine returns a NULL pointer. |