sql_yacc.cpp
上传用户:romrleung
上传日期:2022-05-23
资源大小:18897k
文件大小:979k
- 383, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, 394, -1, -1, 397, -1, -1, -1, 401, 402,
- -1, 404, -1, -1, -1, -1, 409, -1, -1, -1,
- 413, -1, -1, 416, 417, 418, 419, -1, -1, -1,
- 423, 424, 425, -1, 427, 428, -1, -1, 431, -1,
- 433, -1, -1, -1, -1, -1, -1, 440, -1, 442,
- 443, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, 455, 4, 5, 6, 7, 8, 461, -1,
- 463, 12, -1, 466, -1, -1, 469, -1, 471, -1,
- 473, 474, 475, -1, 25, -1, -1, 28, 29, 30,
- 31, -1, 33, 34, 35, 36, -1, -1, -1, 40,
- -1, -1, 43, -1, 45, 46, 47, 48, 49, -1,
- 51, -1, -1, 54, -1, 56, -1, -1, 59, -1,
- -1, 62, 63, 64, 65, 66, 67, -1, -1, 70,
- 71, 72, 73, -1, -1, 76, -1, 78, 79, 80,
- -1, 82, -1, 84, 85, -1, -1, -1, -1, 90,
- 91, 92, 93, -1, 95, 96, 97, -1, 99, -1,
- 101, 102, -1, -1, 105, 106, -1, 108, -1, 110,
- -1, -1, 113, -1, -1, -1, -1, 118, -1, -1,
- 121, -1, -1, 124, 125, 126, -1, 128, 129, 130,
- -1, -1, 133, 134, -1, 136, -1, 138, 139, 140,
- -1, -1, -1, 144, 145, -1, 147, -1, 149, -1,
- -1, -1, 153, -1, -1, 156, 157, 158, -1, 160,
- -1, 162, -1, -1, 165, -1, -1, 168, -1, -1,
- -1, -1, -1, 174, 175, -1, -1, -1, 179, -1,
- 181, -1, -1, -1, 185, 186, 187, 188, 189, 190,
- 191, 192, 193, 194, 195, 196, 197, 198, 199, 200,
- -1, 202, 203, 204, 205, 206, 207, 208, 209, -1,
- 211, 212, 213, -1, 215, -1, 217, -1, -1, 220,
- -1, 222, 223, -1, -1, -1, -1, -1, -1, -1,
- 231, 232, 233, -1, -1, 236, 237, 238, 239, 240,
- 241, 242, 243, -1, -1, -1, -1, 248, -1, 250,
- -1, 252, 253, -1, -1, 256, 257, 258, 259, -1,
- -1, 262, 263, 264, 265, 266, -1, -1, -1, 270,
- 271, -1, 273, -1, -1, 276, 277, -1, -1, -1,
- -1, 282, -1, 284, 285, -1, -1, -1, -1, 290,
- -1, 292, 293, -1, 295, -1, -1, -1, 299, -1,
- -1, 302, -1, 304, -1, -1, -1, -1, 309, -1,
- 311, 312, 313, 314, -1, -1, -1, 318, -1, 320,
- 321, -1, -1, 324, 325, -1, 327, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 337, 338, 339, -1,
- 341, -1, 343, 344, 345, 346, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 356, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 375, -1, -1, -1, -1, -1,
- -1, 382, 383, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, 394, -1, -1, 397, -1, -1, -1,
- 401, 402, -1, 404, -1, -1, -1, -1, 409, -1,
- -1, -1, 413, -1, -1, 416, 417, 418, 419, -1,
- -1, -1, 423, 424, 425, -1, 427, 428, -1, -1,
- 431, -1, 433, -1, -1, -1, -1, -1, -1, 440,
- -1, 442, 443, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 455, 4, 5, 6, 7, 8,
- 461, -1, 463, 12, -1, 466, -1, -1, 469, -1,
- 471, -1, 473, 474, 475, -1, 25, -1, -1, 28,
- 29, 30, 31, -1, 33, 34, 35, 36, -1, -1,
- -1, 40, -1, -1, 43, -1, 45, 46, 47, 48,
- 49, -1, 51, -1, -1, 54, -1, 56, -1, -1,
- 59, -1, -1, 62, 63, 64, 65, 66, 67, -1,
- -1, 70, 71, 72, 73, -1, -1, 76, -1, 78,
- 79, 80, -1, 82, -1, 84, 85, -1, -1, -1,
- -1, 90, 91, 92, 93, -1, 95, 96, 97, -1,
- 99, -1, 101, 102, -1, -1, 105, 106, -1, 108,
- -1, 110, -1, -1, 113, -1, -1, -1, -1, 118,
- 119, -1, 121, -1, -1, 124, 125, 126, -1, 128,
- 129, 130, -1, -1, 133, 134, -1, 136, -1, 138,
- 139, 140, -1, -1, -1, -1, 145, -1, 147, -1,
- 149, -1, -1, -1, 153, -1, -1, 156, 157, 158,
- -1, 160, -1, 162, -1, -1, 165, -1, -1, 168,
- -1, -1, -1, -1, -1, 174, 175, -1, -1, -1,
- 179, -1, 181, -1, -1, -1, 185, 186, 187, 188,
- 189, 190, 191, 192, 193, 194, 195, 196, 197, 198,
- 199, 200, -1, 202, 203, 204, 205, 206, 207, 208,
- 209, -1, 211, 212, 213, -1, 215, -1, 217, -1,
- -1, 220, -1, 222, 223, -1, -1, -1, -1, -1,
- -1, -1, 231, 232, 233, -1, -1, 236, 237, 238,
- 239, 240, 241, 242, 243, -1, -1, -1, -1, 248,
- -1, 250, -1, 252, 253, -1, -1, 256, 257, 258,
- 259, -1, -1, 262, 263, 264, 265, 266, -1, -1,
- -1, 270, 271, -1, 273, -1, -1, 276, 277, -1,
- -1, -1, -1, 282, -1, 284, 285, -1, -1, -1,
- -1, 290, -1, 292, 293, -1, 295, -1, -1, -1,
- 299, -1, -1, 302, -1, 304, -1, -1, -1, -1,
- 309, -1, 311, 312, 313, 314, -1, -1, -1, 318,
- -1, 320, 321, -1, -1, 324, 325, -1, 327, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 337, 338,
- 339, -1, 341, -1, 343, 344, 345, 346, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, 356, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 375, -1, -1, -1,
- -1, -1, -1, 382, 383, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 394, -1, -1, 397, -1,
- -1, -1, 401, 402, -1, 404, -1, -1, -1, -1,
- 409, -1, -1, -1, 413, -1, -1, 416, 417, 418,
- 419, -1, -1, -1, 423, 424, 425, -1, 427, 428,
- -1, -1, 431, -1, 433, -1, -1, -1, -1, -1,
- -1, 440, -1, 442, 443, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 455, 4, 5, 6,
- 7, 8, 461, -1, 463, 12, -1, 466, -1, -1,
- 469, -1, 471, -1, 473, 474, 475, -1, 25, -1,
- -1, 28, 29, 30, 31, -1, 33, 34, 35, 36,
- -1, -1, -1, 40, -1, -1, 43, -1, 45, 46,
- 47, 48, 49, -1, 51, -1, -1, 54, -1, 56,
- -1, -1, 59, -1, -1, 62, 63, 64, 65, 66,
- 67, -1, -1, 70, 71, 72, 73, -1, -1, 76,
- -1, 78, 79, 80, -1, 82, -1, 84, 85, -1,
- -1, -1, -1, 90, 91, 92, 93, -1, 95, 96,
- 97, -1, 99, -1, 101, 102, -1, -1, 105, 106,
- -1, 108, -1, 110, -1, -1, 113, -1, -1, -1,
- -1, 118, 119, -1, 121, -1, -1, 124, 125, 126,
- -1, 128, 129, 130, -1, -1, 133, 134, -1, 136,
- -1, 138, 139, 140, -1, -1, -1, -1, 145, -1,
- 147, -1, 149, -1, -1, -1, 153, -1, -1, 156,
- 157, 158, -1, 160, -1, 162, -1, -1, 165, -1,
- -1, 168, -1, -1, -1, -1, -1, 174, 175, -1,
- -1, -1, 179, -1, 181, -1, -1, -1, 185, 186,
- 187, 188, 189, 190, 191, 192, 193, 194, 195, 196,
- 197, 198, 199, 200, -1, 202, 203, 204, 205, 206,
- 207, 208, 209, -1, 211, 212, 213, -1, 215, -1,
- 217, -1, -1, 220, -1, 222, 223, -1, -1, -1,
- -1, -1, -1, -1, 231, 232, 233, -1, -1, 236,
- 237, 238, 239, 240, 241, 242, 243, -1, -1, -1,
- -1, 248, -1, 250, -1, 252, 253, -1, -1, 256,
- 257, 258, 259, -1, -1, 262, 263, 264, 265, 266,
- -1, -1, -1, 270, 271, -1, 273, -1, -1, 276,
- 277, -1, -1, -1, -1, 282, -1, 284, 285, -1,
- -1, -1, -1, 290, -1, 292, 293, -1, 295, -1,
- -1, -1, 299, -1, -1, 302, -1, 304, -1, -1,
- -1, -1, 309, -1, 311, 312, 313, 314, -1, -1,
- -1, 318, -1, 320, 321, -1, -1, 324, 325, -1,
- 327, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 337, 338, 339, -1, 341, -1, 343, 344, 345, 346,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, 356,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 375, -1,
- -1, -1, -1, -1, -1, 382, 383, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, 394, -1, -1,
- 397, -1, -1, -1, 401, 402, -1, 404, -1, -1,
- -1, -1, 409, -1, -1, -1, 413, -1, -1, 416,
- 417, 418, 419, -1, -1, -1, 423, 424, 425, -1,
- 427, 428, -1, -1, 431, -1, 433, -1, -1, -1,
- -1, -1, -1, 440, -1, 442, 443, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 455, 4,
- 5, 6, 7, 8, 461, -1, 463, 12, -1, 466,
- -1, -1, 469, -1, 471, -1, 473, 474, 475, -1,
- 25, -1, -1, 28, 29, 30, 31, -1, 33, 34,
- 35, 36, -1, -1, -1, 40, -1, -1, 43, -1,
- 45, 46, 47, 48, 49, -1, 51, -1, -1, 54,
- -1, 56, -1, -1, 59, -1, -1, 62, 63, 64,
- 65, 66, 67, -1, -1, 70, 71, 72, 73, -1,
- -1, 76, -1, 78, 79, 80, -1, 82, -1, 84,
- 85, -1, -1, -1, -1, 90, 91, 92, 93, -1,
- 95, 96, 97, -1, 99, -1, 101, 102, -1, -1,
- 105, 106, -1, 108, -1, 110, -1, -1, 113, -1,
- -1, -1, -1, 118, -1, -1, 121, -1, -1, 124,
- 125, 126, -1, 128, 129, 130, -1, -1, 133, 134,
- -1, 136, -1, 138, 139, 140, -1, -1, -1, -1,
- 145, -1, 147, -1, 149, -1, -1, -1, 153, -1,
- -1, 156, 157, 158, -1, 160, -1, 162, -1, -1,
- 165, -1, -1, 168, -1, -1, -1, -1, -1, 174,
- 175, -1, -1, -1, 179, -1, 181, -1, -1, -1,
- 185, 186, 187, 188, 189, 190, 191, 192, 193, 194,
- 195, 196, 197, 198, 199, 200, -1, 202, 203, 204,
- 205, 206, 207, 208, 209, -1, 211, 212, 213, -1,
- 215, -1, 217, -1, -1, 220, -1, 222, 223, -1,
- -1, -1, -1, -1, -1, -1, 231, 232, 233, 234,
- -1, 236, 237, 238, 239, 240, 241, 242, 243, -1,
- -1, -1, -1, 248, -1, 250, -1, 252, 253, -1,
- -1, 256, 257, 258, 259, -1, -1, 262, 263, 264,
- 265, 266, -1, -1, -1, 270, 271, -1, 273, -1,
- -1, 276, 277, -1, -1, -1, -1, 282, -1, 284,
- 285, -1, -1, -1, -1, 290, -1, 292, 293, -1,
- 295, -1, -1, -1, 299, -1, -1, 302, -1, 304,
- -1, -1, -1, -1, 309, -1, 311, 312, 313, 314,
- -1, -1, -1, 318, -1, 320, 321, -1, -1, 324,
- 325, -1, 327, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, 337, 338, 339, -1, 341, -1, 343, 344,
- 345, 346, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, 356, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 375, -1, -1, -1, -1, -1, -1, 382, 383, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, 394,
- -1, -1, 397, -1, -1, -1, 401, 402, -1, 404,
- -1, -1, -1, -1, 409, -1, -1, -1, 413, -1,
- -1, 416, 417, 418, 419, -1, -1, -1, 423, 424,
- 425, -1, 427, 428, -1, -1, 431, -1, 433, -1,
- -1, -1, -1, -1, -1, 440, -1, 442, 443, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 455, 4, 5, 6, 7, 8, 461, -1, 463, 12,
- -1, 466, -1, -1, 469, -1, 471, -1, 473, 474,
- 475, -1, 25, -1, -1, 28, 29, 30, 31, -1,
- 33, 34, 35, 36, -1, -1, -1, 40, -1, -1,
- 43, -1, 45, 46, 47, 48, 49, -1, 51, -1,
- -1, 54, -1, 56, -1, -1, 59, -1, -1, 62,
- 63, 64, 65, 66, 67, -1, -1, 70, 71, 72,
- 73, -1, -1, 76, -1, 78, 79, 80, -1, 82,
- -1, 84, 85, -1, -1, -1, -1, 90, 91, 92,
- 93, -1, 95, 96, 97, -1, 99, -1, 101, 102,
- -1, -1, 105, 106, -1, 108, -1, 110, -1, -1,
- 113, -1, -1, -1, -1, 118, -1, -1, 121, -1,
- -1, 124, 125, 126, -1, 128, 129, 130, -1, -1,
- 133, 134, -1, 136, -1, 138, 139, 140, -1, -1,
- -1, -1, 145, -1, 147, -1, 149, -1, -1, -1,
- 153, -1, -1, 156, 157, 158, -1, 160, -1, 162,
- -1, -1, 165, -1, -1, 168, -1, -1, -1, -1,
- -1, 174, 175, -1, -1, -1, 179, -1, 181, -1,
- -1, -1, 185, 186, 187, 188, 189, 190, 191, 192,
- 193, 194, 195, 196, 197, 198, 199, 200, -1, 202,
- 203, 204, 205, 206, 207, 208, 209, -1, 211, 212,
- 213, -1, 215, -1, 217, -1, -1, 220, -1, 222,
- 223, -1, -1, -1, -1, -1, -1, -1, 231, 232,
- 233, -1, -1, 236, 237, 238, 239, 240, 241, 242,
- 243, -1, -1, -1, -1, 248, -1, 250, -1, 252,
- 253, -1, -1, 256, 257, 258, 259, -1, -1, 262,
- 263, 264, 265, 266, -1, -1, -1, 270, 271, -1,
- 273, -1, -1, 276, 277, -1, 279, -1, -1, 282,
- -1, 284, 285, -1, -1, -1, -1, 290, -1, 292,
- 293, -1, 295, -1, -1, -1, 299, -1, -1, 302,
- -1, 304, -1, -1, -1, -1, 309, -1, 311, 312,
- 313, 314, -1, -1, -1, 318, -1, 320, 321, -1,
- -1, 324, 325, -1, 327, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 337, 338, 339, -1, 341, -1,
- 343, 344, 345, 346, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, 356, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, 375, -1, -1, -1, -1, -1, -1, 382,
- 383, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, 394, -1, -1, 397, -1, -1, -1, 401, 402,
- -1, 404, -1, -1, -1, -1, 409, -1, -1, -1,
- 413, -1, -1, 416, 417, 418, 419, -1, -1, -1,
- 423, 424, 425, -1, 427, 428, -1, -1, 431, -1,
- 433, -1, -1, -1, -1, -1, -1, 440, -1, 442,
- 443, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, 455, 4, 5, 6, 7, 8, 461, -1,
- 463, 12, -1, 466, -1, -1, 469, -1, 471, -1,
- 473, 474, 475, -1, 25, -1, -1, 28, 29, 30,
- 31, -1, 33, 34, 35, 36, -1, -1, -1, 40,
- -1, -1, 43, -1, 45, 46, 47, 48, 49, -1,
- 51, -1, -1, 54, -1, 56, -1, -1, 59, -1,
- -1, 62, 63, 64, 65, 66, 67, -1, -1, 70,
- 71, 72, 73, -1, -1, 76, -1, 78, 79, 80,
- -1, 82, -1, 84, 85, -1, -1, -1, -1, 90,
- 91, 92, 93, -1, 95, 96, 97, -1, 99, -1,
- 101, 102, -1, -1, 105, 106, -1, 108, -1, 110,
- -1, -1, 113, -1, -1, -1, -1, 118, 119, -1,
- 121, -1, -1, 124, 125, 126, -1, 128, 129, 130,
- -1, -1, 133, 134, -1, 136, -1, 138, 139, 140,
- -1, -1, -1, -1, 145, -1, 147, -1, 149, -1,
- -1, -1, 153, -1, -1, 156, 157, 158, -1, 160,
- -1, 162, -1, -1, 165, -1, -1, 168, -1, -1,
- -1, -1, -1, 174, 175, -1, -1, -1, 179, -1,
- 181, -1, -1, -1, 185, 186, 187, 188, 189, 190,
- 191, 192, 193, 194, 195, 196, 197, 198, 199, 200,
- -1, 202, 203, 204, 205, 206, 207, 208, 209, -1,
- 211, 212, 213, -1, 215, -1, 217, -1, -1, 220,
- -1, 222, 223, -1, -1, -1, -1, -1, -1, -1,
- 231, 232, 233, -1, -1, 236, 237, 238, 239, 240,
- 241, 242, 243, -1, -1, -1, -1, 248, -1, 250,
- -1, 252, 253, -1, -1, 256, 257, 258, 259, -1,
- -1, 262, 263, 264, 265, 266, -1, -1, -1, 270,
- 271, -1, 273, -1, -1, 276, 277, -1, -1, -1,
- -1, 282, -1, 284, 285, -1, -1, -1, -1, 290,
- -1, 292, 293, -1, 295, -1, -1, -1, 299, -1,
- -1, 302, -1, 304, -1, -1, -1, -1, 309, -1,
- 311, 312, 313, 314, -1, -1, -1, 318, -1, 320,
- 321, -1, -1, 324, 325, -1, 327, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 337, 338, 339, -1,
- 341, -1, 343, 344, 345, 346, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 356, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 375, -1, -1, -1, -1, -1,
- -1, 382, 383, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, 394, -1, -1, 397, -1, -1, -1,
- 401, 402, -1, 404, -1, -1, -1, -1, 409, -1,
- -1, -1, 413, -1, -1, 416, 417, 418, 419, -1,
- -1, -1, 423, 424, 425, -1, 427, 428, -1, -1,
- 431, -1, 433, -1, -1, -1, -1, -1, -1, 440,
- -1, 442, 443, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 455, 4, 5, 6, 7, 8,
- 461, -1, 463, 12, -1, 466, -1, -1, 469, -1,
- 471, -1, 473, 474, 475, -1, 25, -1, -1, 28,
- 29, 30, 31, -1, 33, 34, 35, 36, -1, -1,
- -1, 40, -1, -1, 43, -1, 45, 46, 47, 48,
- 49, -1, 51, -1, -1, 54, -1, 56, -1, -1,
- 59, -1, -1, 62, 63, 64, 65, 66, 67, -1,
- -1, 70, 71, 72, 73, -1, -1, 76, -1, 78,
- 79, 80, -1, 82, -1, 84, 85, -1, -1, -1,
- -1, 90, 91, 92, 93, -1, 95, 96, 97, -1,
- 99, -1, 101, 102, -1, -1, 105, 106, -1, 108,
- -1, 110, -1, -1, 113, -1, -1, -1, -1, 118,
- -1, -1, 121, -1, -1, 124, 125, 126, -1, 128,
- 129, 130, -1, -1, 133, 134, -1, 136, -1, 138,
- 139, 140, -1, -1, -1, -1, 145, -1, 147, -1,
- 149, -1, -1, -1, 153, -1, -1, 156, 157, 158,
- -1, 160, -1, 162, -1, -1, 165, -1, -1, 168,
- -1, -1, -1, -1, -1, 174, 175, -1, -1, -1,
- 179, -1, 181, -1, -1, -1, 185, 186, 187, 188,
- 189, 190, 191, 192, 193, 194, 195, 196, 197, 198,
- 199, 200, -1, 202, 203, 204, 205, 206, 207, 208,
- 209, -1, 211, 212, 213, -1, 215, -1, 217, -1,
- -1, 220, -1, 222, 223, -1, -1, -1, -1, -1,
- -1, -1, 231, 232, 233, -1, -1, 236, 237, 238,
- 239, 240, 241, 242, 243, -1, -1, -1, -1, 248,
- -1, 250, -1, 252, 253, -1, -1, 256, 257, 258,
- 259, -1, -1, 262, 263, 264, 265, 266, -1, -1,
- -1, 270, 271, -1, 273, -1, -1, 276, 277, -1,
- -1, -1, -1, 282, -1, 284, 285, -1, -1, -1,
- -1, 290, -1, 292, 293, -1, 295, -1, -1, -1,
- 299, -1, -1, 302, -1, 304, -1, -1, -1, -1,
- 309, -1, 311, 312, 313, 314, -1, -1, -1, 318,
- -1, 320, 321, -1, -1, 324, 325, -1, 327, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 337, 338,
- 339, -1, 341, -1, 343, 344, 345, 346, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, 356, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 375, -1, -1, -1,
- -1, -1, -1, 382, 383, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 394, -1, -1, 397, -1,
- -1, -1, 401, 402, -1, 404, -1, -1, -1, -1,
- 409, -1, -1, -1, 413, -1, -1, 416, 417, 418,
- 419, -1, -1, -1, 423, 424, 425, -1, 427, 428,
- -1, -1, 431, -1, 433, -1, -1, -1, -1, -1,
- -1, 440, -1, 442, 443, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 455, 4, 5, 6,
- 7, 8, 461, -1, 463, 12, -1, 466, -1, -1,
- 469, -1, 471, -1, 473, 474, 475, -1, 25, -1,
- -1, 28, 29, 30, 31, -1, 33, 34, 35, 36,
- -1, -1, -1, 40, -1, -1, 43, -1, 45, 46,
- 47, 48, 49, -1, 51, -1, -1, 54, -1, 56,
- -1, -1, 59, -1, -1, 62, 63, 64, 65, 66,
- 67, -1, -1, 70, 71, 72, 73, -1, -1, 76,
- -1, 78, 79, 80, -1, 82, -1, 84, 85, -1,
- -1, -1, -1, 90, 91, 92, 93, -1, 95, 96,
- 97, -1, 99, -1, 101, 102, -1, -1, 105, 106,
- -1, 108, -1, 110, -1, -1, 113, -1, -1, -1,
- -1, 118, -1, -1, 121, -1, -1, 124, 125, 126,
- -1, 128, 129, 130, -1, -1, 133, 134, -1, 136,
- -1, 138, 139, 140, -1, -1, -1, -1, 145, -1,
- 147, -1, 149, -1, -1, -1, 153, -1, -1, 156,
- 157, 158, -1, 160, -1, 162, -1, -1, 165, -1,
- -1, 168, -1, -1, -1, -1, -1, 174, 175, -1,
- -1, -1, 179, -1, 181, -1, -1, -1, 185, 186,
- 187, 188, 189, 190, 191, 192, 193, 194, 195, 196,
- 197, 198, 199, 200, -1, 202, 203, 204, 205, 206,
- 207, 208, 209, -1, 211, 212, 213, -1, 215, -1,
- 217, -1, -1, 220, -1, 222, 223, -1, -1, -1,
- -1, -1, -1, -1, 231, 232, 233, -1, -1, 236,
- 237, 238, 239, 240, 241, 242, 243, -1, -1, -1,
- -1, 248, -1, 250, -1, 252, 253, -1, -1, 256,
- 257, 258, 259, -1, -1, 262, 263, 264, 265, 266,
- -1, -1, -1, 270, 271, -1, 273, -1, -1, 276,
- 277, -1, -1, -1, -1, 282, -1, 284, 285, -1,
- -1, -1, -1, 290, -1, 292, 293, -1, 295, -1,
- -1, -1, 299, -1, -1, 302, -1, 304, -1, -1,
- -1, -1, 309, -1, 311, 312, 313, 314, -1, -1,
- -1, 318, -1, 320, 321, -1, -1, 324, 325, -1,
- 327, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 337, 338, 339, -1, 341, -1, 343, 344, 345, 346,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, 356,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 31, -1, -1, -1, -1, -1, 37, 38, 375, -1,
- -1, -1, -1, -1, -1, 382, 383, -1, -1, -1,
- -1, -1, -1, -1, -1, 56, -1, 394, -1, -1,
- 397, -1, -1, -1, 401, 402, -1, 404, -1, 70,
- -1, -1, 409, -1, -1, -1, 413, -1, -1, 416,
- 417, 418, 419, -1, -1, -1, 423, 424, 425, -1,
- 427, 428, 93, 94, 431, -1, 433, -1, -1, -1,
- -1, -1, -1, 440, 105, 442, 443, -1, -1, 110,
- -1, 112, -1, -1, -1, -1, 117, -1, 455, -1,
- -1, -1, -1, -1, 461, -1, 463, -1, -1, 466,
- -1, -1, 469, -1, 471, -1, 473, 474, 475, -1,
- -1, -1, -1, -1, 145, -1, 147, -1, 149, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 161, 162, -1, -1, 165, -1, -1, -1, -1, 170,
- -1, -1, -1, -1, -1, -1, -1, -1, 179, -1,
- 181, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, 212, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, 223, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 235, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, 264, -1, -1, -1, -1, -1, 270,
- 271, -1, -1, 274, 275, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, 304, -1, -1, -1, -1, -1, -1,
- -1, 312, 313, -1, -1, -1, 317, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, 382, 383
- };
- /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
- symbol of state STATE-NUM. */
- static const unsigned short yystos[] =
- {
- 0, 3, 5, 26, 27, 30, 32, 35, 38, 41,
- 43, 44, 46, 48, 49, 50, 52, 53, 55, 60,
- 61, 62, 64, 65, 67, 68, 69, 70, 73, 76,
- 80, 81, 83, 92, 102, 106, 107, 122, 123, 148,
- 249, 253, 255, 260, 300, 337, 338, 437, 487, 496,
- 497, 498, 499, 500, 502, 507, 508, 513, 611, 626,
- 629, 637, 639, 641, 644, 649, 651, 656, 659, 663,
- 667, 675, 676, 785, 787, 794, 797, 823, 831, 844,
- 846, 860, 863, 866, 872, 876, 880, 881, 882, 914,
- 929, 935, 936, 943, 946, 969, 972, 973, 974, 4,
- 5, 6, 7, 8, 12, 25, 28, 29, 30, 31,
- 33, 34, 35, 36, 40, 43, 45, 46, 47, 48,
- 49, 51, 54, 56, 59, 62, 63, 64, 65, 66,
- 67, 70, 71, 72, 73, 76, 78, 79, 80, 82,
- 84, 85, 90, 91, 92, 93, 95, 96, 97, 99,
- 101, 102, 105, 106, 108, 110, 113, 118, 121, 124,
- 125, 126, 128, 129, 130, 133, 134, 136, 138, 139,
- 140, 145, 147, 149, 153, 156, 157, 158, 160, 162,
- 165, 168, 174, 175, 179, 181, 185, 186, 187, 188,
- 189, 190, 191, 192, 193, 194, 195, 196, 197, 198,
- 199, 200, 202, 203, 204, 205, 206, 207, 208, 209,
- 211, 212, 213, 215, 217, 220, 222, 223, 231, 232,
- 233, 236, 237, 238, 239, 240, 241, 242, 243, 248,
- 250, 252, 253, 256, 257, 258, 259, 262, 263, 264,
- 265, 266, 270, 271, 273, 276, 277, 282, 284, 285,
- 290, 292, 293, 295, 299, 302, 304, 309, 311, 312,
- 313, 314, 318, 320, 321, 324, 325, 327, 337, 338,
- 339, 341, 343, 344, 345, 346, 356, 375, 382, 383,
- 394, 397, 401, 402, 404, 409, 413, 416, 417, 418,
- 419, 423, 424, 425, 427, 428, 431, 433, 440, 442,
- 443, 455, 461, 463, 466, 469, 471, 473, 474, 475,
- 494, 905, 906, 907, 910, 913, 159, 368, 622, 179,
- 308, 658, 970, 56, 85, 146, 267, 277, 297, 368,
- 531, 532, 533, 546, 603, 832, 786, 161, 277, 292,
- 368, 455, 793, 910, 658, 176, 279, 908, 910, 911,
- 795, 19, 29, 37, 50, 57, 58, 74, 75, 77,
- 78, 80, 94, 104, 105, 110, 115, 116, 119, 135,
- 137, 141, 150, 154, 173, 180, 182, 201, 214, 216,
- 218, 219, 245, 258, 279, 283, 286, 287, 288, 289,
- 294, 303, 314, 317, 319, 321, 345, 346, 350, 357,
- 359, 360, 361, 362, 363, 364, 365, 366, 367, 368,
- 369, 370, 375, 376, 377, 378, 380, 381, 384, 385,
- 386, 387, 388, 390, 391, 392, 393, 394, 395, 396,
- 397, 401, 403, 405, 406, 407, 408, 409, 410, 411,
- 412, 413, 416, 419, 420, 421, 422, 423, 424, 425,
- 426, 427, 428, 429, 430, 431, 432, 433, 434, 436,
- 437, 438, 439, 440, 443, 444, 445, 446, 447, 448,
- 449, 450, 451, 452, 453, 454, 455, 456, 457, 458,
- 459, 463, 464, 465, 479, 480, 485, 487, 490, 491,
- 493, 494, 696, 699, 702, 703, 704, 709, 894, 896,
- 898, 899, 903, 909, 910, 983, 989, 118, 161, 275,
- 274, 275, 931, 658, 877, 658, 873, 280, 910, 678,
- 680, 681, 847, 73, 76, 70, 282, 70, 275, 845,
- 931, 824, 931, 161, 931, 931, 947, 931, 931, 944,
- 224, 916, 910, 910, 798, 68, 487, 677, 0, 3,
- 337, 136, 864, 905, 910, 910, 223, 4, 244, 494,
- 614, 910, 275, 931, 461, 971, 280, 403, 534, 275,
- 532, 292, 161, 159, 184, 339, 842, 843, 719, 720,
- 910, 907, 403, 792, 789, 931, 503, 867, 120, 155,
- 184, 800, 487, 487, 487, 487, 487, 487, 487, 487,
- 487, 487, 487, 696, 487, 487, 487, 487, 487, 695,
- 487, 487, 985, 989, 487, 487, 487, 487, 722, 723,
- 724, 696, 487, 487, 487, 487, 487, 154, 279, 487,
- 487, 487, 487, 294, 487, 894, 487, 894, 487, 894,
- 487, 487, 487, 487, 696, 726, 487, 487, 487, 695,
- 487, 695, 487, 487, 487, 487, 487, 487, 487, 487,
- 487, 487, 487, 487, 487, 487, 487, 487, 487, 487,
- 487, 487, 487, 487, 487, 487, 696, 487, 487, 487,
- 487, 487, 487, 487, 487, 487, 487, 487, 487, 487,
- 487, 487, 487, 487, 695, 487, 487, 487, 487, 487,
- 487, 487, 487, 487, 487, 487, 487, 487, 487, 487,
- 487, 487, 487, 487, 487, 487, 487, 487, 487, 487,
- 695, 695, 695, 487, 487, 487, 487, 696, 696, 696,
- 68, 696, 696, 910, 493, 911, 910, 9, 10, 11,
- 12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
- 87, 167, 177, 216, 226, 227, 247, 310, 358, 477,
- 478, 479, 480, 481, 482, 483, 484, 697, 371, 372,
- 373, 374, 375, 398, 399, 400, 401, 413, 414, 415,
- 416, 419, 440, 441, 462, 463, 749, 109, 909, 494,
- 678, 984, 113, 144, 184, 885, 166, 905, 930, 931,
- 56, 94, 852, 878, 931, 56, 70, 238, 874, 875,
- 67, 679, 86, 127, 155, 272, 468, 469, 470, 471,
- 472, 473, 685, 686, 687, 31, 37, 38, 56, 70,
- 93, 105, 110, 112, 117, 145, 147, 149, 161, 162,
- 165, 170, 179, 181, 212, 223, 235, 264, 270, 271,
- 274, 275, 312, 313, 317, 382, 579, 602, 848, 852,
- 853, 856, 921, 631, 632, 631, 631, 306, 630, 631,
- 791, 905, 184, 830, 640, 664, 665, 905, 642, 652,
- 26, 38, 41, 44, 46, 50, 55, 63, 68, 69,
- 79, 83, 86, 138, 148, 161, 236, 246, 248, 266,
- 298, 948, 950, 951, 660, 638, 86, 945, 948, 915,
- 144, 120, 801, 830, 680, 677, 488, 910, 862, 861,
- 10, 88, 751, 752, 937, 910, 613, 905, 650, 509,
- 216, 910, 534, 907, 910, 144, 833, 839, 840, 910,
- 842, 696, 721, 221, 135, 910, 116, 911, 912, 960,
- 961, 792, 301, 504, 56, 70, 124, 156, 181, 235,
- 238, 252, 270, 274, 868, 869, 931, 622, 696, 86,
- 716, 753, 127, 716, 753, 696, 716, 716, 716, 716,
- 716, 696, 696, 696, 696, 696, 696, 488, 903, 678,
- 986, 696, 696, 696, 723, 356, 725, 903, 696, 488,
- 696, 696, 696, 903, 696, 719, 719, 696, 696, 696,
- 696, 716, 716, 716, 460, 719, 696, 696, 696, 488,
- 696, 696, 696, 696, 696, 696, 696, 696, 696, 696,
- 749, 696, 696, 696, 696, 696, 696, 719, 127, 713,
- 894, 320, 321, 345, 346, 750, 696, 696, 488, 696,
- 696, 696, 719, 696, 696, 696, 696, 696, 696, 696,
- 696, 696, 719, 719, 719, 696, 696, 696, 696, 696,
- 696, 719, 700, 703, 488, 696, 696, 696, 696, 696,
- 696, 696, 696, 98, 172, 281, 696, 707, 708, 707,
- 707, 706, 719, 706, 706, 894, 488, 696, 488, 696,
- 696, 696, 141, 182, 219, 245, 350, 772, 488, 489,
- 696, 147, 179, 264, 922, 22, 494, 696, 696, 177,
- 216, 218, 696, 696, 696, 696, 487, 987, 989, 703,
- 167, 177, 247, 358, 696, 696, 696, 696, 701, 703,
- 696, 696, 696, 702, 696, 702, 696, 696, 696, 696,
- 28, 86, 696, 698, 480, 911, 910, 488, 990, 56,
- 179, 884, 102, 144, 905, 932, 933, 657, 181, 645,
- 102, 489, 910, 296, 975, 976, 481, 689, 690, 691,
- 687, 45, 487, 275, 368, 270, 156, 270, 181, 177,
- 855, 285, 855, 389, 270, 56, 274, 855, 144, 167,
- 854, 857, 270, 285, 329, 767, 769, 767, 260, 541,
- 911, 855, 857, 181, 383, 111, 237, 304, 628, 51,
- 72, 633, 634, 627, 36, 622, 790, 791, 167, 489,
- 671, 672, 790, 790, 277, 953, 274, 33, 70, 952,
- 117, 954, 235, 949, 224, 955, 221, 489, 661, 662,
- 905, 790, 949, 221, 147, 179, 222, 264, 917, 918,
- 919, 920, 493, 501, 908, 166, 791, 802, 803, 488,
- 976, 978, 979, 980, 675, 154, 865, 895, 909, 910,
- 910, 7, 139, 910, 938, 939, 119, 528, 529, 530,
- 539, 540, 587, 612, 790, 185, 186, 187, 188, 189,
- 190, 191, 193, 194, 195, 196, 197, 198, 199, 200,
- 510, 511, 512, 135, 516, 905, 517, 284, 301, 604,
- 839, 905, 910, 489, 835, 494, 841, 489, 905, 695,
- 493, 402, 489, 790, 493, 505, 506, 102, 306, 489,
- 870, 802, 489, 488, 717, 710, 488, 481, 489, 488,
- 488, 488, 488, 488, 489, 489, 88, 488, 488, 301,
- 489, 488, 990, 489, 489, 488, 489, 488, 487, 489,
- 489, 488, 489, 489, 488, 488, 301, 488, 488, 488,
- 488, 489, 488, 488, 489, 488, 488, 488, 728, 729,
- 488, 489, 489, 488, 489, 489, 488, 489, 488, 489,
- 488, 489, 489, 489, 488, 489, 489, 144, 489, 489,
- 488, 489, 488, 489, 488, 489, 488, 489, 488, 712,
- 489, 489, 488, 489, 488, 489, 488, 489, 488, 489,
- 489, 489, 488, 488, 488, 488, 489, 488, 489, 488,
- 489, 488, 488, 488, 488, 488, 488, 488, 489, 489,
- 488, 489, 488, 9, 11, 12, 18, 19, 20, 21,
- 87, 167, 177, 216, 226, 227, 247, 310, 358, 477,
- 478, 479, 480, 481, 482, 483, 484, 697, 488, 489,
- 489, 488, 489, 488, 489, 144, 489, 489, 144, 696,
- 144, 696, 144, 696, 144, 488, 488, 706, 488, 488,
- 488, 488, 488, 489, 488, 488, 489, 488, 488, 489,
- 489, 719, 492, 494, 494, 494, 911, 696, 910, 696,
- 218, 719, 678, 988, 134, 758, 487, 987, 703, 696,
- 701, 9, 11, 12, 18, 19, 20, 21, 87, 167,
- 177, 216, 226, 227, 247, 310, 358, 477, 478, 479,
- 480, 481, 482, 483, 484, 697, 749, 749, 987, 696,
- 494, 163, 668, 56, 752, 489, 790, 280, 476, 879,
- 790, 875, 86, 127, 982, 489, 682, 693, 696, 901,
- 910, 167, 858, 481, 905, 534, 908, 912, 389, 854,
- 855, 910, 854, 770, 772, 849, 905, 857, 855, 82,
- 635, 489, 635, 71, 487, 491, 731, 736, 737, 280,
- 489, 119, 666, 910, 665, 161, 171, 600, 601, 673,
- 136, 339, 643, 136, 206, 318, 325, 339, 653, 654,
- 655, 274, 487, 962, 962, 962, 962, 481, 905, 910,
- 959, 951, 489, 280, 144, 489, 959, 489, 119, 282,
- 910, 923, 925, 208, 428, 493, 579, 924, 911, 803,
- 799, 228, 763, 769, 981, 6, 7, 8, 10, 13,
- 14, 15, 16, 139, 940, 942, 305, 754, 530, 109,
- 579, 24, 26, 32, 34, 44, 90, 91, 106, 115,
- 118, 121, 125, 126, 130, 160, 161, 202, 207, 232,
- 241, 242, 243, 249, 257, 284, 296, 382, 404, 418,
- 428, 536, 538, 539, 540, 615, 616, 617, 763, 653,
- 10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
- 10, 10, 10, 10, 10, 489, 528, 514, 290, 99,
- 153, 259, 605, 605, 221, 837, 834, 494, 840, 144,
- 481, 910, 752, 696, 788, 911, 100, 961, 103, 254,
- 623, 911, 489, 244, 869, 790, 871, 796, 696, 696,
- 719, 488, 696, 405, 696, 696, 94, 213, 317, 320,
- 321, 341, 346, 351, 718, 94, 580, 911, 718, 719,
- 719, 696, 696, 903, 719, 696, 696, 580, 696, 696,
- 379, 727, 696, 730, 719, 696, 702, 702, 909, 696,
- 696, 719, 909, 696, 696, 696, 719, 219, 696, 696,
- 696, 696, 719, 219, 696, 696, 696, 696, 696, 719,
- 696, 696, 696, 696, 696, 696, 696, 696, 696, 177,
- 216, 218, 696, 696, 696, 696, 696, 703, 177, 247,
- 358, 696, 696, 696, 696, 701, 696, 696, 696, 702,
- 696, 702, 696, 696, 696, 696, 696, 698, 696, 696,
- 696, 405, 696, 696, 696, 696, 696, 144, 696, 144,
- 696, 144, 696, 219, 696, 696, 696, 488, 494, 609,
- 488, 990, 703, 719, 758, 87, 696, 696, 177, 216,
- 218, 696, 696, 696, 696, 487, 987, 703, 167, 177,
- 247, 358, 696, 696, 696, 696, 701, 696, 696, 696,
- 702, 696, 702, 696, 696, 696, 696, 696, 698, 910,
- 908, 669, 670, 905, 184, 244, 307, 934, 933, 653,
- 908, 696, 136, 299, 339, 646, 647, 648, 977, 690,
- 144, 166, 683, 684, 762, 763, 783, 692, 494, 908,
- 144, 859, 488, 910, 70, 855, 855, 220, 489, 181,
- 270, 851, 854, 905, 512, 636, 634, 68, 487, 731,
- 738, 910, 39, 164, 169, 210, 260, 272, 407, 438,
- 489, 735, 905, 908, 791, 487, 654, 910, 963, 964,
- 494, 494, 280, 662, 905, 908, 148, 144, 918, 494,
- 168, 494, 10, 22, 814, 119, 580, 581, 389, 814,
- 493, 911, 94, 119, 582, 583, 911, 68, 260, 302,
- 303, 487, 524, 804, 808, 100, 767, 941, 755, 768,
- 769, 814, 815, 815, 112, 114, 146, 267, 551, 554,
- 555, 598, 600, 621, 621, 621, 815, 143, 234, 600,
- 621, 815, 815, 815, 280, 133, 815, 170, 276, 170,
- 276, 133, 815, 815, 815, 815, 815, 815, 10, 88,
- 280, 625, 815, 815, 815, 815, 815, 621, 815, 536,
- 489, 487, 494, 550, 556, 904, 910, 908, 908, 908,
- 141, 182, 219, 245, 350, 773, 908, 772, 772, 772,
- 908, 908, 908, 908, 908, 908, 772, 511, 177, 487,
- 518, 535, 537, 538, 328, 340, 343, 547, 905, 301,
- 754, 910, 731, 494, 841, 279, 428, 506, 55, 804,
- 488, 711, 489, 696, 488, 488, 487, 573, 573, 573,
- 328, 328, 488, 488, 488, 488, 488, 488, 167, 306,
- 705, 488, 488, 489, 488, 488, 488, 696, 466, 467,
- 460, 488, 489, 749, 749, 488, 488, 488, 488, 488,
- 488, 489, 488, 488, 488, 488, 488, 488, 488, 715,
- 763, 489, 488, 489, 488, 488, 488, 489, 488, 488,
- 489, 488, 488, 488, 488, 488, 488, 696, 218, 488,
- 758, 703, 696, 701, 87, 749, 749, 987, 489, 488,
- 488, 696, 488, 389, 488, 488, 489, 489, 488, 696,
- 488, 696, 488, 696, 488, 489, 488, 488, 488, 910,
- 488, 696, 696, 218, 719, 758, 487, 987, 703, 696,
- 701, 87, 749, 749, 987, 883, 489, 671, 307, 179,
- 647, 676, 42, 731, 230, 231, 779, 780, 55, 389,
- 688, 783, 768, 684, 88, 694, 908, 910, 481, 910,
- 773, 850, 312, 313, 306, 772, 772, 854, 489, 739,
- 740, 738, 488, 978, 736, 169, 169, 169, 407, 438,
- 826, 827, 903, 731, 229, 742, 742, 731, 731, 752,
- 234, 747, 910, 488, 489, 481, 481, 960, 224, 960,
- 910, 175, 910, 86, 94, 119, 221, 696, 928, 109,
- 585, 912, 279, 427, 428, 927, 922, 814, 525, 805,
- 487, 811, 816, 811, 488, 524, 807, 900, 901, 903,
- 809, 764, 487, 696, 119, 584, 586, 911, 581, 608,
- 904, 601, 601, 107, 143, 234, 297, 553, 599, 552,
- 553, 608, 904, 904, 908, 171, 171, 904, 904, 773,
- 772, 772, 579, 815, 772, 815, 773, 773, 119, 772,
- 239, 240, 543, 772, 772, 772, 905, 119, 129, 140,
- 311, 542, 541, 487, 541, 6, 139, 217, 544, 904,
- 908, 617, 548, 549, 550, 551, 910, 25, 139, 624,
- 246, 552, 590, 557, 494, 905, 177, 519, 524, 548,
- 159, 437, 521, 886, 489, 537, 291, 515, 731, 762,
- 836, 752, 279, 221, 821, 488, 696, 749, 219, 101,
- 295, 314, 579, 588, 97, 238, 488, 696, 696, 696,
- 696, 488, 488, 696, 261, 714, 219, 696, 696, 696,
- 758, 87, 696, 696, 749, 696, 696, 696, 488, 488,
- 488, 219, 488, 719, 758, 87, 696, 886, 670, 159,
- 674, 754, 754, 908, 908, 493, 781, 782, 167, 83,
- 908, 910, 494, 767, 187, 855, 512, 685, 488, 488,
- 407, 731, 742, 742, 489, 825, 814, 169, 169, 221,
- 301, 142, 159, 300, 743, 488, 489, 964, 251, 965,
- 144, 244, 250, 263, 926, 586, 814, 487, 487, 925,
- 696, 685, 812, 813, 903, 817, 489, 487, 808, 488,
- 488, 489, 975, 696, 765, 902, 119, 696, 819, 820,
- 696, 171, 171, 601, 608, 604, 44, 260, 618, 608,
- 623, 581, 908, 908, 790, 619, 488, 489, 910, 905,
- 94, 95, 96, 97, 140, 183, 209, 213, 215, 260,
- 262, 315, 316, 317, 320, 321, 322, 323, 324, 326,
- 327, 328, 330, 331, 332, 333, 334, 335, 340, 342,
- 344, 345, 346, 347, 348, 349, 352, 353, 394, 409,
- 423, 424, 425, 431, 433, 463, 558, 561, 562, 563,
- 564, 565, 566, 567, 910, 905, 488, 488, 88, 527,
- 537, 908, 487, 838, 329, 771, 754, 128, 489, 488,
- 488, 580, 417, 47, 488, 467, 488, 488, 489, 895,
- 488, 489, 488, 488, 488, 696, 488, 488, 488, 488,
- 488, 489, 488, 696, 166, 174, 768, 151, 759, 784,
- 911, 489, 442, 481, 10, 689, 752, 229, 169, 169,
- 827, 754, 820, 731, 731, 696, 732, 600, 744, 744,
- 744, 910, 59, 268, 273, 309, 474, 475, 957, 958,
- 306, 966, 960, 108, 293, 244, 927, 279, 279, 814,
- 689, 489, 814, 818, 819, 816, 810, 808, 900, 489,
- 89, 122, 766, 488, 489, 608, 604, 487, 119, 119,
- 556, 585, 488, 558, 549, 591, 487, 573, 487, 568,
- 569, 317, 352, 562, 564, 588, 317, 353, 353, 354,
- 560, 573, 568, 336, 559, 568, 588, 588, 568, 573,
- 573, 588, 487, 573, 34, 90, 94, 109, 119, 216,
- 218, 221, 234, 262, 297, 575, 576, 577, 589, 354,
- 487, 588, 487, 487, 487, 573, 487, 569, 574, 494,
- 488, 520, 535, 487, 524, 606, 607, 910, 754, 773,
- 822, 696, 696, 696, 716, 719, 275, 100, 152, 756,
- 111, 887, 782, 417, 908, 741, 169, 731, 731, 762,
- 221, 733, 221, 734, 487, 745, 279, 279, 279, 87,
- 956, 148, 203, 204, 205, 967, 968, 488, 488, 928,
- 526, 813, 820, 488, 978, 902, 820, 487, 487, 606,
- 321, 345, 346, 479, 480, 897, 898, 624, 575, 201,
- 221, 487, 592, 594, 595, 596, 219, 219, 341, 351,
- 355, 570, 571, 572, 588, 354, 487, 570, 487, 570,
- 570, 588, 219, 570, 908, 584, 426, 578, 897, 218,
- 83, 119, 171, 577, 171, 219, 219, 219, 219, 570,
- 219, 570, 910, 978, 521, 524, 522, 488, 489, 766,
- 487, 171, 488, 488, 489, 488, 488, 905, 760, 902,
- 757, 762, 131, 132, 225, 278, 888, 889, 178, 890,
- 87, 545, 684, 768, 736, 771, 696, 301, 696, 301,
- 748, 910, 487, 957, 224, 772, 772, 772, 968, 545,
- 766, 606, 606, 488, 899, 899, 620, 145, 233, 265,
- 41, 83, 593, 910, 596, 488, 488, 489, 572, 610,
- 895, 610, 488, 695, 426, 302, 488, 488, 488, 488,
- 488, 975, 607, 219, 83, 696, 887, 306, 489, 761,
- 766, 696, 768, 100, 100, 131, 100, 889, 269, 278,
- 891, 892, 188, 688, 221, 487, 487, 488, 489, 746,
- 747, 488, 488, 624, 103, 217, 254, 260, 597, 597,
- 488, 489, 219, 488, 489, 488, 695, 588, 588, 523,
- 766, 488, 828, 829, 903, 488, 890, 40, 66, 902,
- 435, 774, 895, 895, 100, 895, 100, 100, 892, 10,
- 696, 748, 748, 910, 488, 590, 84, 119, 218, 594,
- 910, 488, 588, 895, 588, 978, 489, 814, 159, 893,
- 766, 910, 895, 895, 895, 773, 492, 488, 488, 829,
- 820, 219, 487, 806, 775, 87, 178, 488, 807, 487,
- 192, 488, 691, 776, 777, 778, 10, 696, 488, 489,
- 772, 778
- };
- #if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__)
- # define YYSIZE_T __SIZE_TYPE__
- #endif
- #if ! defined (YYSIZE_T) && defined (size_t)
- # define YYSIZE_T size_t
- #endif
- #if ! defined (YYSIZE_T)
- # if defined (__STDC__) || defined (__cplusplus)
- # include <stddef.h> /* INFRINGES ON USER NAME SPACE */
- # define YYSIZE_T size_t
- # endif
- #endif
- #if ! defined (YYSIZE_T)
- # define YYSIZE_T unsigned int
- #endif
- #define yyerrok (yyerrstatus = 0)
- #define yyclearin (yychar = YYEMPTY)
- #define YYEMPTY (-2)
- #define YYEOF 0
- #define YYACCEPT goto yyacceptlab
- #define YYABORT goto yyabortlab
- #define YYERROR goto yyerrorlab
- /* Like YYERROR except do call yyerror. This remains here temporarily
- to ease the transition to the new meaning of YYERROR, for GCC.
- Once GCC version 2 has supplanted version 1, this can go. */
- #define YYFAIL goto yyerrlab
- #define YYRECOVERING() (!!yyerrstatus)
- #define YYBACKUP(Token, Value)
- do
- if (yychar == YYEMPTY && yylen == 1)
- {
- yychar = (Token);
- yylval = (Value);
- yytoken = YYTRANSLATE (yychar);
- YYPOPSTACK;
- goto yybackup;
- }
- else
- {
- yyerror ("syntax error: cannot back up");
- YYERROR;
- }
- while (0)
- #define YYTERROR 1
- #define YYERRCODE 256
- /* YYLLOC_DEFAULT -- Compute the default location (before the actions
- are run). */
- #ifndef YYLLOC_DEFAULT
- # define YYLLOC_DEFAULT(Current, Rhs, N)
- ((Current).first_line = (Rhs)[1].first_line,
- (Current).first_column = (Rhs)[1].first_column,
- (Current).last_line = (Rhs)[N].last_line,
- (Current).last_column = (Rhs)[N].last_column)
- #endif
- /* YYLEX -- calling `yylex' with the right arguments. */
- #ifdef YYLEX_PARAM
- # define YYLEX yylex (&yylval, YYLEX_PARAM)
- #else
- # define YYLEX yylex (&yylval)
- #endif
- /* Enable debugging if requested. */
- #if YYDEBUG
- # ifndef YYFPRINTF
- # include <stdio.h> /* INFRINGES ON USER NAME SPACE */
- # define YYFPRINTF fprintf
- # endif
- # define YYDPRINTF(Args)
- do {
- if (yydebug)
- YYFPRINTF Args;
- } while (0)
- # define YYDSYMPRINT(Args)
- do {
- if (yydebug)
- yysymprint Args;
- } while (0)
- # define YYDSYMPRINTF(Title, Token, Value, Location)
- do {
- if (yydebug)
- {
- YYFPRINTF (stderr, "%s ", Title);
- yysymprint (stderr,
- Token, Value);
- YYFPRINTF (stderr, "n");
- }
- } while (0)
- /*------------------------------------------------------------------.
- | yy_stack_print -- Print the state stack from its BOTTOM up to its |
- | TOP (included). |
- `------------------------------------------------------------------*/
- #if defined (__STDC__) || defined (__cplusplus)
- static void
- yy_stack_print (short *bottom, short *top)
- #else
- static void
- yy_stack_print (bottom, top)
- short *bottom;
- short *top;
- #endif
- {
- YYFPRINTF (stderr, "Stack now");
- for (/* Nothing. */; bottom <= top; ++bottom)
- YYFPRINTF (stderr, " %d", *bottom);
- YYFPRINTF (stderr, "n");
- }
- # define YY_STACK_PRINT(Bottom, Top)
- do {
- if (yydebug)
- yy_stack_print ((Bottom), (Top));
- } while (0)
- /*------------------------------------------------.
- | Report that the YYRULE is going to be reduced. |
- `------------------------------------------------*/
- #if defined (__STDC__) || defined (__cplusplus)
- static void
- yy_reduce_print (int yyrule)
- #else
- static void
- yy_reduce_print (yyrule)
- int yyrule;
- #endif
- {
- int yyi;
- unsigned int yylno = yyrline[yyrule];
- YYFPRINTF (stderr, "Reducing stack by rule %d (line %u), ",
- yyrule - 1, yylno);
- /* Print the symbols being reduced, and their result. */
- for (yyi = yyprhs[yyrule]; 0 <= yyrhs[yyi]; yyi++)
- YYFPRINTF (stderr, "%s ", yytname [yyrhs[yyi]]);
- YYFPRINTF (stderr, "-> %sn", yytname [yyr1[yyrule]]);
- }
- # define YY_REDUCE_PRINT(Rule)
- do {
- if (yydebug)
- yy_reduce_print (Rule);
- } while (0)
- /* Nonzero means print parse trace. It is left uninitialized so that
- multiple parsers can coexist. */
- int yydebug;
- #else /* !YYDEBUG */
- # define YYDPRINTF(Args)
- # define YYDSYMPRINT(Args)
- # define YYDSYMPRINTF(Title, Token, Value, Location)
- # define YY_STACK_PRINT(Bottom, Top)
- # define YY_REDUCE_PRINT(Rule)
- #endif /* !YYDEBUG */
- /* YYINITDEPTH -- initial size of the parser's stacks. */
- #ifndef YYINITDEPTH
- # define YYINITDEPTH 200
- #endif
- /* YYMAXDEPTH -- maximum size the stacks can grow to (effective only
- if the built-in stack extension method is used).
- Do not make this value too large; the results are undefined if
- SIZE_MAX < YYSTACK_BYTES (YYMAXDEPTH)
- evaluated with infinite-precision integer arithmetic. */
- #if defined (YYMAXDEPTH) && YYMAXDEPTH == 0
- # undef YYMAXDEPTH
- #endif
- #ifndef YYMAXDEPTH
- # define YYMAXDEPTH 10000
- #endif
- #if YYERROR_VERBOSE
- # ifndef yystrlen
- # if defined (__GLIBC__) && defined (_STRING_H)
- # define yystrlen strlen
- # else
- /* Return the length of YYSTR. */
- static YYSIZE_T
- # if defined (__STDC__) || defined (__cplusplus)
- yystrlen (const char *yystr)
- # else
- yystrlen (yystr)
- const char *yystr;
- # endif
- {
- register const char *yys = yystr;
- while (*yys++ != ' ')
- continue;
- return yys - yystr - 1;
- }
- # endif
- # endif
- # ifndef yystpcpy
- # if defined (__GLIBC__) && defined (_STRING_H) && defined (_GNU_SOURCE)
- # define yystpcpy stpcpy
- # else
- /* Copy YYSRC to YYDEST, returning the address of the terminating ' ' in
- YYDEST. */
- static char *
- # if defined (__STDC__) || defined (__cplusplus)
- yystpcpy (char *yydest, const char *yysrc)
- # else
- yystpcpy (yydest, yysrc)
- char *yydest;
- const char *yysrc;
- # endif
- {
- register char *yyd = yydest;
- register const char *yys = yysrc;
- while ((*yyd++ = *yys++) != ' ')
- continue;
- return yyd - 1;
- }
- # endif
- # endif
- #endif /* !YYERROR_VERBOSE */
- #if YYDEBUG
- /*--------------------------------.
- | Print this symbol on YYOUTPUT. |
- `--------------------------------*/
- #if defined (__STDC__) || defined (__cplusplus)
- static void
- yysymprint (FILE *yyoutput, int yytype, YYSTYPE *yyvaluep)
- #else
- static void
- yysymprint (yyoutput, yytype, yyvaluep)
- FILE *yyoutput;
- int yytype;
- YYSTYPE *yyvaluep;
- #endif
- {
- /* Pacify ``unused variable'' warnings. */
- (void) yyvaluep;
- if (yytype < YYNTOKENS)
- {
- YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
- # ifdef YYPRINT
- YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep);
- # endif
- }
- else
- YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]);
- switch (yytype)
- {
- default:
- break;
- }
- YYFPRINTF (yyoutput, ")");
- }
- #endif /* ! YYDEBUG */
- /*-----------------------------------------------.
- | Release the memory associated to this symbol. |
- `-----------------------------------------------*/
- #if defined (__STDC__) || defined (__cplusplus)
- static void
- yydestruct (int yytype, YYSTYPE *yyvaluep)
- #else
- static void
- yydestruct (yytype, yyvaluep)
- int yytype;
- YYSTYPE *yyvaluep;
- #endif
- {
- /* Pacify ``unused variable'' warnings. */
- (void) yyvaluep;
- switch (yytype)
- {
- default:
- break;
- }
- }
- /* Prevent warnings from -Wmissing-prototypes. */
- #ifdef YYPARSE_PARAM
- # if defined (__STDC__) || defined (__cplusplus)
- int yyparse (void *YYPARSE_PARAM);
- # else
- int yyparse ();
- # endif
- #else /* ! YYPARSE_PARAM */
- #if defined (__STDC__) || defined (__cplusplus)
- int yyparse (void);
- #else
- int yyparse ();
- #endif
- #endif /* ! YYPARSE_PARAM */
- /*----------.
- | yyparse. |
- `----------*/
- #ifdef YYPARSE_PARAM
- # if defined (__STDC__) || defined (__cplusplus)
- int yyparse (void *YYPARSE_PARAM)
- # else
- int yyparse (YYPARSE_PARAM)
- void *YYPARSE_PARAM;
- # endif
- #else /* ! YYPARSE_PARAM */
- #if defined (__STDC__) || defined (__cplusplus)
- int
- yyparse (void)
- #else
- int
- yyparse ()
- #endif
- #endif
- {
- /* The lookahead symbol. */
- int yychar;
- /* The semantic value of the lookahead symbol. */
- YYSTYPE yylval;
- /* Number of syntax errors so far. */
- int yynerrs;
- register int yystate;
- register int yyn;
- int yyresult;
- /* Number of tokens to shift before error messages enabled. */
- int yyerrstatus;
- /* Lookahead token as an internal (translated) token number. */
- int yytoken = 0;
- /* Three stacks and their tools:
- `yyss': related to states,
- `yyvs': related to semantic values,
- `yyls': related to locations.
- Refer to the stacks thru separate pointers, to allow yyoverflow
- to reallocate them elsewhere. */
- /* The state stack. */
- short yyssa[YYINITDEPTH];
- short *yyss = yyssa;
- register short *yyssp;
- /* The semantic value stack. */
- YYSTYPE yyvsa[YYINITDEPTH];
- YYSTYPE *yyvs = yyvsa;
- register YYSTYPE *yyvsp;
- #define YYPOPSTACK (yyvsp--, yyssp--)
- YYSIZE_T yystacksize = YYINITDEPTH;
- /* The variables used to return semantic value and location from the
- action routines. */
- YYSTYPE yyval;
- /* When reducing, the number of symbols on the RHS of the reduced
- rule. */
- int yylen;
- YYDPRINTF ((stderr, "Starting parsen"));
- yystate = 0;
- yyerrstatus = 0;
- yynerrs = 0;
- yychar = YYEMPTY; /* Cause a token to be read. */
- /* Initialize stack pointers.
- Waste one element of value and location stack
- so that they stay on the same level as the state stack.
- The wasted elements are never initialized. */
- yyssp = yyss;
- yyvsp = yyvs;
- goto yysetstate;
- /*------------------------------------------------------------.
- | yynewstate -- Push a new state, which is found in yystate. |
- `------------------------------------------------------------*/
- yynewstate:
- /* In all cases, when you get here, the value and location stacks
- have just been pushed. so pushing a state here evens the stacks.
- */
- yyssp++;
- yysetstate:
- *yyssp = yystate;
- if (yyss + yystacksize - 1 <= yyssp)
- {
- /* Get the current used size of the three stacks, in elements. */
- YYSIZE_T yysize = yyssp - yyss + 1;
- #ifdef yyoverflow
- {
- /* Give user a chance to reallocate the stack. Use copies of
- these so that the &'s don't force the real ones into
- memory. */
- YYSTYPE *yyvs1 = yyvs;
- short *yyss1 = yyss;
- /* Each stack pointer address is followed by the size of the
- data in use in that stack, in bytes. This used to be a
- conditional around just the two extra args, but that might
- be undefined if yyoverflow is a macro. */
- yyoverflow ("parser stack overflow",
- &yyss1, yysize * sizeof (*yyssp),
- &yyvs1, yysize * sizeof (*yyvsp),
- &yystacksize);
- yyss = yyss1;
- yyvs = yyvs1;
- }
- #else /* no yyoverflow */
- # ifndef YYSTACK_RELOCATE
- goto yyoverflowlab;
- # else
- /* Extend the stack our own way. */
- if (YYMAXDEPTH <= yystacksize)
- goto yyoverflowlab;
- yystacksize *= 2;
- if (YYMAXDEPTH < yystacksize)
- yystacksize = YYMAXDEPTH;
- {
- short *yyss1 = yyss;
- union yyalloc *yyptr =
- (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
- if (! yyptr)
- goto yyoverflowlab;
- YYSTACK_RELOCATE (yyss);
- YYSTACK_RELOCATE (yyvs);
- # undef YYSTACK_RELOCATE
- if (yyss1 != yyssa)
- YYSTACK_FREE (yyss1);
- }
- # endif
- #endif /* no yyoverflow */
- yyssp = yyss + yysize - 1;
- yyvsp = yyvs + yysize - 1;
- YYDPRINTF ((stderr, "Stack size increased to %lun",
- (unsigned long int) yystacksize));
- if (yyss + yystacksize - 1 <= yyssp)
- YYABORT;
- }
- YYDPRINTF ((stderr, "Entering state %dn", yystate));
- goto yybackup;
- /*-----------.
- | yybackup. |
- `-----------*/
- yybackup:
- /* Do appropriate processing given the current state. */
- /* Read a lookahead token if we need one and don't already have one. */
- /* yyresume: */
- /* First try to decide what to do without reference to lookahead token. */
- yyn = yypact[yystate];
- if (yyn == YYPACT_NINF)
- goto yydefault;
- /* Not known => get a lookahead token if don't already have one. */
- /* YYCHAR is either YYEMPTY or YYEOF or a valid lookahead symbol. */
- if (yychar == YYEMPTY)
- {
- YYDPRINTF ((stderr, "Reading a token: "));
- yychar = YYLEX;
- }
- if (yychar <= YYEOF)
- {
- yychar = yytoken = YYEOF;
- YYDPRINTF ((stderr, "Now at end of input.n"));
- }
- else
- {
- yytoken = YYTRANSLATE (yychar);
- YYDSYMPRINTF ("Next token is", yytoken, &yylval, &yylloc);
- }
- /* If the proper action on seeing token YYTOKEN is to reduce or to
- detect an error, take that action. */
- yyn += yytoken;
- if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
- goto yydefault;
- yyn = yytable[yyn];
- if (yyn <= 0)
- {
- if (yyn == 0 || yyn == YYTABLE_NINF)
- goto yyerrlab;
- yyn = -yyn;
- goto yyreduce;
- }
- if (yyn == YYFINAL)
- YYACCEPT;
- /* Shift the lookahead token. */
- YYDPRINTF ((stderr, "Shifting token %s, ", yytname[yytoken]));
- /* Discard the token being shifted unless it is eof. */
- if (yychar != YYEOF)
- yychar = YYEMPTY;
- *++yyvsp = yylval;
- /* Count tokens shifted since error; after three, turn off error
- status. */
- if (yyerrstatus)
- yyerrstatus--;
- yystate = yyn;
- goto yynewstate;
- /*-----------------------------------------------------------.
- | yydefault -- do the default action for the current state. |
- `-----------------------------------------------------------*/
- yydefault:
- yyn = yydefact[yystate];
- if (yyn == 0)
- goto yyerrlab;
- goto yyreduce;
- /*-----------------------------.
- | yyreduce -- Do a reduction. |
- `-----------------------------*/
- yyreduce:
- /* yyn is the number of a rule to reduce with. */
- yylen = yyr2[yyn];
- /* If YYLEN is nonzero, implement the default value of the action:
- `$$ = $1'.
- Otherwise, the following line sets YYVAL to garbage.
- This behavior is undocumented and Bison
- users should not rely upon it. Assigning to YYVAL
- unconditionally makes the parser a bit smaller, and it avoids a
- GCC warning that YYVAL may be used uninitialized. */
- yyval = yyvsp[1-yylen];
- YY_REDUCE_PRINT (yyn);
- switch (yyn)
- {
- case 2:
- #line 747 "sql_yacc.yy"
- {
- THD *thd= YYTHD;
- if (!thd->bootstrap &&
- (!(thd->lex->select_lex.options & OPTION_FOUND_COMMENT)))
- {
- send_error(thd,ER_EMPTY_QUERY);
- YYABORT;
- }
- else
- {
- thd->lex->sql_command= SQLCOM_EMPTY_QUERY;
- }
- }
- break;
- case 3:
- #line 760 "sql_yacc.yy"
- {}
- break;
- case 49:
- #line 812 "sql_yacc.yy"
- {
- THD *thd=YYTHD;
- LEX *lex= thd->lex;
- if (thd->command == COM_PREPARE)
- {
- yyerror(ER(ER_SYNTAX_ERROR));
- YYABORT;
- }
- lex->sql_command= SQLCOM_DEALLOCATE_PREPARE;
- lex->prepared_stmt_name= yyvsp[0].lex_str;
- }
- break;
- case 52:
- #line 832 "sql_yacc.yy"
- {
- THD *thd=YYTHD;
- LEX *lex= thd->lex;
- if (thd->command == COM_PREPARE)
- {
- yyerror(ER(ER_SYNTAX_ERROR));
- YYABORT;
- }
- lex->sql_command= SQLCOM_PREPARE;
- lex->prepared_stmt_name= yyvsp[-2].lex_str;
- }
- break;
- case 53:
- #line 846 "sql_yacc.yy"
- {
- THD *thd=YYTHD;
- LEX *lex= thd->lex;
- lex->prepared_stmt_code= yyvsp[0].lex_str;
- lex->prepared_stmt_code_is_varref= FALSE;
- }
- break;
- case 54:
- #line 853 "sql_yacc.yy"
- {
- THD *thd=YYTHD;
- LEX *lex= thd->lex;
- lex->prepared_stmt_code= yyvsp[0].lex_str;
- lex->prepared_stmt_code_is_varref= TRUE;
- }
- break;
- case 55:
- #line 862 "sql_yacc.yy"
- {
- THD *thd=YYTHD;
- LEX *lex= thd->lex;
- if (thd->command == COM_PREPARE)
- {
- yyerror(ER(ER_SYNTAX_ERROR));
- YYABORT;
- }
- lex->sql_command= SQLCOM_EXECUTE;
- lex->prepared_stmt_name= yyvsp[0].lex_str;
- }
- break;
- case 56:
- #line 874 "sql_yacc.yy"
- {}
- break;
- case 61:
- #line 888 "sql_yacc.yy"
- {
- LEX *lex=Lex;
- LEX_STRING *lexstr= (LEX_STRING*)sql_memdup(&yyvsp[0].lex_str, sizeof(LEX_STRING));
- if (!lexstr || lex->prepared_stmt_params.push_back(lexstr))
- YYABORT;
- }
- break;
- case 62:
- #line 900 "sql_yacc.yy"
- {
- LEX *lex= Lex;
- lex->sql_command= SQLCOM_HELP;
- lex->help_arg= yyvsp[0].lex_str.str;
- }
- break;
- case 63:
- #line 910 "sql_yacc.yy"
- {
- LEX *lex = Lex;
- lex->sql_command = SQLCOM_CHANGE_MASTER;
- bzero((char*) &lex->mi, sizeof(lex->mi));
- }
- break;
- case 64:
- #line 916 "sql_yacc.yy"
- {}
- break;
- case 67:
- #line 925 "sql_yacc.yy"
- {
- Lex->mi.host = yyvsp[0].lex_str.str;
- }
- break;
- case 68:
- #line 930 "sql_yacc.yy"
- {
- Lex->mi.user = yyvsp[0].lex_str.str;
- }
- break;
- case 69:
- #line 935 "sql_yacc.yy"
- {
- Lex->mi.password = yyvsp[0].lex_str.str;
- }
- break;
- case 70:
- #line 940 "sql_yacc.yy"
- {
- Lex->mi.port = yyvsp[0].ulong_num;
- }
- break;
- case 71:
- #line 945 "sql_yacc.yy"
- {
- Lex->mi.connect_retry = yyvsp[0].ulong_num;
- }
- break;
- case 72:
- #line 949 "sql_yacc.yy"
- {
- Lex->mi.ssl= yyvsp[0].ulong_num ?
- LEX_MASTER_INFO::SSL_ENABLE : LEX_MASTER_INFO::SSL_DISABLE;
- }
- break;
- case 73:
- #line 954 "sql_yacc.yy"
- {
- Lex->mi.ssl_ca= yyvsp[0].lex_str.str;
- }
- break;
- case 74:
- #line 958 "sql_yacc.yy"
- {
- Lex->mi.ssl_capath= yyvsp[0].lex_str.str;
- }
- break;
- case 75:
- #line 962 "sql_yacc.yy"
- {
- Lex->mi.ssl_cert= yyvsp[0].lex_str.str;
- }
- break;
- case 76:
- #line 966 "sql_yacc.yy"
- {
- Lex->mi.ssl_cipher= yyvsp[0].lex_str.str;
- }
- break;
- case 77:
- #line 970 "sql_yacc.yy"
- {
- Lex->mi.ssl_key= yyvsp[0].lex_str.str;
- }
- break;
- case 79:
- #line 979 "sql_yacc.yy"
- {
- Lex->mi.log_file_name = yyvsp[0].lex_str.str;
- }
- break;
- case 80:
- #line 983 "sql_yacc.yy"
- {
- Lex->mi.pos = yyvsp[0].ulonglong_number;
- /*
- If the user specified a value < BIN_LOG_HEADER_SIZE, adjust it
- instead of causing subsequent errors.
- We need to do it in this file, because only there we know that
- MASTER_LOG_POS has been explicitely specified. On the contrary
- in change_master() (sql_repl.cc) we cannot distinguish between 0
- (MASTER_LOG_POS explicitely specified as 0) and 0 (unspecified),
- whereas we want to distinguish (specified 0 means "read the binlog
- from 0" (4 in fact), unspecified means "don't change the position
- (keep the preceding value)").
- */
- Lex->mi.pos = max(BIN_LOG_HEADER_SIZE, Lex->mi.pos);
- }
- break;
- case 81:
- #line 999 "sql_yacc.yy"
- {
- Lex->mi.relay_log_name = yyvsp[0].lex_str.str;
- }
- break;
- case 82:
- #line 1003 "sql_yacc.yy"
- {
- Lex->mi.relay_log_pos = yyvsp[0].ulong_num;
- /* Adjust if < BIN_LOG_HEADER_SIZE (same comment as Lex->mi.pos) */
- Lex->mi.relay_log_pos = max(BIN_LOG_HEADER_SIZE, Lex->mi.relay_log_pos);
- }
- break;
- case 83:
- #line 1014 "sql_yacc.yy"
- {
- THD *thd= YYTHD;
- LEX *lex=Lex;
- lex->sql_command= SQLCOM_CREATE_TABLE;
- if (!lex->select_lex.add_table_to_list(thd, yyvsp[0].table, NULL,
- TL_OPTION_UPDATING,
- (using_update_log ?
- TL_READ_NO_INSERT:
- TL_READ)))
- YYABORT;
- lex->create_list.empty();
- lex->key_list.empty();
- lex->col_list.empty();
- lex->change=NullS;
- bzero((char*) &lex->create_info,sizeof(lex->create_info));
- lex->create_info.options=yyvsp[-3].num | yyvsp[-1].num;
- lex->create_info.db_type= (enum db_type) lex->thd->variables.table_type;
- lex->create_info.default_table_charset= NULL;
- lex->name=0;
- }
- break;
- case 84:
- #line 1035 "sql_yacc.yy"
- { Lex->current_select= &Lex->select_lex; }
- break;
- case 85:
- #line 1037 "sql_yacc.yy"
- {
- LEX *lex=Lex;
- lex->sql_command= SQLCOM_CREATE_INDEX;
- if (!lex->current_select->add_table_to_list(lex->thd, yyvsp[0].table, NULL,
- TL_OPTION_UPDATING))
- YYABORT;
- lex->create_list.empty();
- lex->key_list.empty();
- lex->col_list.empty();
- lex->change=NullS;
- }
- break;
- case 86:
- #line 1049 "sql_yacc.yy"
- {
- LEX *lex=Lex;
- lex->key_list.push_back(new Key(yyvsp[-9].key_type,yyvsp[-7].lex_str.str, yyvsp[-6].key_alg, 0, lex->col_list));
- lex->col_list.empty();
- }
- break;
- case 87:
- #line 1056 "sql_yacc.yy"
- {
- Lex->create_info.default_table_charset= NULL;
- Lex->create_info.used_fields= 0;
- }
- break;
- case 88:
- #line 1061 "sql_yacc.yy"
- {
- LEX *lex=Lex;
- lex->sql_command=SQLCOM_CREATE_DB;
- lex->name=yyvsp[-2].lex_str.str;
- lex->create_info.options=yyvsp[-3].num;
- }
- break;
- case 89:
- #line 1068 "sql_yacc.yy"
- {
- LEX *lex=Lex;
- lex->sql_command = SQLCOM_CREATE_FUNCTION;
- lex->udf.name = yyvsp[0].lex_str;
- lex->udf.type= yyvsp[-2].udf_type;
- }
- break;
- case 90:
- #line 1075 "sql_yacc.yy"
- {
- LEX *lex=Lex;
- lex->udf.returns=(Item_result) yyvsp[-2].num;
- lex->udf.dl=yyvsp[0].lex_str.str;
- }
- break;
- case 91:
- #line 1083 "sql_yacc.yy"
- {}
- break;
- case 92:
- #line 1084 "sql_yacc.yy"
- {}
- break;
- case 93:
- #line 1086 "sql_yacc.yy"
- {
- LEX *lex=Lex;
- if (!(lex->name= (char *)yyvsp[0].table))
- YYABORT;
- }
- break;
- case 94:
- #line 1092 "sql_yacc.yy"
- {
- LEX *lex=Lex;
- if (!(lex->name= (char *)yyvsp[-1].table))
- YYABORT;
- }
- break;
- case 95:
- #line 1100 "sql_yacc.yy"
- {}
- break;
- case 96:
- #line 1101 "sql_yacc.yy"
- { Select->set_braces(1);}
- break;
- case 97:
- #line 1101 "sql_yacc.yy"
- {}
- break;
- case 98:
- #line 1105 "sql_yacc.yy"
- {}
- break;
- case 99:
- #line 1107 "sql_yacc.yy"
- { Select->set_braces(0);}
- break;
- case 100:
- #line 1107 "sql_yacc.yy"
- {}
- break;
- case 101:
- #line 1109 "sql_yacc.yy"
- { Select->set_braces(1);}
- break;
- case 102:
- #line 1109 "sql_yacc.yy"
- {}
- break;
- case 103:
- #line 1114 "sql_yacc.yy"
- {
- LEX *lex=Lex;
- lex->lock_option= using_update_log ? TL_READ_NO_INSERT : TL_READ;
- if (lex->sql_command == SQLCOM_INSERT)
- lex->sql_command= SQLCOM_INSERT_SELECT;
- else if (lex->sql_command == SQLCOM_REPLACE)
- lex->sql_command= SQLCOM_REPLACE_SELECT;
- lex->current_select->table_list.save_and_clear(&lex->save_list);
- mysql_init_select(lex);
- lex->current_select->parsing_place= SELECT_LIST;
- }
- break;
- case 104:
- #line 1126 "sql_yacc.yy"
- {
- Select->parsing_place= NO_MATTER;
- }
- break;
- case 105:
- #line 1130 "sql_yacc.yy"
- { Lex->current_select->table_list.push_front(&Lex->save_list); }
- break;
- case 106:
- #line 1134 "sql_yacc.yy"
- {}
- break;
- case 107:
- #line 1135 "sql_yacc.yy"
- {}
- break;
- case 108:
- #line 1138 "sql_yacc.yy"
- {}
- break;
- case 109:
- #line 1139 "sql_yacc.yy"
- {}
- break;
- case 110:
- #line 1142 "sql_yacc.yy"
- {}
- break;
- case 111:
- #line 1143 "sql_yacc.yy"
- {}
- break;
- case 112:
- #line 1146 "sql_yacc.yy"
- {}
- break;
- case 113:
- #line 1147 "sql_yacc.yy"
- {}
- break;
- case 114:
- #line 1150 "sql_yacc.yy"
- { yyval.num= 0; }
- break;
- case 115:
- #line 1151 "sql_yacc.yy"
- { yyval.num= yyvsp[0].num;}
- break;
- case 116:
- #line 1154 "sql_yacc.yy"
- { yyval.num=yyvsp[0].num; }
- break;
- case 117:
- #line 1155 "sql_yacc.yy"
- { yyval.num= yyvsp[-1].num | yyvsp[0].num; }
- break;
- case 118:
- #line 1158 "sql_yacc.yy"
- { yyval.num=HA_LEX_CREATE_TMP_TABLE; }
- break;
- case 119:
- #line 1161 "sql_yacc.yy"
- { yyval.num= 0; }
- break;
- case 120:
- #line 1162 "sql_yacc.yy"
- { yyval.num=HA_LEX_CREATE_IF_NOT_EXISTS; }
- break;
- case 128:
- #line 1178 "sql_yacc.yy"
- { Lex->create_info.db_type= yyvsp[0].db_type; }
- break;
- case 129:
- #line 1179 "sql_yacc.yy"
- { Lex->create_info.db_type= yyvsp[0].db_type; WARN_DEPRECATED("TYPE=storage_engine","ENGINE=storage_engine"); }
- break;
- case 130:
- #line 1180 "sql_yacc.yy"
- { Lex->create_info.max_rows= yyvsp[0].ulonglong_number; Lex->create_info.used_fields|= HA_CREATE_USED_MAX_ROWS;}
- break;
- case 131:
- #line 1181 "sql_yacc.yy"
- { Lex->create_info.min_rows= yyvsp[0].ulonglong_number; Lex->create_info.used_fields|= HA_CREATE_USED_MIN_ROWS;}
- break;
- case 132:
- #line 1182 "sql_yacc.yy"
- { Lex->create_info.avg_row_length=yyvsp[0].ulong_num; Lex->create_info.used_fields|= HA_CREATE_USED_AVG_ROW_LENGTH;}
- break;
- case 133:
- #line 1183 "sql_yacc.yy"
- { Lex->create_info.password=yyvsp[0].lex_str.str; }
- break;
- case 134:
- #line 1184 "sql_yacc.yy"
- { Lex->create_info.comment=yyvsp[0].lex_str.str; }
- break;
- case 135:
- #line 1185 "sql_yacc.yy"
- { Lex->create_info.auto_increment_value=yyvsp[0].ulonglong_number; Lex->create_info.used_fields|= HA_CREATE_USED_AUTO;}
- break;
- case 136:
- #line 1186 "sql_yacc.yy"
- { Lex->create_info.table_options|= yyvsp[0].ulong_num ? HA_OPTION_PACK_KEYS : HA_OPTION_NO_PACK_KEYS; Lex->create_info.used_fields|= HA_CREATE_USED_PACK_KEYS;}
- break;
- case 137:
- #line 1187 "sql_yacc.yy"
- { Lex->create_info.table_options&= ~(HA_OPTION_PACK_KEYS | HA_OPTION_NO_PACK_KEYS); Lex->create_info.used_fields|= HA_CREATE_USED_PACK_KEYS;}
- break;
- case 138:
- #line 1188 "sql_yacc.yy"
- { Lex->create_info.table_options|= yyvsp[0].ulong_num ? HA_OPTION_CHECKSUM : HA_OPTION_NO_CHECKSUM; }
- break;
- case 139:
- #line 1189 "sql_yacc.yy"
- { Lex->create_info.table_options|= yyvsp[0].ulong_num ? HA_OPTION_DELAY_KEY_WRITE : HA_OPTION_NO_DELAY_KEY_WRITE; }
- break;
- case 140:
- #line 1190 "sql_yacc.yy"
- { Lex->create_info.row_type= yyvsp[0].row_type; }
- break;
- case 141:
- #line 1191 "sql_yacc.yy"
- { Lex->create_info.raid_type= yyvsp[0].ulong_num; Lex->create_info.used_fields|= HA_CREATE_USED_RAID;}
- break;
- case 142:
- #line 1192 "sql_yacc.yy"
- { Lex->create_info.raid_chunks= yyvsp[0].ulong_num; Lex->create_info.used_fields|= HA_CREATE_USED_RAID;}
- break;
- case 143:
- #line 1193 "sql_yacc.yy"
- { Lex->create_info.raid_chunksize= yyvsp[0].ulong_num*RAID_BLOCK_SIZE; Lex->create_info.used_fields|= HA_CREATE_USED_RAID;}
- break;
- case 144:
- #line 1195 "sql_yacc.yy"
- {
- /* Move the union list to the merge_list */
- LEX *lex=Lex;
- TABLE_LIST *table_list= lex->select_lex.get_table_list();
- lex->create_info.merge_list= lex->select_lex.table_list;
- lex->create_info.merge_list.elements--;
- lex->create_info.merge_list.first= (byte*) (table_list->next);
- lex->select_lex.table_list.elements=1;
- lex->select_lex.table_list.next= (byte**) &(table_list->next);
- table_list->next=0;
- lex->create_info.used_fields|= HA_CREATE_USED_UNION;
- }
- break;
- case 147:
- #line 1209 "sql_yacc.yy"
- { Lex->create_info.merge_insert_method= yyvsp[0].ulong_num; Lex->create_info.used_fields|= HA_CREATE_USED_INSERT_METHOD;}
- break;
- case 148:
- #line 1211 "sql_yacc.yy"
- { Lex->create_info.data_file_name= yyvsp[0].lex_str.str; }
- break;
- case 149:
- #line 1212 "sql_yacc.yy"
- { Lex->create_info.index_file_name= yyvsp[0].lex_str.str; }
- break;
- case 150:
- #line 1216 "sql_yacc.yy"
- {
- HA_CREATE_INFO *cinfo= &Lex->create_info;
- if ((cinfo->used_fields & HA_CREATE_USED_DEFAULT_CHARSET) &&
- cinfo->default_table_charset && yyvsp[0].charset &&
- !my_charset_same(cinfo->default_table_charset,yyvsp[0].charset))
- {
- net_printf(YYTHD, ER_CONFLICTING_DECLARATIONS,
- "CHARACTER SET ", cinfo->default_table_charset->csname,
- "CHARACTER SET ", yyvsp[0].charset->csname);
- YYABORT;
- }
- Lex->create_info.default_table_charset= yyvsp[0].charset;
- Lex->create_info.used_fields|= HA_CREATE_USED_DEFAULT_CHARSET;
- }
- break;
- case 151:
- #line 1233 "sql_yacc.yy"
- {
- HA_CREATE_INFO *cinfo= &Lex->create_info;
- if ((cinfo->used_fields & HA_CREATE_USED_DEFAULT_CHARSET) &&
- cinfo->default_table_charset && yyvsp[0].charset &&
- !my_charset_same(cinfo->default_table_charset,yyvsp[0].charset))
- {
- net_printf(YYTHD,ER_COLLATION_CHARSET_MISMATCH,
- yyvsp[0].charset->name, cinfo->default_table_charset->csname);
- YYABORT;
- }
- Lex->create_info.default_table_charset= yyvsp[0].charset;
- Lex->create_info.used_fields|= HA_CREATE_USED_DEFAULT_CHARSET;
- }
- break;
- case 152:
- #line 1249 "sql_yacc.yy"
- {
- yyval.db_type = ha_resolve_by_name(yyvsp[0].lex_str.str,yyvsp[0].lex_str.length);
- if (yyval.db_type == DB_TYPE_UNKNOWN) {
- net_printf(YYTHD, ER_UNKNOWN_STORAGE_ENGINE, yyvsp[0].lex_str.str);
- YYABORT;
- }
- }
- break;
- case 153:
- #line 1258 "sql_yacc.yy"
- { yyval.row_type= ROW_TYPE_DEFAULT; }
- break;
- case 154:
- #line 1259 "sql_yacc.yy"
- { yyval.row_type= ROW_TYPE_FIXED; }
- break;
- case 155:
- #line 1260 "sql_yacc.yy"
- { yyval.row_type= ROW_TYPE_DYNAMIC; }
- break;
- case 156:
- #line 1261 "sql_yacc.yy"
- { yyval.row_type= ROW_TYPE_COMPRESSED; }
- break;
- case 157:
- #line 1264 "sql_yacc.yy"
- { yyval.ulong_num= RAID_TYPE_0; }
- break;
- case 158:
- #line 1265 "sql_yacc.yy"
- { yyval.ulong_num= RAID_TYPE_0; }
- break;
- case 159:
- #line 1266 "sql_yacc.yy"
- { yyval.ulong_num=yyvsp[0].ulong_num;}
- break;
- case 160:
- #line 1269 "sql_yacc.yy"
- { yyval.ulong_num= MERGE_INSERT_DISABLED; }
- break;
- case 161:
- #line 1270 "sql_yacc.yy"
- { yyval.ulong_num= MERGE_INSERT_TO_FIRST; }
- break;
- case 162:
- #line 1271 "sql_yacc.yy"
- { yyval.ulong_num= MERGE_INSERT_TO_LAST; }
- break;
- case 163:
- #line 1274 "sql_yacc.yy"
- {}
- break;
- case 165:
- #line 1278 "sql_yacc.yy"
- { yyval.udf_type = UDFTYPE_FUNCTION; }
- break;
- case 166:
- #line 1279 "sql_yacc.yy"
- { yyval.udf_type = UDFTYPE_AGGREGATE; }
- break;
- case 167:
- #line 1282 "sql_yacc.yy"
- {yyval.num = (int) STRING_RESULT; }
- break;
- case 168:
- #line 1283 "sql_yacc.yy"
- {yyval.num = (int) REAL_RESULT; }
- break;
- case 169:
- #line 1284 "sql_yacc.yy"
- {yyval.num = (int) INT_RESULT; }
- break;
- case 175:
- #line 1299 "sql_yacc.yy"
- {
- Lex->col_list.empty(); /* Alloced by sql_alloc */
- }
- break;
- case 176:
- #line 1306 "sql_yacc.yy"
- {
- LEX *lex=Lex;
- lex->key_list.push_back(new Key(yyvsp[-5].key_type,yyvsp[-4].simple_string, yyvsp[-3].key_alg, 0, lex->col_list));
- lex->col_list.empty(); /* Alloced by sql_alloc */
- }
- break;
- case 177:
- #line 1312 "sql_yacc.yy"
- {
- LEX *lex=Lex;
- const char *key_name= yyvsp[-4].simple_string ? yyvsp[-4].simple_string:yyvsp[-6].simple_string;
- lex->key_list.push_back(new Key(yyvsp[-5].key_type, key_name, yyvsp[-3].key_alg, 0,
- lex->col_list));
- lex->col_list.empty(); /* Alloced by sql_alloc */
- }
- break;
- case 178:
- #line 1320 "sql_yacc.yy"
- {
- LEX *lex=Lex;
- lex->key_list.push_back(new foreign_key(yyvsp[-4].simple_string ? yyvsp[-4].simple_string:yyvsp[-7].simple_string, lex->col_list,
- yyvsp[0].table,
- lex->ref_list,
- lex->fk_delete_opt,
- lex->fk_update_opt,
- lex->fk_match_option));
- lex->key_list.push_back(new Key(Key::MULTIPLE, yyvsp[-4].simple_string ? yyvsp[-4].simple_string : yyvsp[-7].simple_string,
- HA_KEY_ALG_UNDEF, 1,
- lex->col_list));
- lex->col_list.empty(); /* Alloced by sql_alloc */
- }
- break;
- case 179:
- #line 1334 "sql_yacc.yy"
- {
- Lex->col_list.empty(); /* Alloced by sql_alloc */
- }
- break;
- case 180:
- #line 1338 "sql_yacc.yy"
- {
- Lex->col_list.empty(); /* Alloced by sql_alloc */
- }
- break;
- case 184:
- #line 1353 "sql_yacc.yy"
- { yyval.simple_string=(char*) 0; }
- break;
- case 185:
- #line 1354 "sql_yacc.yy"
- { yyval.simple_string= yyvsp[0].simple_string; }
- break;
- case 186:
- #line 1358 "sql_yacc.yy"
- { yyval.simple_string=yyvsp[0].simple_string; }
- break;
- case 187:
- #line 1363 "sql_yacc.yy"
- {
- LEX *lex=Lex;
- lex->length=lex->dec=0; lex->type=0;
- lex->default_value= lex->on_update_value= 0;
- lex->comment=0;
- lex->charset=NULL;
- }
- break;
- case 188:
- #line 1371 "sql_yacc.yy"
- {
- LEX *lex=Lex;
- if (add_field_to_list(lex->thd, yyvsp[-3].lex_str.str,
- (enum enum_field_types) yyvsp[-1].num,
- lex->length,lex->dec,lex->type,
- lex->default_value, lex->on_update_value,
- lex->comment,
- lex->change,&lex->interval_list,lex->charset,
- lex->uint_geom_type))
- YYABORT;
- }
- break;
- case 189:
- #line 1384 "sql_yacc.yy"
- { yyval.num=yyvsp[-2].num; }
- break;
- case 190:
- #line 1385 "sql_yacc.yy"
- { yyval.num=yyvsp[-2].num; }
- break;
- case 191:
- #line 1386 "sql_yacc.yy"
- { yyval.num=FIELD_TYPE_FLOAT; }
- break;
- case 192:
- #line 1387 "sql_yacc.yy"
- { Lex->length=(char*) "1";
- yyval.num=FIELD_TYPE_TINY; }
- break;
- case 193:
- #line 1389 "sql_yacc.yy"
- { Lex->length=(char*) "1";
- yyval.num=FIELD_TYPE_TINY; }
- break;
- case 194:
- #line 1391 "sql_yacc.yy"
- { Lex->length=(char*) "1";
- yyval.num=FIELD_TYPE_TINY; }
- break;
- case 195:
- #line 1393 "sql_yacc.yy"
- { Lex->length=yyvsp[-2].lex_str.str;
- yyval.num=FIELD_TYPE_STRING; }
- break;
- case 196:
- #line 1395 "sql_yacc.yy"
- { Lex->length=(char*) "1";
- yyval.num=FIELD_TYPE_STRING; }
- break;
- case 197:
- #line 1397 "sql_yacc.yy"
- { Lex->length=yyvsp[-1].lex_str.str;
- yyval.num=FIELD_TYPE_STRING;
- Lex->charset=national_charset_info; }
- break;
- case 198:
- #line 1400 "sql_yacc.yy"
- { Lex->length=(char*) "1";
- yyval.num=FIELD_TYPE_STRING;
- Lex->charset=national_charset_info; }
- break;
- case 199:
- #line 1403 "sql_yacc.yy"
- { Lex->length=yyvsp[-1].lex_str.str;
- Lex->charset=&my_charset_bin;
- yyval.num=FIELD_TYPE_STRING; }
- break;
- case 200:
- #line 1406 "sql_yacc.yy"
- { Lex->length= (char*) "1";
- Lex->charset=&my_charset_bin;
- yyval.num=FIELD_TYPE_STRING; }
- break;
- case 201:
- #line 1409 "sql_yacc.yy"
- { Lex->length=yyvsp[-2].lex_str.str;
- yyval.num=FIELD_TYPE_VAR_STRING; }
- break;
- case 202:
- #line 1411 "sql_yacc.yy"
- { Lex->length=yyvsp[-1].lex_str.str;
- yyval.num=FIELD_TYPE_VAR_STRING;
- Lex->charset=national_charset_info; }
- break;
- case 203:
- #line 1414 "sql_yacc.yy"
- { Lex->length=yyvsp[-1].lex_str.str;
- Lex->charset=&my_charset_bin;
- yyval.num=FIELD_TYPE_VAR_STRING; }
- break;
- case 204:
- #line 1417 "sql_yacc.yy"
- { yyval.num=FIELD_TYPE_YEAR; }
- break;
- case 205:
- #line 1418 "sql_yacc.yy"
- { yyval.num=FIELD_TYPE_DATE; }
- break;
- case 206:
- #line 1419 "sql_yacc.yy"
- { yyval.num=FIELD_TYPE_TIME; }
- break;
- case 207:
- #line 1421 "sql_yacc.yy"
- {
- if (YYTHD->variables.sql_mode & MODE_MAXDB)
- yyval.num=FIELD_TYPE_DATETIME;
- else
- {
- /*
- Unlike other types TIMESTAMP fields are NOT NULL by default.
- */
- Lex->type|= NOT_NULL_FLAG;
- yyval.num=FIELD_TYPE_TIMESTAMP;
- }
- }
- break;
- case 208:
- #line 1433 "sql_yacc.yy"
- { yyval.num=FIELD_TYPE_DATETIME; }
- break;
- case 209:
- #line 1434 "sql_yacc.yy"
- { Lex->charset=&my_charset_bin;
- yyval.num=FIELD_TYPE_TINY_BLOB; }
- break;
- case 210:
- #line 1436 "sql_yacc.yy"
- { Lex->charset=&my_charset_bin;
- yyval.num=FIELD_TYPE_BLOB; }
- break;
- case 211:
- #line 1438 "sql_yacc.yy"
- {
- #ifdef HAVE_SPATIAL
- Lex->charset=&my_charset_bin;
- Lex->uint_geom_type= (uint)yyvsp[0].num;
- yyval.num=FIELD_TYPE_GEOMETRY;
- #else
- net_printf(Lex->thd, ER_FEATURE_DISABLED,
- sym_group_geom.name,
- sym_group_geom.needed_define);
- YYABORT;
- #endif
- }
- break;
- case 212:
- #line 1450 "sql_yacc.yy"
- { Lex->charset=&my_charset_bin;
- yyval.num=FIELD_TYPE_MEDIUM_BLOB; }
- break;
- case 213:
- #line 1452 "sql_yacc.yy"
- { Lex->charset=&my_charset_bin;
- yyval.num=FIELD_TYPE_LONG_BLOB; }
- break;
- case 214:
- #line 1454 "sql_yacc.yy"
- { Lex->charset=&my_charset_bin;
- yyval.num=FIELD_TYPE_MEDIUM_BLOB; }
- break;
- case 215:
- #line 1456 "sql_yacc.yy"
- { yyval.num=FIELD_TYPE_MEDIUM_BLOB; }
- break;
- case 216:
- #line 1457 "sql_yacc.yy"
- { yyval.num=FIELD_TYPE_TINY_BLOB; }
- break;
- case 217:
- #line 1458 "sql_yacc.yy"
- { yyval.num=FIELD_TYPE_BLOB; }
- break;
- case 218:
- #line 1459 "sql_yacc.yy"
- { yyval.num=FIELD_TYPE_MEDIUM_BLOB; }
- break;
- case 219:
- #line 1460 "sql_yacc.yy"
- { yyval.num=FIELD_TYPE_LONG_BLOB; }
- break;
- case 220:
- #line 1462 "sql_yacc.yy"
- { yyval.num=FIELD_TYPE_DECIMAL;}
- break;
- case 221:
- #line 1464 "sql_yacc.yy"
- { yyval.num=FIELD_TYPE_DECIMAL;}
- break;
- case 222:
- #line 1466 "sql_yacc.yy"
- { yyval.num=FIELD_TYPE_DECIMAL;}
- break;
- case 223:
- #line 1467 "sql_yacc.yy"
- {Lex->interval_list.empty();}
- break;
- case 224:
- #line 1468 "sql_yacc.yy"
- { yyval.num=FIELD_TYPE_ENUM; }
- break;
- case 225:
- #line 1469 "sql_yacc.yy"
- { Lex->interval_list.empty();}
- break;
- case 226:
- #line 1470 "sql_yacc.yy"
- { yyval.num=FIELD_TYPE_SET; }
- break;
- case 227:
- #line 1471 "sql_yacc.yy"
- { yyval.num=FIELD_TYPE_MEDIUM_BLOB; }
- break;
- case 228:
- #line 1473 "sql_yacc.yy"
- {
- yyval.num=FIELD_TYPE_LONGLONG;
- Lex->type|= (AUTO_INCREMENT_FLAG | NOT_NULL_FLAG | UNSIGNED_FLAG |
- UNIQUE_FLAG);
- }
- break;
- case 229:
- #line 1481 "sql_yacc.yy"
- { yyval.num= Field::GEOM_GEOMETRY; }
- break;
- case 230:
- #line 1482 "sql_yacc.yy"
- { yyval.num= Field::GEOM_GEOMETRYCOLLECTION; }
- break;
- case 231:
- #line 1483 "sql_yacc.yy"
- { yyval.num= Field::GEOM_POINT; }
- break;
- case 232:
- #line 1484 "sql_yacc.yy"
- { yyval.num= Field::GEOM_MULTIPOINT; }
- break;
- case 233:
- #line 1485 "sql_yacc.yy"
- { yyval.num= Field::GEOM_LINESTRING; }
- break;
- case 234:
- #line 1486 "sql_yacc.yy"
- { yyval.num= Field::GEOM_MULTILINESTRING; }
- break;
- case 235:
- #line 1487 "sql_yacc.yy"
- { yyval.num= Field::GEOM_POLYGON; }
- break;
- case 236:
- #line 1488 "sql_yacc.yy"
- { yyval.num= Field::GEOM_MULTIPOLYGON; }
- break;
- case 237:
- #line 1492 "sql_yacc.yy"
- {}
- break;
- case 238:
- #line 1496 "sql_yacc.yy"
- {}
- break;
- case 239:
- #line 1497 "sql_yacc.yy"
- {}
- break;
- case 240:
- #line 1501 "sql_yacc.yy"
- {}
- break;
- case 241:
- #line 1502 "sql_yacc.yy"
- {}
- break;
- case 242:
- #line 1506 "sql_yacc.yy"
- {}
- break;
- case 243:
- #line 1507 "sql_yacc.yy"
- {}
- break;
- case 244:
- #line 1508 "sql_yacc.yy"
- {}
- break;
- case 245:
- #line 1509 "sql_yacc.yy"
- {}
- break;
- case 246:
- #line 1510 "sql_yacc.yy"
- {}
- break;
- case 247:
- #line 1514 "sql_yacc.yy"
- { yyval.num=FIELD_TYPE_LONG; }
- break;
- case 248:
- #line 1515 "sql_yacc.yy"
- { yyval.num=FIELD_TYPE_TINY; }
- break;
- case 249:
- #line 1516 "sql_yacc.yy"
- { yyval.num=FIELD_TYPE_SHORT; }
- break;
- case 250:
- #line 1517 "sql_yacc.yy"
- { yyval.num=FIELD_TYPE_INT24; }
- break;
- case 251:
- #line 1518 "sql_yacc.yy"
- { yyval.num=FIELD_TYPE_LONGLONG; }
- break;
- case 252:
- #line 1521 "sql_yacc.yy"
- { yyval.num= YYTHD->variables.sql_mode & MODE_REAL_AS_FLOAT ?
- FIELD_TYPE_FLOAT : FIELD_TYPE_DOUBLE; }
- break;
- case 253:
- #line 1523 "sql_yacc.yy"
- { yyval.num=FIELD_TYPE_DOUBLE; }
- break;
- case 254:
- #line 1524 "sql_yacc.yy"
- { yyval.num=FIELD_TYPE_DOUBLE; }
- break;
- case 255:
- #line 1528 "sql_yacc.yy"
- {}
- break;
- case 256:
- #line 1529 "sql_yacc.yy"
- { Lex->length=yyvsp[-1].lex_str.str; }
- break;
- case 257:
- #line 1530 "sql_yacc.yy"
- {}
- break;
- case 258:
- #line 1534 "sql_yacc.yy"
- {
- LEX *lex=Lex;
- lex->length=yyvsp[-3].lex_str.str; lex->dec=yyvsp[-1].lex_str.str;
- }
- break;
- case 259:
- #line 1540 "sql_yacc.yy"
- {}
- break;
- case 260:
- #line 1541 "sql_yacc.yy"
- {}
- break;
- case 261:
- #line 1544 "sql_yacc.yy"
- {}
- break;
- case 262:
- #line 1545 "sql_yacc.yy"
- {}
- break;
- case 263:
- #line 1548 "sql_yacc.yy"
- {}
- break;
- case 264:
- #line 1549 "sql_yacc.yy"
- { Lex->type|= UNSIGNED_FLAG;}
- break;
- case 265:
- #line 1550 "sql_yacc.yy"
- { Lex->type|= UNSIGNED_FLAG | ZEROFILL_FLAG; }
- break;
- case 266:
- #line 1553 "sql_yacc.yy"
- { Lex->length=(char*) 0; }
- break;
- case 267:
- #line 1554 "sql_yacc.yy"
- { Lex->length= yyvsp[-1].lex_str.str; }
- break;
- case 268:
- #line 1557 "sql_yacc.yy"
- {}
- break;
- case 269:
- #line 1558 "sql_yacc.yy"
- {}
- break;
- case 270:
- #line 1561 "sql_yacc.yy"
- {}
- break;
- case 271:
- #line 1562 "sql_yacc.yy"
- {}
- break;
- case 272:
- #line 1565 "sql_yacc.yy"
- {}
- break;
- case 274:
- #line 1569 "sql_yacc.yy"
- { Lex->type&= ~ NOT_NULL_FLAG; }
- break;
- case 275:
- #line 1570 "sql_yacc.yy"
- { Lex->type|= NOT_NULL_FLAG; }
- break;
- case 276:
- #line 1571 "sql_yacc.yy"
- { Lex->default_value=yyvsp[0].item; }
- break;
- case 277:
- #line 1573 "sql_yacc.yy"
- { Lex->on_update_value= new Item_func_now_local(); }
- break;
- case 278:
- #line 1574 "sql_yacc.yy"
- { Lex->type|= AUTO_INCREMENT_FLAG | NOT_NULL_FLAG; }
- break;
- case 279:
- #line 1576 "sql_yacc.yy"
- {
- LEX *lex=Lex;
- lex->type|= AUTO_INCREMENT_FLAG | NOT_NULL_FLAG | UNIQUE_FLAG;
- lex->alter_info.flags|= ALTER_ADD_INDEX;
- }
- break;
- case 280:
- #line 1582 "sql_yacc.yy"
- {
- LEX *lex=Lex;
- lex->type|= PRI_KEY_FLAG | NOT_NULL_FLAG;
- lex->alter_info.flags|= ALTER_ADD_INDEX;
- }
- break;
- case 281:
- #line 1588 "sql_yacc.yy"
- {
- LEX *lex=Lex;
- lex->type|= UNIQUE_FLAG;
- lex->alter_info.flags|= ALTER_ADD_INDEX;
- }
- break;
- case 282:
- #line 1594 "sql_yacc.yy"
- {
- LEX *lex=Lex;
- lex->type|= UNIQUE_KEY_FLAG;
- lex->alter_info.flags|= ALTER_ADD_INDEX;
- }
- break;
- case 283:
- #line 1599 "sql_yacc.yy"
- { Lex->comment= &yyvsp[0].lex_str; }
- break;
- case 284:
- #line 1600 "sql_yacc.yy"
- { Lex->type|= BINCMP_FLAG; }
- break;
- case 285:
- #line 1602 "sql_yacc.yy"
- {
- if (Lex->charset && !my_charset_same(Lex->charset,yyvsp[0].charset))
- {
- net_printf(YYTHD,ER_COLLATION_CHARSET_MISMATCH,
- yyvsp[0].charset->name,Lex->charset->csname);
- YYABORT;
- }
- else
- {
- Lex->charset=yyvsp[0].charset;
- }
- }
- break;
- case 286:
- #line 1617 "sql_yacc.yy"
- { yyval.item= new Item_func_now_local(); }
- break;
- case 287:
- #line 1618 "sql_yacc.yy"
- { yyval.item=yyvsp[0].item; }
- break;
- case 288:
- #line 1622 "sql_yacc.yy"
- {}
- break;
- case 289:
- #line 1623 "sql_yacc.yy"
- {}
- break;
- case 290:
- #line 1628 "sql_yacc.yy"
- {
- if (!(yyval.charset=get_charset_by_csname(yyvsp[0].lex_str.str,MY_CS_PRIMARY,MYF(0))))
- {
- net_printf(YYTHD,ER_UNKNOWN_CHARACTER_SET,yyvsp[0].lex_str.str);
- YYABORT;
- }
- }
- break;
- case 291:
- #line 1635 "sql_yacc.yy"
- { yyval.charset= &my_charset_bin; }
- break;