/ Check-in [d7cf423c]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix a zName to zDbSName conversion missed in the previous check-in.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | zDbSName
Files: files | file ages | folders
SHA1: d7cf423cdccada2b0a4b7cc79ccf5f35d6f43212
User & Date: drh 2016-08-18 20:56:39
Context
2016-08-18
22:19
Change the name of Db.zName to Db.zDbSName for improved long-term code maintainability. check-in: cb9865e1 user: drh tags: trunk
20:56
Fix a zName to zDbSName conversion missed in the previous check-in. Closed-Leaf check-in: d7cf423c user: drh tags: zDbSName
14:33
Rename the Db.zName field to Db.zDbSName to make it more descriptive and to distinguish it from all of the other "zName" variables scattered throughout the code. check-in: 92a22f01 user: drh tags: zDbSName
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/select.c.

  1454   1454             zOrigCol = pTab->aCol[iCol].zName;
  1455   1455             zType = sqlite3ColumnType(&pTab->aCol[iCol],0);
  1456   1456             estWidth = pTab->aCol[iCol].szEst;
  1457   1457           }
  1458   1458           zOrigTab = pTab->zName;
  1459   1459           if( pNC->pParse ){
  1460   1460             int iDb = sqlite3SchemaToIndex(pNC->pParse->db, pTab->pSchema);
  1461         -          zOrigDb = pNC->pParse->db->aDb[iDb].zName;
         1461  +          zOrigDb = pNC->pParse->db->aDb[iDb].zDbSName;
  1462   1462           }
  1463   1463   #else
  1464   1464           if( iCol<0 ){
  1465   1465             zType = "INTEGER";
  1466   1466           }else{
  1467   1467             zType = sqlite3ColumnType(&pTab->aCol[iCol],0);
  1468   1468             estWidth = pTab->aCol[iCol].szEst;