1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

2.0.7 (CVS 292)

FossilOrigin-Name: a835658e507fc7d0c684959c0f0afb9018b6a8d4
This commit is contained in:
drh
2001-10-20 12:30:10 +00:00
parent af27914d2a
commit 01a346616f
9 changed files with 92 additions and 21 deletions

View File

@@ -48,7 +48,6 @@ static int sqlite_get_table_cb(void *pArg, int nCol, char **argv, char **colv){
** we need to remember from this invocation of the callback.
*/
if( p->nRow==0 && argv!=0 ){
p->nColumn = nCol;
need = nCol*2;
}else{
need = nCol;
@@ -66,6 +65,7 @@ static int sqlite_get_table_cb(void *pArg, int nCol, char **argv, char **colv){
** the names of all columns.
*/
if( p->nRow==0 ){
p->nColumn = nCol;
for(i=0; i<nCol; i++){
if( colv[i]==0 ){
z = 0;