/ Check-in [d8dc2c5f]
Login

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

Overview
Comment:Add an assert() to fts3_expr.c in order to silence a clang warning.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: d8dc2c5fb554eb5898ddc8d703c6a360af7fe023
User & Date: drh 2013-05-06 14:57:48
Context
2013-05-06
20:28
In the command-line shell, make sure the output of dot-commands goes to the same redirected output stream as the result of queries. Ticket [2f96536e7ff7dba] check-in: b72d3659 user: drh tags: trunk
14:57
Add an assert() to fts3_expr.c in order to silence a clang warning. check-in: d8dc2c5f user: drh tags: trunk
13:22
Make sure the authorizer callback gets a valid pointer to "ROWID" for the column-name parameter when doing an UPDATE that changes the rowid. Fix for ticket [0eb70d77cb05bb2272]. check-in: 26a59bb8 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to ext/fts3/fts3_expr.c.

   871    871           p = 0;
   872    872           for(i=0; i<nMaxDepth; i++){
   873    873             if( apLeaf[i] ){
   874    874               if( p==0 ){
   875    875                 p = apLeaf[i];
   876    876                 p->pParent = 0;
   877    877               }else{
          878  +              assert( pFree!=0 );
   878    879                 pFree->pRight = p;
   879    880                 pFree->pLeft = apLeaf[i];
   880    881                 pFree->pLeft->pParent = pFree;
   881    882                 pFree->pRight->pParent = pFree;
   882    883   
   883    884                 p = pFree;
   884    885                 pFree = pFree->pParent;