1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-09-11 08:30:57 +03:00

Improved ".selecttrace" output.

FossilOrigin-Name: c0b61f7092a7fd2c5f51db26ce7a7a5c75c227fe
This commit is contained in:
drh
2014-09-21 00:27:26 +00:00
parent 7c0a4720ca
commit eb9b884c2d
6 changed files with 59 additions and 25 deletions

View File

@@ -1069,9 +1069,7 @@ Select *sqlite3SelectDup(sqlite3 *db, Select *p, int flags){
pNew->addrOpenEphm[1] = -1;
pNew->nSelectRow = p->nSelectRow;
pNew->pWith = withDup(db, p->pWith);
#if SELECTTRACE_ENABLED
memcpy(pNew->zSelLabel, p->zSelLabel, sizeof(p->zSelLabel));
#endif
sqlite3SelectSetName(pNew, p->zSelName);
return pNew;
}
#else