/ Changes On Branch box-character-graph
Login

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

Changes In Branch box-character-graph Excluding Merge-Ins

This is equivalent to a diff from 5ce05757aa to 0efc6859d1

2014-10-01
12:01
Avoid ever writing before the start of an allocated buffer in the DIRECT_OVERFLOW_READ code. Fix for [e3a290961a6]. (check-in: c3c15d20c6 user: dan tags: trunk)
01:52
Merge the latest enhancements from trunk. (check-in: 2695772c98 user: drh tags: sessions)
01:46
Merge the latest enhancements from trunk. (check-in: 2078454ac9 user: drh tags: apple-osx)
2014-09-30
21:24
Draw the TreeView debugging graphs using unicode box-drawing characters. (Closed-Leaf check-in: 0efc6859d1 user: drh tags: box-character-graph)
19:04
Improvements to the new syntax-tree output routines: Omit the "END SELECT" mark and instead terminate the graph at the last item. Increase the maximum tree depth to 100. (check-in: 5ce05757aa user: drh tags: trunk)
17:31
Enable the query planner to deal with WHERE clauses that have OR terms nested within AND terms that are nested within OR terms. Also remove an unused function declaration. (check-in: b6b289182f user: drh tags: trunk)

Changes to src/printf.c.

1096
1097
1098
1099
1100
1101
1102



1103
1104
1105








1106
1107
1108
1109
1110
1111
1112
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105



1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120







+
+
+
-
-
-
+
+
+
+
+
+
+
+







  int i;
  StrAccum acc;
  char zBuf[500];
  sqlite3StrAccumInit(&acc, zBuf, sizeof(zBuf), 0);
  acc.useMalloc = 0;
  if( p ){
    for(i=0; i<p->iLevel && i<sizeof(p->bLine)-1; i++){
      if( p->bLine[i] ){
        sqlite3StrAccumAppend(&acc, "\342\224\202  ", 5);
      }else{
      sqlite3StrAccumAppend(&acc, p->bLine[i] ? "|   " : "    ", 4);
    }
    sqlite3StrAccumAppend(&acc, p->bLine[i] ? "|-- " : "'-- ", 4);
        sqlite3StrAccumAppend(&acc, "   ", 3);
      }
    }
    if( p->bLine[i] ){
      sqlite3StrAccumAppend(&acc, "\342\224\234\342\224\200 ", 7);
    }else{
      sqlite3StrAccumAppend(&acc, "\342\224\224\342\224\200 ", 7);
    }
  }
  va_start(ap, zFormat);
  sqlite3VXPrintf(&acc, 0, zFormat, ap);
  va_end(ap);
  if( zBuf[acc.nChar-1]!='\n' ) sqlite3StrAccumAppend(&acc, "\n", 1);
  sqlite3StrAccumFinish(&acc);
  fprintf(stdout,"%s", zBuf);