1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Bug fixes and additional tests for the subquery flattener. (CVS 411)

FossilOrigin-Name: 2c05389eda391e38894fc6969e29766df82a8fec
This commit is contained in:
drh
2002-03-03 02:49:51 +00:00
parent 30e58750c1
commit 1b2e032999
9 changed files with 251 additions and 96 deletions

View File

@ -3103,13 +3103,16 @@ int mhflag; /* Output in makeheaders format if true */
}
/* Print the hash table */
fprintf(out,"/* State %d */\n",stp->index); lineno++;
if( tablesize>0 ){
fprintf(out,"/* State %d */\n",stp->index); lineno++;
}
for(j=0; j<tablesize; j++){
assert( table[j]!=0 );
fprintf(out," {%4d,%4d,%4d}, /* ",
fprintf(out," {%4d,%4d,%4d}, /* %2d: ",
table[j]->sp->index,
collide[j]+1,
compute_action(lemp,table[j]));
compute_action(lemp,table[j]),
j+1);
PrintAction(table[j],out,22);
fprintf(out," */\n");
lineno++;