Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix a typo on the extract SQL statement. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
eb7a492f1672135e543db96d45e36244 |
User & Date: | drh 2016-10-19 17:07:14.097 |
Context
2017-05-12
| ||
15:32 | Update the built-in SQLite to the first 3.19.0 beta. check-in: 84cb978770 user: drh tags: trunk | |
2016-10-19
| ||
17:07 | Fix a typo on the extract SQL statement. check-in: eb7a492f16 user: drh tags: trunk | |
2016-09-19
| ||
12:39 | Update to the latest 3.15.0 prerelease code. Improved SEE support, including a new SEE makefile. Other makefile improvements. check-in: 72ca977d53 user: drh tags: trunk | |
Changes
Changes to sqlar.c.
︙ | ︙ | |||
583 584 585 586 587 588 589 | sqlite3_exec(db, "DELETE FROM sqlar WHERE name_on_list(name)", 0, 0, 0); } db_close(1); }else if( extractFlag ){ const char *zSql; db_open(zArchive, 0, seeFlag, azFiles, nFiles); zSql = "SELECT name, mode, mtime, sz, data FROM sqlar" | | | 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 | sqlite3_exec(db, "DELETE FROM sqlar WHERE name_on_list(name)", 0, 0, 0); } db_close(1); }else if( extractFlag ){ const char *zSql; db_open(zArchive, 0, seeFlag, azFiles, nFiles); zSql = "SELECT name, mode, mtime, sz, data FROM sqlar" " WHERE name_on_list(name)"; db_prepare(zSql); while( sqlite3_step(pStmt)==SQLITE_ROW ){ const char *zFN = (const char*)sqlite3_column_text(pStmt, 0); check_filename(zFN); if( zFN[0]=='/' ){ errorMsg("absolute pathname: %s\n", zFN); } |
︙ | ︙ |