options.def
上传用户:dgyhgb
上传日期:2007-01-07
资源大小:676k
文件大小:3k
源码类别:

SQL Server

开发平台:

Unix_Linux

  1. /*
  2.  *  options.def  -  set of regnizable options of GNU SQL compiler
  3.  *  
  4.  *  This file is a part of GNU SQL Server
  5.  *
  6.  *  Copyright (c) 1996, 1997, Free Software Foundation, Inc
  7.  *  Developed at the Institute of System Programming
  8.  * 
  9.  *  This program is free software; you can redistribute it and/or modify
  10.  *  it under the terms of the GNU General Public License as published by
  11.  *  the Free Software Foundation; either version 2 of the License, or
  12.  *  (at your option) any later version.
  13.  *
  14.  *  This program is distributed in the hope that it will be useful,
  15.  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
  16.  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  17.  *  GNU General Public License for more details.
  18.  *
  19.  *  You should have received a copy of the GNU General Public License
  20.  *  along with this program; if not, write to the Free Software
  21.  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  22.  *
  23.  *  Contacts: gss@ispras.ru
  24.  *
  25.  */
  26. /* $Id: options.def,v 1.245 1997/03/31 03:46:38 kml Exp $ */
  27. #ifdef DEF_OPTION  
  28. /* DEF_OPTION("option name",reference_name, is setted) 
  29.  * reference name - i4_t variable name  
  30.  */
  31. DEF_OPTION("Dp",parse_debug         ,0)
  32. DEF_OPTION("Ds",client_scanner_debug,0)
  33. DEF_OPTION("Dl",server_scanner_debug,0)
  34. DEF_OPTION("Dv",dump_vocabulary     ,0)
  35. DEF_OPTION("DL",cl_debug            ,0)
  36. #undef DEF_OPTION
  37. #endif
  38. #ifdef DEF_OPTION1
  39. /* DEF_OPTION1("option head",option_processor) 
  40.  * we assume that result state stored in variable "option_processor##_state"
  41.  */
  42. DEF_OPTION1("d",dump_modes)
  43. DEF_OPTION1("s",skip_modes)
  44. DEF_OPTION1("r",scan_mode)
  45. DEF_OPTION1("V",tree_memory_mode)
  46. DEF_OPTION1("v",vm_debug_mode)
  47. DEF_OPTION1("h",server_host)
  48. DEF_OPTION1("o",module_name)
  49. #undef DEF_OPTION1
  50. #endif
  51. #ifdef DEF_PASS
  52.  /* DEF_PASS("pass_name", "description" ,'pass_identifier'-used in options
  53.   *           processor, stage number, if_skip_pass, if_dump,
  54.   *           "dump_file_extension",dumper_routine)
  55.   */
  56. #ifdef NOT_DEBUG
  57. #define DEFLT_DMP 0
  58. #else
  59. #define DEFLT_DMP 1
  60. #endif
  61. DEF_PASS("parser"    ,"parsing"              ,'p',sql_parse ,0,0,DEFLT_DMP,"par",
  62.          trl_tail_dump)
  63. DEF_PASS("binder"    ,"DB binding"           ,'b',binding   ,1,0,DEFLT_DMP,"bin",
  64.          trl_dump)
  65. DEF_PASS("atributes" ,"types evaluatiion"    ,'t',eval_types,1,0,DEFLT_DMP,"atr",
  66.          trl_dump)
  67. DEF_PASS("subqueries","query transformation" ,'q',trns_subq ,1,0,DEFLT_DMP,"sq" ,
  68.          trl_dump)
  69. DEF_PASS("access"    ,"checking privilegies" ,'a',chk_access,1,0,DEFLT_DMP,"acc",
  70.          trl_dump)
  71. DEF_PASS("optimizer" ,"tree optimization"    ,'o',transform ,1,0,DEFLT_DMP,"opt",
  72.          trl_dump)
  73. DEF_PASS("synthesys" ,"code generation"      ,'c',synthesys ,1,0,DEFLT_DMP,"dmp",
  74.          ModDump)
  75. #undef DEF_PASS
  76. #endif