sql_yacc.h
上传用户:tsgydb
上传日期:2007-04-14
资源大小:10674k
文件大小:8k
源码类别:

MySQL数据库

开发平台:

Visual C++

  1. typedef union {
  2.   int  num;
  3.   ulong ulong_num;
  4.   ulonglong ulonglong_num;
  5.   LEX_STRING lex_str;
  6.   LEX_STRING *lex_str_ptr;
  7.   LEX_SYMBOL symbol;
  8.   Table_ident *table;
  9.   char *simple_string;
  10.   Item *item;
  11.   List<Item> *item_list;
  12.   List<String> *string_list;
  13.   Key::Keytype key_type;
  14.   enum db_type db_type;
  15.   enum row_type row_type;
  16.   String *string;
  17.   key_part_spec *key_part;
  18.   TABLE_LIST *table_list;
  19.   udf_func *udf;
  20.   interval_type interval;
  21.   LEX_USER *lex_user;
  22.   enum Item_udftype udf_type;
  23. } YYSTYPE;
  24. #define END_OF_INPUT 257
  25. #define EQ 258
  26. #define EQUAL_SYM 259
  27. #define GE 260
  28. #define GT_SYM 261
  29. #define LE 262
  30. #define LT 263
  31. #define NE 264
  32. #define IS 265
  33. #define SHIFT_LEFT 266
  34. #define SHIFT_RIGHT 267
  35. #define SET_VAR 268
  36. #define AVG_SYM 269
  37. #define COUNT_SYM 270
  38. #define MAX_SYM 271
  39. #define MIN_SYM 272
  40. #define SUM_SYM 273
  41. #define STD_SYM 274
  42. #define ADD 275
  43. #define ALTER 276
  44. #define AFTER_SYM 277
  45. #define ANALYZE_SYM 278
  46. #define BEGIN_SYM 279
  47. #define CHANGE 280
  48. #define COMMENT_SYM 281
  49. #define COMMIT_SYM 282
  50. #define CREATE 283
  51. #define CROSS 284
  52. #define DELETE_SYM 285
  53. #define DROP 286
  54. #define INSERT 287
  55. #define FLUSH_SYM 288
  56. #define SELECT_SYM 289
  57. #define MASTER_SYM 290
  58. #define REPAIR 291
  59. #define RESET_SYM 292
  60. #define PURGE 293
  61. #define SLAVE 294
  62. #define START_SYM 295
  63. #define STOP_SYM 296
  64. #define TRUNCATE_SYM 297
  65. #define ROLLBACK_SYM 298
  66. #define OPTIMIZE 299
  67. #define SHOW 300
  68. #define UPDATE_SYM 301
  69. #define KILL_SYM 302
  70. #define LOAD 303
  71. #define LOCK_SYM 304
  72. #define UNLOCK_SYM 305
  73. #define ACTION 306
  74. #define AGGREGATE_SYM 307
  75. #define ALL 308
  76. #define AND 309
  77. #define AS 310
  78. #define ASC 311
  79. #define AUTO_INC 312
  80. #define AUTOCOMMIT 313
  81. #define AVG_ROW_LENGTH 314
  82. #define BACKUP_SYM 315
  83. #define BERKELEY_DB_SYM 316
  84. #define BINARY 317
  85. #define BIT_SYM 318
  86. #define BOOL_SYM 319
  87. #define BOTH 320
  88. #define BY 321
  89. #define CASCADE 322
  90. #define CHECKSUM_SYM 323
  91. #define CHECK_SYM 324
  92. #define COLUMNS 325
  93. #define COLUMN_SYM 326
  94. #define CONSTRAINT 327
  95. #define DATABASES 328
  96. #define DATA_SYM 329
  97. #define DEFAULT 330
  98. #define DELAYED_SYM 331
  99. #define DELAY_KEY_WRITE_SYM 332
  100. #define DESC 333
  101. #define DESCRIBE 334
  102. #define DISTINCT 335
  103. #define DYNAMIC_SYM 336
  104. #define ENCLOSED 337
  105. #define ESCAPED 338
  106. #define ESCAPE_SYM 339
  107. #define EXISTS 340
  108. #define EXTENDED_SYM 341
  109. #define FILE_SYM 342
  110. #define FIRST_SYM 343
  111. #define FIXED_SYM 344
  112. #define FLOAT_NUM 345
  113. #define FOREIGN 346
  114. #define FROM 347
  115. #define FULL 348
  116. #define FULLTEXT_SYM 349
  117. #define GRANT 350
  118. #define GRANTS 351
  119. #define GREATEST_SYM 352
  120. #define GROUP 353
  121. #define HAVING 354
  122. #define HEAP_SYM 355
  123. #define HEX_NUM 356
  124. #define HIGH_PRIORITY 357
  125. #define HOSTS_SYM 358
  126. #define IDENT 359
  127. #define IGNORE_SYM 360
  128. #define INDEX 361
  129. #define INFILE 362
  130. #define INNER_SYM 363
  131. #define INNOBASE_SYM 364
  132. #define INTO 365
  133. #define IN_SYM 366
  134. #define ISAM_SYM 367
  135. #define JOIN_SYM 368
  136. #define KEYS 369
  137. #define KEY_SYM 370
  138. #define LEADING 371
  139. #define LEAST_SYM 372
  140. #define LEX_HOSTNAME 373
  141. #define LIKE 374
  142. #define LINES 375
  143. #define LOCAL_SYM 376
  144. #define LOGS_SYM 377
  145. #define LONG_NUM 378
  146. #define LONG_SYM 379
  147. #define LOW_PRIORITY 380
  148. #define MASTER_HOST_SYM 381
  149. #define MASTER_USER_SYM 382
  150. #define MASTER_LOG_FILE_SYM 383
  151. #define MASTER_LOG_POS_SYM 384
  152. #define MASTER_PASSWORD_SYM 385
  153. #define MASTER_PORT_SYM 386
  154. #define MASTER_CONNECT_RETRY_SYM 387
  155. #define MATCH 388
  156. #define MAX_ROWS 389
  157. #define MEDIUM_SYM 390
  158. #define MERGE_SYM 391
  159. #define MIN_ROWS 392
  160. #define MYISAM_SYM 393
  161. #define NATIONAL_SYM 394
  162. #define NATURAL 395
  163. #define NCHAR_SYM 396
  164. #define NOT 397
  165. #define NO_SYM 398
  166. #define NULL_SYM 399
  167. #define NUM 400
  168. #define ON 401
  169. #define OPEN_SYM 402
  170. #define OPTION 403
  171. #define OPTIONALLY 404
  172. #define OR 405
  173. #define OR_OR_CONCAT 406
  174. #define ORDER_SYM 407
  175. #define OUTER 408
  176. #define OUTFILE 409
  177. #define DUMPFILE 410
  178. #define PACK_KEYS_SYM 411
  179. #define PARTIAL 412
  180. #define PRIMARY_SYM 413
  181. #define PRIVILEGES 414
  182. #define PROCESS 415
  183. #define PROCESSLIST_SYM 416
  184. #define RAID_0_SYM 417
  185. #define RAID_STRIPED_SYM 418
  186. #define RAID_TYPE 419
  187. #define RAID_CHUNKS 420
  188. #define RAID_CHUNKSIZE 421
  189. #define READ_SYM 422
  190. #define REAL_NUM 423
  191. #define REFERENCES 424
  192. #define REGEXP 425
  193. #define RELOAD 426
  194. #define RENAME 427
  195. #define RESTORE_SYM 428
  196. #define RESTRICT 429
  197. #define REVOKE 430
  198. #define ROWS_SYM 431
  199. #define ROW_FORMAT_SYM 432
  200. #define ROW_SYM 433
  201. #define SET 434
  202. #define SHUTDOWN 435
  203. #define STARTING 436
  204. #define STATUS_SYM 437
  205. #define STRAIGHT_JOIN 438
  206. #define TABLES 439
  207. #define TABLE_SYM 440
  208. #define TEMPORARY 441
  209. #define TERMINATED 442
  210. #define TEXT_STRING 443
  211. #define TO_SYM 444
  212. #define TRAILING 445
  213. #define TYPE_SYM 446
  214. #define FUNC_ARG0 447
  215. #define FUNC_ARG1 448
  216. #define FUNC_ARG2 449
  217. #define FUNC_ARG3 450
  218. #define UDF_RETURNS_SYM 451
  219. #define UDF_SONAME_SYM 452
  220. #define UDF_SYM 453
  221. #define UNION_SYM 454
  222. #define UNIQUE_SYM 455
  223. #define USAGE 456
  224. #define USE_SYM 457
  225. #define USING 458
  226. #define VALUES 459
  227. #define VARIABLES 460
  228. #define WHERE 461
  229. #define WITH 462
  230. #define WRITE_SYM 463
  231. #define COMPRESSED_SYM 464
  232. #define BIGINT 465
  233. #define BLOB_SYM 466
  234. #define CHAR_SYM 467
  235. #define CHANGED 468
  236. #define COALESCE 469
  237. #define DATETIME 470
  238. #define DATE_SYM 471
  239. #define DECIMAL_SYM 472
  240. #define DOUBLE_SYM 473
  241. #define ENUM 474
  242. #define FAST_SYM 475
  243. #define FLOAT_SYM 476
  244. #define INT_SYM 477
  245. #define LIMIT 478
  246. #define LONGBLOB 479
  247. #define LONGTEXT 480
  248. #define MEDIUMBLOB 481
  249. #define MEDIUMINT 482
  250. #define MEDIUMTEXT 483
  251. #define NUMERIC_SYM 484
  252. #define PRECISION 485
  253. #define QUICK 486
  254. #define REAL 487
  255. #define SMALLINT 488
  256. #define STRING_SYM 489
  257. #define TEXT_SYM 490
  258. #define TIMESTAMP 491
  259. #define TIME_SYM 492
  260. #define TINYBLOB 493
  261. #define TINYINT 494
  262. #define TINYTEXT 495
  263. #define UNSIGNED 496
  264. #define VARBINARY 497
  265. #define VARCHAR 498
  266. #define VARYING 499
  267. #define ZEROFILL 500
  268. #define AGAINST 501
  269. #define ATAN 502
  270. #define BETWEEN_SYM 503
  271. #define BIT_AND 504
  272. #define BIT_OR 505
  273. #define CASE_SYM 506
  274. #define CONCAT 507
  275. #define CONCAT_WS 508
  276. #define CURDATE 509
  277. #define CURTIME 510
  278. #define DATABASE 511
  279. #define DATE_ADD_INTERVAL 512
  280. #define DATE_SUB_INTERVAL 513
  281. #define DAY_HOUR_SYM 514
  282. #define DAY_MINUTE_SYM 515
  283. #define DAY_SECOND_SYM 516
  284. #define DAY_SYM 517
  285. #define DECODE_SYM 518
  286. #define ELSE 519
  287. #define ELT_FUNC 520
  288. #define ENCODE_SYM 521
  289. #define ENCRYPT 522
  290. #define EXPORT_SET 523
  291. #define EXTRACT_SYM 524
  292. #define FIELD_FUNC 525
  293. #define FORMAT_SYM 526
  294. #define FOR_SYM 527
  295. #define FROM_UNIXTIME 528
  296. #define GROUP_UNIQUE_USERS 529
  297. #define HOUR_MINUTE_SYM 530
  298. #define HOUR_SECOND_SYM 531
  299. #define HOUR_SYM 532
  300. #define IDENTIFIED_SYM 533
  301. #define IF 534
  302. #define INSERT_ID 535
  303. #define INTERVAL_SYM 536
  304. #define LAST_INSERT_ID 537
  305. #define LEFT 538
  306. #define LOCATE 539
  307. #define MAKE_SET_SYM 540
  308. #define MINUTE_SECOND_SYM 541
  309. #define MINUTE_SYM 542
  310. #define MODIFY_SYM 543
  311. #define MONTH_SYM 544
  312. #define NOW_SYM 545
  313. #define PASSWORD 546
  314. #define POSITION_SYM 547
  315. #define PROCEDURE 548
  316. #define RAND 549
  317. #define REPLACE 550
  318. #define RIGHT 551
  319. #define ROUND 552
  320. #define SECOND_SYM 553
  321. #define SUBSTRING 554
  322. #define SUBSTRING_INDEX 555
  323. #define TRIM 556
  324. #define UDA_CHAR_SUM 557
  325. #define UDA_FLOAT_SUM 558
  326. #define UDA_INT_SUM 559
  327. #define UDF_CHAR_FUNC 560
  328. #define UDF_FLOAT_FUNC 561
  329. #define UDF_INT_FUNC 562
  330. #define UNIQUE_USERS 563
  331. #define UNIX_TIMESTAMP 564
  332. #define USER 565
  333. #define WEEK_SYM 566
  334. #define WHEN_SYM 567
  335. #define WORK_SYM 568
  336. #define YEAR_MONTH_SYM 569
  337. #define YEAR_SYM 570
  338. #define YEARWEEK 571
  339. #define BENCHMARK_SYM 572
  340. #define END 573
  341. #define THEN_SYM 574
  342. #define SQL_BIG_TABLES 575
  343. #define SQL_BIG_SELECTS 576
  344. #define SQL_SELECT_LIMIT 577
  345. #define SQL_MAX_JOIN_SIZE 578
  346. #define SQL_LOG_BIN 579
  347. #define SQL_LOG_OFF 580
  348. #define SQL_LOG_UPDATE 581
  349. #define SQL_LOW_PRIORITY_UPDATES 582
  350. #define SQL_SMALL_RESULT 583
  351. #define SQL_BIG_RESULT 584
  352. #define SQL_BUFFER_RESULT 585
  353. #define SQL_WARNINGS 586
  354. #define SQL_AUTO_IS_NULL 587
  355. #define SQL_SAFE_UPDATES 588
  356. #define SQL_QUOTE_SHOW_CREATE 589
  357. #define SQL_SLAVE_SKIP_COUNTER 590
  358. #define NEG 591