/ Check-in [3dea7fbe]
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

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

Overview
Comment:Fix a typo in the OMIT_AUTORIZATION in expr.c. (CVS 3518)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 3dea7fbefdadb269e58ae76bb9a7281c96d8b15b
User & Date: drh 2006-11-23 11:59:13
Context
2006-11-23
21:09
Improvements to the speed tests recently added to the test suite. (CVS 3519) check-in: 272c1a6e user: drh tags: trunk
11:59
Fix a typo in the OMIT_AUTORIZATION in expr.c. (CVS 3518) check-in: 3dea7fbe user: drh tags: trunk
11:58
Make the pager sector size configurable at compile-time. (CVS 3517) check-in: 6221cf4f user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/expr.c.

     8      8   **    May you find forgiveness for yourself and forgive others.
     9      9   **    May you share freely, never taking more than you give.
    10     10   **
    11     11   *************************************************************************
    12     12   ** This file contains routines used for analyzing expressions and
    13     13   ** for generating VDBE code that evaluates expressions in SQLite.
    14     14   **
    15         -** $Id: expr.c,v 1.268 2006/08/24 15:18:25 drh Exp $
           15  +** $Id: expr.c,v 1.269 2006/11/23 11:59:13 drh Exp $
    16     16   */
    17     17   #include "sqliteInt.h"
    18     18   #include <ctype.h>
    19     19   
    20     20   /*
    21     21   ** Return the 'affinity' of the expression pExpr if any.
    22     22   **
................................................................................
  1176   1176             no_such_func = 1;
  1177   1177           }else{
  1178   1178             wrong_num_args = 1;
  1179   1179           }
  1180   1180         }else{
  1181   1181           is_agg = pDef->xFunc==0;
  1182   1182         }
  1183         -#ifndef SQLITE_OMIT_AUTHORIZER
         1183  +#ifndef SQLITE_OMIT_AUTHORIZATION
  1184   1184         if( pDef ){
  1185   1185           auth = sqlite3AuthCheck(pParse, SQLITE_FUNCTION, 0, pDef->zName, 0);
  1186   1186           if( auth!=SQLITE_OK ){
  1187   1187             if( auth==SQLITE_DENY ){
  1188   1188               sqlite3ErrorMsg(pParse, "not authorized to use function: %s",
  1189   1189                                       pDef->zName);
  1190   1190               pNC->nErr++;