FailedOk

th/SRPMS[OK]
th/x32[OK]
th/i686[OK]
th/x86_64[OK]

ac/SRPMS[OK]
ac/i386[OK]
ac/i586[OK]
ac/i686[OK]
ac/alpha[OK]
ac/amd64[OK]
ac/athlon[OK]
ac/ppc[OK]
ac/sparc[OK]
ac/sparc64[OK]

Advanced Search
main()
Powered by PLD Linux
(c) 2002-2022 PLD Team
$Revision: 1.37 $
Powered by /dev/ill.
Your IP: 100.25.42.211

mysql 320df4c7-0361-4de8-9b2a-00797e67c696

Status:Failed
Source URL:https://buildlogs.pld-linux.org/pld/th/i686/FAIL/mysql,320df4c7-0361-4de8-9b2a-00797e67c696.bz2
text/plain URL:View!
full text:View!
rpm -qa of builder:View!
Date:2013/08/09 11:02:55
Runtime:0:05:13.057317

Toc:

  • error 1
  • sql_yacc.cc:15031:30: error: too few arguments to function 'int MYSQLlex(void*, void*)'
  • error 2
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 3
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 4
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 5
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 6
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 7
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 8
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 9
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 10
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 11
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 12
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 13
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 14
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 15
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 16
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 17
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 18
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 19
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 20
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 21
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 22
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 23
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 24
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 25
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 26
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 27
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 28
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 29
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 30
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 31
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 32
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 33
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 34
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 35
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 36
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 37
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 38
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 39
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 40
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 41
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 42
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 43
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 44
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 45
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 46
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 47
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 48
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 49
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 50
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 51
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 52
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 53
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 54
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 55
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 56
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 57
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 58
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 59
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 60
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 61
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 62
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 63
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 64
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 65
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 66
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 67
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 68
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 69
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 70
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 71
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 72
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 73
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 74
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 75
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 76
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 77
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 78
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 79
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 80
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 81
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 82
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 83
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 84
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 85
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 86
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 87
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 88
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 89
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 90
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 91
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 92
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 93
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 94
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 95
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 96
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 97
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 98
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 99
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 100
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 101
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 102
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 103
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 104
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 105
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 106
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 107
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 108
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 109
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 110
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 111
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 112
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 113
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 114
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 115
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 116
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 117
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 118
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 119
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 120
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 121
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 122
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 123
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 124
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 125
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 126
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 127
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 128
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 129
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 130
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 131
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 132
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 133
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 134
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 135
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 136
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 137
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 138
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 139
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 140
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 141
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 142
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 143
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 144
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 145
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 146
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 147
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 148
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 149
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 150
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 151
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 152
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 153
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 154
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 155
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 156
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 157
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 158
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 159
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 160
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 161
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 162
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 163
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 164
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 165
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 166
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 167
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 168
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 169
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 170
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 171
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 172
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 173
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 174
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 175
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 176
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 177
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 178
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 179
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 180
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 181
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 182
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 183
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 184
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 185
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 186
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 187
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 188
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 189
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 190
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 191
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 192
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 193
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 194
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 195
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 196
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 197
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 198
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 199
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 200
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 201
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 202
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 203
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 204
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 205
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 206
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 207
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 208
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 209
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 210
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 211
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 212
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 213
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 214
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 215
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 216
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 217
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 218
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 219
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 220
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 221
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 222
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 223
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 224
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 225
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 226
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 227
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 228
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 229
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 230
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 231
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 232
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 233
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 234
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 235
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 236
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 237
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 238
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 239
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 240
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 241
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 242
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 243
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 244
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 245
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 246
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 247
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 248
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 249
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 250
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 251
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 252
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 253
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 254
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 255
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 256
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 257
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 258
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 259
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 260
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 261
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 262
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 263
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 264
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 265
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 266
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 267
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 268
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 269
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 270
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 271
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 272
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 273
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 274
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 275
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 276
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 277
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 278
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 279
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 280
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 281
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 282
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 283
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 284
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 285
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 286
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 287
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 288
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 289
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 290
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 291
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 292
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 293
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 294
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 295
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 296
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 297
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 298
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 299
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 300
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 301
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 302
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 303
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 304
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 305
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 306
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 307
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 308
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 309
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 310
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 311
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 312
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 313
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 314
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 315
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 316
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 317
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 318
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 319
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 320
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 321
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 322
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 323
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 324
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 325
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 326
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 327
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 328
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 329
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 330
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 331
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 332
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 333
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 334
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 335
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 336
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 337
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 338
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 339
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 340
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 341
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 342
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 343
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 344
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 345
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 346
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 347
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 348
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 349
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 350
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 351
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 352
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 353
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 354
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 355
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 356
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 357
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 358
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 359
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 360
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 361
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 362
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 363
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 364
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 365
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 366
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 367
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 368
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 369
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 370
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 371
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 372
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 373
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 374
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 375
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 376
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 377
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 378
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 379
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 380
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 381
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 382
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 383
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 384
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 385
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 386
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 387
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 388
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 389
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 390
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 391
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 392
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 393
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 394
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 395
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 396
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 397
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 398
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 399
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 400
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 401
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 402
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 403
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 404
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 405
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 406
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 407
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 408
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 409
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 410
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 411
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 412
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 413
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 414
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 415
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 416
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 417
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 418
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 419
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 420
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 421
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 422
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 423
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 424
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 425
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 426
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 427
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 428
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 429
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 430
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 431
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 432
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 433
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 434
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 435
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 436
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 437
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 438
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 439
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 440
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 441
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 442
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 443
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 444
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 445
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 446
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 447
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 448
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 449
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 450
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 451
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 452
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 453
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 454
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 455
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 456
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 457
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 458
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 459
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 460
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 461
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 462
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 463
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 464
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 465
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 466
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 467
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 468
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 469
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 470
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 471
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 472
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 473
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 474
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 475
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 476
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 477
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 478
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 479
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 480
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 481
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 482
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 483
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 484
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 485
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 486
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 487
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 488
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 489
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 490
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 491
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 492
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 493
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 494
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 495
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 496
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 497
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 498
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 499
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 500
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 501
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 502
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 503
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 504
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 505
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 506
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 507
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 508
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 509
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 510
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 511
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 512
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 513
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 514
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 515
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 516
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 517
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 518
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 519
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 520
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 521
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 522
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 523
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 524
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 525
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 526
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 527
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 528
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 529
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 530
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 531
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 532
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 533
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 534
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 535
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 536
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 537
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 538
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 539
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 540
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 541
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 542
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 543
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 544
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 545
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 546
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 547
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 548
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 549
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 550
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 551
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 552
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 553
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 554
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 555
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 556
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 557
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 558
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 559
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 560
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 561
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 562
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 563
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 564
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 565
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 566
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 567
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 568
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 569
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 570
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 571
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 572
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 573
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 574
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 575
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 576
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 577
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 578
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 579
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 580
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 581
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 582
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 583
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 584
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 585
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 586
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 587
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 588
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 589
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 590
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 591
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 592
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 593
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 594
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 595
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 596
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 597
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 598
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 599
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 600
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 601
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 602
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 603
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 604
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 605
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 606
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 607
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 608
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 609
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 610
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 611
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 612
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 613
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 614
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 615
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 616
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 617
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 618
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 619
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 620
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 621
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 622
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 623
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 624
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 625
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 626
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 627
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 628
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 629
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 630
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 631
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 632
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 633
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 634
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 635
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 636
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 637
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 638
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 639
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 640
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 641
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 642
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 643
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 644
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 645
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 646
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 647
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 648
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 649
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 650
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 651
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 652
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 653
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 654
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 655
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 656
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 657
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 658
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 659
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 660
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 661
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 662
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 663
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 664
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 665
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 666
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 667
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 668
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 669
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 670
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 671
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 672
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 673
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 674
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 675
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 676
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 677
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 678
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 679
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 680
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 681
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 682
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 683
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 684
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 685
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 686
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 687
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 688
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 689
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 690
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 691
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 692
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 693
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 694
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 695
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 696
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 697
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 698
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 699
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 700
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 701
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 702
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 703
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 704
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 705
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 706
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 707
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 708
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 709
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 710
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 711
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 712
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 713
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 714
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 715
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 716
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 717
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 718
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 719
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 720
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 721
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 722
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 723
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 724
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 725
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 726
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 727
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 728
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 729
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 730
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 731
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 732
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 733
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 734
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 735
  • sql_yacc.yy:9020:51: error: 'yythd' was not declared in this scope
  • error 736
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 737
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 738
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 739
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 740
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 741
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 742
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 743
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 744
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 745
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 746
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 747
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 748
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 749
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 750
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 751
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 752
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 753
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 754
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 755
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 756
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 757
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 758
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 759
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 760
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 761
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 762
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 763
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 764
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 765
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 766
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 767
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 768
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 769
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 770
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 771
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 772
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 773
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 774
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 775
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 776
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 777
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 778
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 779
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 780
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 781
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 782
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 783
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 784
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 785
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 786
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 787
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 788
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 789
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 790
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 791
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 792
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 793
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 794
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 795
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 796
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 797
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 798
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 799
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 800
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 801
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 802
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 803
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 804
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 805
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 806
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 807
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 808
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 809
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 810
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 811
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 812
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 813
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 814
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 815
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 816
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 817
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 818
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 819
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 820
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 821
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 822
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 823
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 824
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 825
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 826
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 827
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 828
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 829
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 830
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 831
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 832
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 833
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 834
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 835
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 836
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 837
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 838
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 839
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 840
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 841
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 842
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 843
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 844
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 845
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 846
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 847
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 848
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 849
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 850
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 851
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 852
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 853
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 854
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 855
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 856
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 857
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 858
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 859
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 860
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 861
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 862
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 863
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 864
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 865
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 866
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 867
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 868
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 869
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 870
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 871
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 872
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 873
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 874
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 875
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 876
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 877
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 878
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 879
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 880
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 881
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 882
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 883
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 884
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 885
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 886
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 887
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 888
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 889
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 890
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 891
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 892
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 893
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 894
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 895
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 896
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 897
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 898
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 899
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 900
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 901
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 902
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 903
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 904
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 905
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 906
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 907
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 908
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 909
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 910
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 911
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 912
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 913
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 914
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 915
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 916
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 917
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 918
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 919
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 920
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 921
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 922
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 923
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 924
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 925
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 926
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 927
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 928
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 929
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 930
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 931
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 932
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 933
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 934
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 935
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 936
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 937
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 938
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 939
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 940
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 941
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 942
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 943
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 944
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 945
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 946
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 947
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 948
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 949
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 950
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 951
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 952
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 953
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 954
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 955
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 956
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 957
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 958
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 959
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 960
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 961
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 962
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 963
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 964
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 965
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 966
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 967
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 968
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 969
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 970
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 971
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 972
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 973
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 974
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 975
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 976
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 977
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 978
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 979
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 980
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 981
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 982
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 983
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 984
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 985
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 986
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 987
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 988
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 989
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 990
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 991
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 992
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 993
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 994
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 995
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 996
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 997
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 998
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 999
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1000
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1001
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1002
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1003
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1004
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1005
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1006
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1007
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1008
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1009
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1010
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1011
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1012
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1013
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1014
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1015
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1016
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1017
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1018
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1019
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1020
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1021
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1022
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1023
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1024
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1025
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1026
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1027
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1028
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1029
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1030
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1031
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1032
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1033
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1034
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1035
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1036
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1037
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1038
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1039
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1040
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1041
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1042
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1043
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1044
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1045
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1046
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1047
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1048
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1049
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1050
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1051
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1052
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1053
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1054
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1055
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1056
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1057
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1058
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1059
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1060
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1061
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1062
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1063
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1064
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1065
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1066
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1067
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1068
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1069
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1070
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1071
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1072
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1073
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1074
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1075
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1076
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1077
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1078
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1079
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1080
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1081
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1082
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1083
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1084
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1085
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1086
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1087
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1088
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1089
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1090
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1091
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1092
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1093
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1094
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1095
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1096
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1097
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1098
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1099
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1100
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1101
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1102
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1103
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1104
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1105
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1106
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1107
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1108
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1109
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1110
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1111
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1112
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1113
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1114
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1115
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1116
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1117
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1118
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1119
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1120
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1121
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1122
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1123
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1124
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1125
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1126
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1127
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1128
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1129
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1130
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1131
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1132
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1133
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1134
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1135
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1136
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1137
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1138
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1139
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1140
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1141
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1142
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1143
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1144
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1145
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1146
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1147
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1148
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1149
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1150
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1151
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1152
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1153
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1154
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1155
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1156
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1157
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1158
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1159
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1160
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1161
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1162
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1163
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1164
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1165
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1166
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1167
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1168
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1169
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1170
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1171
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1172
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1173
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1174
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1175
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1176
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1177
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1178
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1179
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1180
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1181
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1182
  • sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
  • error 1183
  • make[3]: *** [sql_yacc.o] Error 1
  • error 1184
  • make[2]: *** [all-recursive] Error 1
  • error 1185
  • make[1]: *** [all] Error 2
  • error 1186
  • error: Bad exit status from /tmp/B.5b700164-414a-47a4-a756-25b75f86d08d/BUILD/tmp/rpm-tmp.21470 (%build)
  • error 1187
  • RPM build errors:
  • error 1188
  • error: No files produced.

Content:

make[3]: Entering directory `/tmp/B.5b700164-414a-47a4-a756-25b75f86d08d/BUILD/Percona-Server-5.1.70-rel14.8/sql'
/bin/sh ../libtool --preserve-dup-deps  --tag=CXX   --mode=compile i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT libndb_la-ha_ndbcluster.lo -MD -MP -MF .deps/libndb_la-ha_ndbcluster.Tpo -c -o libndb_la-ha_ndbcluster.lo `test -f 'ha_ndbcluster.cc' || echo './'`ha_ndbcluster.cc
/bin/sh ../libtool --preserve-dup-deps  --tag=CXX   --mode=compile i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT libndb_la-ha_ndbcluster_binlog.lo -MD -MP -MF .deps/libndb_la-ha_ndbcluster_binlog.Tpo -c -o libndb_la-ha_ndbcluster_binlog.lo `test -f 'ha_ndbcluster_binlog.cc' || echo './'`ha_ndbcluster_binlog.cc
/bin/sh ../libtool --preserve-dup-deps  --tag=CXX   --mode=compile i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT libndb_la-ha_ndbcluster_cond.lo -MD -MP -MF .deps/libndb_la-ha_ndbcluster_cond.Tpo -c -o libndb_la-ha_ndbcluster_cond.lo `test -f 'ha_ndbcluster_cond.cc' || echo './'`ha_ndbcluster_cond.cc
/bin/sh ../libtool --preserve-dup-deps  --tag=CC   --mode=compile i686-pld-linux-gcc -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC   -DUNIV_LINUX -DUNIV_LINUX -MT udf_example.lo -MD -MP -MF .deps/udf_example.Tpo -c -o udf_example.lo udf_example.c
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.    -DTZINFO2SQL -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT mysql_tzinfo_to_sql-tztime.o -MD -MP -MF .deps/mysql_tzinfo_to_sql-tztime.Tpo -c -o mysql_tzinfo_to_sql-tztime.o `test -f 'tztime.cc' || echo './'`tztime.cc
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT sql_lex.o -MD -MP -MF .deps/sql_lex.Tpo -c -o sql_lex.o sql_lex.cc
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT sql_handler.o -MD -MP -MF .deps/sql_handler.Tpo -c -o sql_handler.o sql_handler.cc
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT sql_partition.o -MD -MP -MF .deps/sql_partition.Tpo -c -o sql_partition.o sql_partition.cc
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT item.o -MD -MP -MF .deps/item.Tpo -c -o item.o item.cc
libtool: compile:  i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME=\"/usr\" -DMYSQL_DATADIR=\"/var/lib/mysql\" -DSHAREDIR=\"/usr/share/mysql\" -DPLUGINDIR=\"/usr/lib/mysql/plugin\" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT libndb_la-ha_ndbcluster_binlog.lo -MD -MP -MF .deps/libndb_la-ha_ndbcluster_binlog.Tpo -c ha_ndbcluster_binlog.cc  -fPIC -DPIC -o .libs/libndb_la-ha_ndbcluster_binlog.o
libtool: compile:  i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME=\"/usr\" -DMYSQL_DATADIR=\"/var/lib/mysql\" -DSHAREDIR=\"/usr/share/mysql\" -DPLUGINDIR=\"/usr/lib/mysql/plugin\" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT libndb_la-ha_ndbcluster_cond.lo -MD -MP -MF .deps/libndb_la-ha_ndbcluster_cond.Tpo -c ha_ndbcluster_cond.cc  -fPIC -DPIC -o .libs/libndb_la-ha_ndbcluster_cond.o
libtool: compile:  i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME=\"/usr\" -DMYSQL_DATADIR=\"/var/lib/mysql\" -DSHAREDIR=\"/usr/share/mysql\" -DPLUGINDIR=\"/usr/lib/mysql/plugin\" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT libndb_la-ha_ndbcluster.lo -MD -MP -MF .deps/libndb_la-ha_ndbcluster.Tpo -c ha_ndbcluster.cc  -fPIC -DPIC -o .libs/libndb_la-ha_ndbcluster.o
libtool: compile:  i686-pld-linux-gcc -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME=\"/usr\" -DMYSQL_DATADIR=\"/var/lib/mysql\" -DSHAREDIR=\"/usr/share/mysql\" -DPLUGINDIR=\"/usr/lib/mysql/plugin\" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fPIC -DUNIV_LINUX -DUNIV_LINUX -MT udf_example.lo -MD -MP -MF .deps/udf_example.Tpo -c udf_example.c  -fPIC -DPIC -o .libs/udf_example.o
mv -f .deps/mysql_tzinfo_to_sql-tztime.Tpo .deps/mysql_tzinfo_to_sql-tztime.Po
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT item_sum.o -MD -MP -MF .deps/item_sum.Tpo -c -o item_sum.o item_sum.cc
libtool: compile:  i686-pld-linux-gcc -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME=\"/usr\" -DMYSQL_DATADIR=\"/var/lib/mysql\" -DSHAREDIR=\"/usr/share/mysql\" -DPLUGINDIR=\"/usr/lib/mysql/plugin\" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fPIC -DUNIV_LINUX -DUNIV_LINUX -MT udf_example.lo -MD -MP -MF .deps/udf_example.Tpo -c udf_example.c -o udf_example.o >/dev/null 2>&1
mv -f .deps/udf_example.Tpo .deps/udf_example.Plo
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT item_buff.o -MD -MP -MF .deps/item_buff.Tpo -c -o item_buff.o item_buff.cc
libtool: compile:  i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME=\"/usr\" -DMYSQL_DATADIR=\"/var/lib/mysql\" -DSHAREDIR=\"/usr/share/mysql\" -DPLUGINDIR=\"/usr/lib/mysql/plugin\" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT libndb_la-ha_ndbcluster_binlog.lo -MD -MP -MF .deps/libndb_la-ha_ndbcluster_binlog.Tpo -c ha_ndbcluster_binlog.cc -o libndb_la-ha_ndbcluster_binlog.o >/dev/null 2>&1
libtool: compile:  i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME=\"/usr\" -DMYSQL_DATADIR=\"/var/lib/mysql\" -DSHAREDIR=\"/usr/share/mysql\" -DPLUGINDIR=\"/usr/lib/mysql/plugin\" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT libndb_la-ha_ndbcluster_cond.lo -MD -MP -MF .deps/libndb_la-ha_ndbcluster_cond.Tpo -c ha_ndbcluster_cond.cc -o libndb_la-ha_ndbcluster_cond.o >/dev/null 2>&1
libtool: compile:  i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME=\"/usr\" -DMYSQL_DATADIR=\"/var/lib/mysql\" -DSHAREDIR=\"/usr/share/mysql\" -DPLUGINDIR=\"/usr/lib/mysql/plugin\" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I. -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT libndb_la-ha_ndbcluster.lo -MD -MP -MF .deps/libndb_la-ha_ndbcluster.Tpo -c ha_ndbcluster.cc -o libndb_la-ha_ndbcluster.o >/dev/null 2>&1
mv -f .deps/sql_handler.Tpo .deps/sql_handler.Po
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT item_func.o -MD -MP -MF .deps/item_func.Tpo -c -o item_func.o item_func.cc
mv -f .deps/item_buff.Tpo .deps/item_buff.Po
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT item_cmpfunc.o -MD -MP -MF .deps/item_cmpfunc.Tpo -c -o item_cmpfunc.o item_cmpfunc.cc
mv -f .deps/libndb_la-ha_ndbcluster_binlog.Tpo .deps/libndb_la-ha_ndbcluster_binlog.Plo
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT item_strfunc.o -MD -MP -MF .deps/item_strfunc.Tpo -c -o item_strfunc.o item_strfunc.cc
mv -f .deps/libndb_la-ha_ndbcluster.Tpo .deps/libndb_la-ha_ndbcluster.Plo
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT item_timefunc.o -MD -MP -MF .deps/item_timefunc.Tpo -c -o item_timefunc.o item_timefunc.cc
mv -f .deps/sql_partition.Tpo .deps/sql_partition.Po
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT thr_malloc.o -MD -MP -MF .deps/thr_malloc.Tpo -c -o thr_malloc.o thr_malloc.cc
mv -f .deps/libndb_la-ha_ndbcluster_cond.Tpo .deps/libndb_la-ha_ndbcluster_cond.Plo
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT item_create.o -MD -MP -MF .deps/item_create.Tpo -c -o item_create.o item_create.cc
mv -f .deps/sql_lex.Tpo .deps/sql_lex.Po
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT item_subselect.o -MD -MP -MF .deps/item_subselect.Tpo -c -o item_subselect.o item_subselect.cc
mv -f .deps/item_sum.Tpo .deps/item_sum.Po
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT item_row.o -MD -MP -MF .deps/item_row.Tpo -c -o item_row.o item_row.cc
mv -f .deps/thr_malloc.Tpo .deps/thr_malloc.Po
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT item_geofunc.o -MD -MP -MF .deps/item_geofunc.Tpo -c -o item_geofunc.o item_geofunc.cc
mv -f .deps/item_row.Tpo .deps/item_row.Po
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT item_xmlfunc.o -MD -MP -MF .deps/item_xmlfunc.Tpo -c -o item_xmlfunc.o item_xmlfunc.cc
mv -f .deps/item.Tpo .deps/item.Po
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT field.o -MD -MP -MF .deps/field.Tpo -c -o field.o field.cc
mv -f .deps/item_subselect.Tpo .deps/item_subselect.Po
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT strfunc.o -MD -MP -MF .deps/strfunc.Tpo -c -o strfunc.o strfunc.cc
mv -f .deps/item_geofunc.Tpo .deps/item_geofunc.Po
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT key.o -MD -MP -MF .deps/key.Tpo -c -o key.o key.cc
mv -f .deps/item_timefunc.Tpo .deps/item_timefunc.Po
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT sql_class.o -MD -MP -MF .deps/sql_class.Tpo -c -o sql_class.o sql_class.cc
mv -f .deps/item_strfunc.Tpo .deps/item_strfunc.Po
mv -f .deps/item_func.Tpo .deps/item_func.Po
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT sql_list.o -MD -MP -MF .deps/sql_list.Tpo -c -o sql_list.o sql_list.cc
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT net_serv.o -MD -MP -MF .deps/net_serv.Tpo -c -o net_serv.o net_serv.cc
mv -f .deps/item_cmpfunc.Tpo .deps/item_cmpfunc.Po
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT protocol.o -MD -MP -MF .deps/protocol.Tpo -c -o protocol.o protocol.cc
mv -f .deps/net_serv.Tpo .deps/net_serv.Po
i686-pld-linux-gcc -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC   -DUNIV_LINUX -DUNIV_LINUX -MT sql_state.o -MD -MP -MF .deps/sql_state.Tpo -c -o sql_state.o sql_state.c
mv -f .deps/sql_state.Tpo .deps/sql_state.Po
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT lock.o -MD -MP -MF .deps/lock.Tpo -c -o lock.o lock.cc
mv -f .deps/item_create.Tpo .deps/item_create.Po
i686-pld-linux-gcc -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC   -DUNIV_LINUX -DUNIV_LINUX -MT my_lock.o -MD -MP -MF .deps/my_lock.Tpo -c -o my_lock.o my_lock.c
mv -f .deps/strfunc.Tpo .deps/strfunc.Po
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT sql_string.o -MD -MP -MF .deps/sql_string.Tpo -c -o sql_string.o sql_string.cc
mv -f .deps/my_lock.Tpo .deps/my_lock.Po
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT sql_manager.o -MD -MP -MF .deps/sql_manager.Tpo -c -o sql_manager.o sql_manager.cc
mv -f .deps/key.Tpo .deps/key.Po
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT sql_map.o -MD -MP -MF .deps/sql_map.Tpo -c -o sql_map.o sql_map.cc
mv -f .deps/sql_string.Tpo .deps/sql_string.Po
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT mysqld.o -MD -MP -MF .deps/mysqld.Tpo -c -o mysqld.o mysqld.cc
mv -f .deps/item_xmlfunc.Tpo .deps/item_xmlfunc.Po
i686-pld-linux-gcc -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC   -DUNIV_LINUX -DUNIV_LINUX -MT password.o -MD -MP -MF .deps/password.Tpo -c -o password.o password.c
mv -f .deps/sql_list.Tpo .deps/sql_list.Po
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT hash_filo.o -MD -MP -MF .deps/hash_filo.Tpo -c -o hash_filo.o hash_filo.cc
mv -f .deps/password.Tpo .deps/password.Po
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT hostname.o -MD -MP -MF .deps/hostname.Tpo -c -o hostname.o hostname.cc
mv -f .deps/protocol.Tpo .deps/protocol.Po
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT sql_connect.o -MD -MP -MF .deps/sql_connect.Tpo -c -o sql_connect.o sql_connect.cc
mv -f .deps/sql_manager.Tpo .deps/sql_manager.Po
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT scheduler.o -MD -MP -MF .deps/scheduler.Tpo -c -o scheduler.o scheduler.cc
mv -f .deps/sql_map.Tpo .deps/sql_map.Po
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT sql_parse.o -MD -MP -MF .deps/sql_parse.Tpo -c -o sql_parse.o sql_parse.cc
mv -f .deps/lock.Tpo .deps/lock.Po
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT set_var.o -MD -MP -MF .deps/set_var.Tpo -c -o set_var.o set_var.cc
mv -f .deps/hash_filo.Tpo .deps/hash_filo.Po
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT query_response_time.o -MD -MP -MF .deps/query_response_time.Tpo -c -o query_response_time.o query_response_time.cc
mv -f .deps/hostname.Tpo .deps/hostname.Po
mv -f .deps/sql_class.Tpo .deps/sql_class.Po
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT sql_yacc.o -MD -MP -MF .deps/sql_yacc.Tpo -c -o sql_yacc.o sql_yacc.cc
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT sql_base.o -MD -MP -MF .deps/sql_base.Tpo -c -o sql_base.o sql_base.cc
mv -f .deps/field.Tpo .deps/field.Po
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT table.o -MD -MP -MF .deps/table.Tpo -c -o table.o table.cc
mv -f .deps/scheduler.Tpo .deps/scheduler.Po
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT sql_select.o -MD -MP -MF .deps/sql_select.Tpo -c -o sql_select.o sql_select.cc
mv -f .deps/sql_connect.Tpo .deps/sql_connect.Po
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT sql_insert.o -MD -MP -MF .deps/sql_insert.Tpo -c -o sql_insert.o sql_insert.cc
mv -f .deps/mysqld.Tpo .deps/mysqld.Po
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT sql_profile.o -MD -MP -MF .deps/sql_profile.Tpo -c -o sql_profile.o sql_profile.cc
sql_yacc.cc: In function 'int MYSQLparse()':
sql_yacc.cc:15031:30: error: too few arguments to function 'int MYSQLlex(void*, void*)'
       yychar = yylex (&yylval);
                              ^
sql_yacc.cc:64:25: note: declared here
 #define yylex           MYSQLlex
                         ^
sql_yacc.yy:58:5: note: in expansion of macro 'yylex'
 int yylex(void *yylval, void *yythd);
     ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:1530:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:33:18: note: in expansion of macro 'YYTHD'
 #define YYLIP (& YYTHD->m_parser_state->m_lip)
                  ^
sql_yacc.yy:1542:37: note: in expansion of macro 'YYLIP'
             Lex_input_stream *lip = YYLIP;
                                     ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:33:18: note: in expansion of macro 'YYTHD'
 #define YYLIP (& YYTHD->m_parser_state->m_lip)
                  ^
sql_yacc.yy:1568:13: note: in expansion of macro 'YYLIP'
             YYLIP->found_semicolon= NULL;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:1640:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:1655:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:1665:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:1672:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:1682:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1704:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1716:17: note: in expansion of macro 'Lex'
             if (Lex->sphead)
                 ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1724:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1735:24: note: in expansion of macro 'Lex'
             LEX *lex = Lex;
                        ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1751:13: note: in expansion of macro 'Lex'
             Lex->mi.host = $3.str;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1755:13: note: in expansion of macro 'Lex'
             Lex->mi.user = $3.str;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1759:13: note: in expansion of macro 'Lex'
             Lex->mi.password = $3.str;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1763:13: note: in expansion of macro 'Lex'
             Lex->mi.port = $3;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1767:13: note: in expansion of macro 'Lex'
             Lex->mi.connect_retry = $3;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1771:13: note: in expansion of macro 'Lex'
             Lex->mi.ssl= $3 ? 
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1776:13: note: in expansion of macro 'Lex'
             Lex->mi.ssl_ca= $3.str;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1780:13: note: in expansion of macro 'Lex'
             Lex->mi.ssl_capath= $3.str;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1784:13: note: in expansion of macro 'Lex'
             Lex->mi.ssl_cert= $3.str;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1788:13: note: in expansion of macro 'Lex'
             Lex->mi.ssl_cipher= $3.str;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1792:13: note: in expansion of macro 'Lex'
             Lex->mi.ssl_key= $3.str;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1796:13: note: in expansion of macro 'Lex'
             Lex->mi.ssl_verify_server_cert= $3 ?
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1805:13: note: in expansion of macro 'Lex'
             Lex->mi.log_file_name = $3.str;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1809:13: note: in expansion of macro 'Lex'
             Lex->mi.pos = $3;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1825:13: note: in expansion of macro 'Lex'
             Lex->mi.relay_log_name = $3.str;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1829:13: note: in expansion of macro 'Lex'
             Lex->mi.relay_log_pos = $3;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:1840:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:1858:23: note: in expansion of macro 'YYTHD'
             LEX *lex= YYTHD->lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1873:42: note: in expansion of macro 'Lex'
             if (add_create_index_prepare(Lex, $7))
                                          ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1878:34: note: in expansion of macro 'Lex'
             if (add_create_index(Lex, $2, $4.str))
                                  ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1884:42: note: in expansion of macro 'Lex'
             if (add_create_index_prepare(Lex, $7))
                                          ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1889:34: note: in expansion of macro 'Lex'
             if (add_create_index(Lex, $2, $4.str))
                                  ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1895:42: note: in expansion of macro 'Lex'
             if (add_create_index_prepare(Lex, $7))
                                          ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1900:34: note: in expansion of macro 'Lex'
             if (add_create_index(Lex, $2, $4.str))
                                  ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1905:13: note: in expansion of macro 'Lex'
             Lex->create_info.default_table_charset= NULL;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1910:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1917:13: note: in expansion of macro 'Lex'
             Lex->create_view_mode= VIEW_CREATE_NEW;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1925:13: note: in expansion of macro 'Lex'
             Lex->sql_command = SQLCOM_CREATE_USER;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1929:13: note: in expansion of macro 'Lex'
             Lex->alter_tablespace_info->ts_cmd_type= CREATE_LOGFILE_GROUP;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1933:13: note: in expansion of macro 'Lex'
             Lex->alter_tablespace_info->ts_cmd_type= CREATE_TABLESPACE;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1937:13: note: in expansion of macro 'Lex'
             Lex->sql_command= SQLCOM_CREATE_SERVER;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1948:13: note: in expansion of macro 'Lex'
             Lex->server_options.server_name= $2.str;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1962:13: note: in expansion of macro 'Lex'
             Lex->server_options.username= $2.str;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1966:13: note: in expansion of macro 'Lex'
             Lex->server_options.host= $2.str;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1970:13: note: in expansion of macro 'Lex'
             Lex->server_options.db= $2.str;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1974:13: note: in expansion of macro 'Lex'
             Lex->server_options.owner= $2.str;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1978:13: note: in expansion of macro 'Lex'
             Lex->server_options.password= $2.str;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1982:13: note: in expansion of macro 'Lex'
             Lex->server_options.socket= $2.str;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:1986:13: note: in expansion of macro 'Lex'
             Lex->server_options.port= $2;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:1993:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2017:13: note: in expansion of macro 'Lex'
             Lex->sql_command= SQLCOM_CREATE_EVENT;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2024:13: note: in expansion of macro 'Lex'
             Lex->event_parse_data->item_expression= $2;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2031:13: note: in expansion of macro 'Lex'
             Lex->event_parse_data->item_execute_at= $2;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2039:13: note: in expansion of macro 'Lex'
             Lex->event_parse_data->status= Event_parse_data::ENABLED;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2045:13: note: in expansion of macro 'Lex'
             Lex->event_parse_data->status= Event_parse_data::SLAVESIDE_DISABLED;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2051:13: note: in expansion of macro 'Lex'
             Lex->event_parse_data->status= Event_parse_data::DISABLED;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:2060:30: note: in expansion of macro 'YYTHD'
             Item *item= new (YYTHD->mem_root) Item_func_now_local();
                              ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2067:13: note: in expansion of macro 'Lex'
             Lex->event_parse_data->item_starts= $2;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2075:13: note: in expansion of macro 'Lex'
             Lex->event_parse_data->item_ends= $2;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2087:13: note: in expansion of macro 'Lex'
             Lex->event_parse_data->on_completion=
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2093:13: note: in expansion of macro 'Lex'
             Lex->event_parse_data->on_completion=
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2103:13: note: in expansion of macro 'Lex'
             Lex->comment= Lex->event_parse_data->comment= $2;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:2110:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:2153:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2185:21: note: in expansion of macro 'Lex'
            LEX *lex=Lex;
                     ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:2203:15: note: in expansion of macro 'MYSQL_YYABORT'
               MYSQL_YYABORT;
               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:2207:15: note: in expansion of macro 'MYSQL_YYABORT'
               MYSQL_YYABORT;
               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:2211:15: note: in expansion of macro 'MYSQL_YYABORT'
               MYSQL_YYABORT;
               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:2212:40: note: in expansion of macro 'YYTHD'
             $$->init_qname(YYTHD);
                                        ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:2216:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2245:7: note: in expansion of macro 'Lex'
           { Lex->sp_chistics.comment= $2; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2249:7: note: in expansion of macro 'Lex'
           { Lex->sp_chistics.daccess= SP_NO_SQL; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2251:7: note: in expansion of macro 'Lex'
           { Lex->sp_chistics.daccess= SP_CONTAINS_SQL; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2253:7: note: in expansion of macro 'Lex'
           { Lex->sp_chistics.daccess= SP_READS_SQL_DATA; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2255:7: note: in expansion of macro 'Lex'
           { Lex->sp_chistics.daccess= SP_MODIFIES_SQL_DATA; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2263:7: note: in expansion of macro 'Lex'
         | DETERMINISTIC_SYM     { Lex->sp_chistics.detistic= TRUE; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2264:7: note: in expansion of macro 'Lex'
         | not DETERMINISTIC_SYM { Lex->sp_chistics.detistic= FALSE; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2270:13: note: in expansion of macro 'Lex'
             Lex->sp_chistics.suid= SP_IS_SUID;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2274:13: note: in expansion of macro 'Lex'
             Lex->sp_chistics.suid= SP_IS_NOT_SUID;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2281:24: note: in expansion of macro 'Lex'
             LEX *lex = Lex;
                        ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2305:12: note: in expansion of macro 'Lex'
            Lex->value_list.push_back($3);
            ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2309:13: note: in expansion of macro 'Lex'
             Lex->value_list.push_back($1);
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2327:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2347:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2384:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:2439:15: note: in expansion of macro 'MYSQL_YYABORT'
               MYSQL_YYABORT;
               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:2445:15: note: in expansion of macro 'MYSQL_YYABORT'
               MYSQL_YYABORT;
               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2457:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:2465:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2522:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2537:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2559:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2591:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2616:13: note: in expansion of macro 'Lex'
             Lex->sphead->reset_lex(YYTHD);
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2620:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2653:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:2676:51: note: in expansion of macro 'YYTHD'
             $$= (sp_cond_type_t *)YYTHD->alloc(sizeof(sp_cond_type_t));
                                                   ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:2687:15: note: in expansion of macro 'MYSQL_YYABORT'
               MYSQL_YYABORT;
               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:2689:51: note: in expansion of macro 'YYTHD'
             $$= (sp_cond_type_t *)YYTHD->alloc(sizeof(sp_cond_type_t));
                                                   ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2710:33: note: in expansion of macro 'Lex'
             $$= Lex->spcont->find_cond(&$1);
                                 ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:2719:51: note: in expansion of macro 'YYTHD'
             $$= (sp_cond_type_t *)YYTHD->alloc(sizeof(sp_cond_type_t));
                                                   ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:2726:51: note: in expansion of macro 'YYTHD'
             $$= (sp_cond_type_t *)YYTHD->alloc(sizeof(sp_cond_type_t));
                                                   ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:2733:51: note: in expansion of macro 'YYTHD'
             $$= (sp_cond_type_t *)YYTHD->alloc(sizeof(sp_cond_type_t));
                                                   ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2745:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2760:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2796:7: note: in expansion of macro 'Lex'
           { Lex->sphead->new_cont_backpatch(NULL); }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2798:7: note: in expansion of macro 'Lex'
           { Lex->sphead->do_cont_backpatch(); }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:2803:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:2812:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2859:7: note: in expansion of macro 'Lex'
           { Lex->sphead->reset_lex(YYTHD); }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2862:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2888:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2894:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2903:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2956:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:2999:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3019:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3041:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3067:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3087:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3108:7: note: in expansion of macro 'Lex'
           { Lex->sphead->reset_lex(YYTHD); }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3111:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3127:26: note: in expansion of macro 'Lex'
             sp_head *sp= Lex->sphead;
                          ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3139:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3159:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3165:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3178:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3186:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3194:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3212:13: note: in expansion of macro 'Lex'
             Lex->sphead->reset_lex(YYTHD); /* For expr $3 */
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3218:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3228:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3237:13: note: in expansion of macro 'Lex'
             Lex->sphead->reset_lex(YYTHD); /* For expr $3 */
             ^
mv -f .deps/query_response_time.Tpo .deps/query_response_time.Po
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3241:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3251:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3260:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3275:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3293:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3316:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3332:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3348:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3355:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3365:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3372:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3400:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT sql_prepare.o -MD -MP -MF .deps/sql_prepare.Tpo -c -o sql_prepare.o sql_prepare.cc
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3409:7: note: in expansion of macro 'Lex'
           { Lex->sphead->reset_lex(YYTHD); }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3412:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3428:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3438:7: note: in expansion of macro 'Lex'
           { Lex->sphead->reset_lex(YYTHD); }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3441:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3459:7: note: in expansion of macro 'Lex'
             { Lex->trg_chistics.action_time= TRG_ACTION_BEFORE; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3461:7: note: in expansion of macro 'Lex'
             { Lex->trg_chistics.action_time= TRG_ACTION_AFTER; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3466:7: note: in expansion of macro 'Lex'
             { Lex->trg_chistics.event= TRG_EVENT_INSERT; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3468:7: note: in expansion of macro 'Lex'
             { Lex->trg_chistics.event= TRG_EVENT_UPDATE; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3470:7: note: in expansion of macro 'Lex'
             { Lex->trg_chistics.event= TRG_EVENT_DELETE; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3507:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3517:13: note: in expansion of macro 'Lex'
             Lex->alter_tablespace_info->ts_alter_tablespace_type= ALTER_TABLESPACE_ADD_FILE; 
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3523:13: note: in expansion of macro 'Lex'
             Lex->alter_tablespace_info->ts_alter_tablespace_type= ALTER_TABLESPACE_DROP_FILE; 
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3640:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3648:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3656:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3664:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3676:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3688:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3693:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3698:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3706:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3714:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3722:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3730:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3738:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3746:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3754:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3767:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3780:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3799:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3804:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:3843:19: note: in expansion of macro 'MYSQL_YYABORT'
                   MYSQL_YYABORT;
                   ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:3849:17: note: in expansion of macro 'MYSQL_YYABORT'
                 MYSQL_YYABORT;
                 ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:3856:15: note: in expansion of macro 'MYSQL_YYABORT'
               MYSQL_YYABORT;
               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:3873:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:3887:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:3908:14: note: in expansion of macro 'Select'
              Select->set_braces(1);
              ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:3918:13: note: in expansion of macro 'Select'
             Select->set_braces(0);
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:3924:13: note: in expansion of macro 'Select'
             Select->set_braces(1);
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3963:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:3994:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4015:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4020:7: note: in expansion of macro 'Lex'
           { Lex->part_info->part_type= HASH_PARTITION; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4023:7: note: in expansion of macro 'Lex'
           { Lex->part_info->part_type= RANGE_PARTITION; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4026:7: note: in expansion of macro 'Lex'
           { Lex->part_info->part_type= LIST_PARTITION; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4033:7: note: in expansion of macro 'Lex'
           { Lex->part_info->linear_hash_ind= TRUE;}
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4049:17: note: in expansion of macro 'Lex'
             if (Lex->part_info->part_field_list.push_back($1.str))
                 ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4060:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4075:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4093:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4108:7: note: in expansion of macro 'Lex'
           { Lex->part_info->subpart_type= HASH_PARTITION; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4113:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4128:17: note: in expansion of macro 'Lex'
             if (Lex->part_info->subpart_field_list.push_back($1.str))
                 ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4139:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4157:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4173:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4201:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4226:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4236:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4257:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4272:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4290:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4302:17: note: in expansion of macro 'Lex'
             if (Lex->part_info->defined_max_value)
                 ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4307:17: note: in expansion of macro 'Lex'
             if (Lex->part_info->curr_part_elem->has_null_value)
                 ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4323:40: note: in expansion of macro 'Lex'
             partition_info *part_info= Lex->part_info;
                                        ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4339:40: note: in expansion of macro 'Lex'
             partition_info *part_info= Lex->part_info;
                                        ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:4356:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4413:17: note: in expansion of macro 'Lex'
             if (Lex->part_info->no_subparts != 0 &&
                 ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4426:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4458:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4495:7: note: in expansion of macro 'Lex'
           { Lex->part_info->curr_part_elem->partition_name= $1.str; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4510:7: note: in expansion of macro 'Lex'
           { Lex->part_info->curr_part_elem->tablespace_name= $3.str; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4513:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4518:7: note: in expansion of macro 'Lex'
           { Lex->part_info->curr_part_elem->nodegroup_id= (uint16) $3; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4520:7: note: in expansion of macro 'Lex'
           { Lex->part_info->curr_part_elem->part_max_rows= (ha_rows) $3; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4522:7: note: in expansion of macro 'Lex'
           { Lex->part_info->curr_part_elem->part_min_rows= (ha_rows) $3; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4524:7: note: in expansion of macro 'Lex'
           { Lex->part_info->curr_part_elem->data_file_name= $4.str; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4526:7: note: in expansion of macro 'Lex'
           { Lex->part_info->curr_part_elem->index_file_name= $4.str; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4528:7: note: in expansion of macro 'Lex'
           { Lex->part_info->curr_part_elem->part_comment= $3.str; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4538:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:4567:13: note: in expansion of macro 'Select'
             Select->parsing_place= NO_MATTER;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4575:13: note: in expansion of macro 'Lex'
             Lex->current_select->table_list.push_front(&Lex->save_list);
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4637:13: note: in expansion of macro 'Lex'
             Lex->create_info.db_type= $3;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4642:13: note: in expansion of macro 'Lex'
             Lex->create_info.db_type= $3;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4649:13: note: in expansion of macro 'Lex'
             Lex->create_info.max_rows= $3;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4654:13: note: in expansion of macro 'Lex'
             Lex->create_info.min_rows= $3;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4659:13: note: in expansion of macro 'Lex'
             Lex->create_info.avg_row_length=$3;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4664:13: note: in expansion of macro 'Lex'
             Lex->create_info.password=$3.str;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4669:13: note: in expansion of macro 'Lex'
             Lex->create_info.comment=$3;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4674:13: note: in expansion of macro 'Lex'
             Lex->create_info.auto_increment_value=$3;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4681:17: note: in expansion of macro 'Lex'
                 Lex->create_info.table_options|= HA_OPTION_NO_PACK_KEYS;
                 ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4690:13: note: in expansion of macro 'Lex'
             Lex->create_info.used_fields|= HA_CREATE_USED_PACK_KEYS;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4694:13: note: in expansion of macro 'Lex'
             Lex->create_info.table_options&=
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4700:13: note: in expansion of macro 'Lex'
             Lex->create_info.table_options|= $3 ? HA_OPTION_CHECKSUM : HA_OPTION_NO_CHECKSUM;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4705:14: note: in expansion of macro 'Lex'
              Lex->create_info.table_options|= $3 ? HA_OPTION_CHECKSUM : HA_OPTION_NO_CHECKSUM;
              ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4710:13: note: in expansion of macro 'Lex'
             Lex->create_info.table_options|= $3 ? HA_OPTION_DELAY_KEY_WRITE : HA_OPTION_NO_DELAY_KEY_WRITE;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4715:13: note: in expansion of macro 'Lex'
             Lex->create_info.row_type= $3;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4721:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4735:13: note: in expansion of macro 'Lex'
             Lex->create_info.merge_insert_method= $3;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4740:13: note: in expansion of macro 'Lex'
             Lex->create_info.data_file_name= $4.str;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4745:13: note: in expansion of macro 'Lex'
             Lex->create_info.index_file_name= $4.str;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4749:6: note: in expansion of macro 'Lex'
           {Lex->create_info.tablespace= $2.str;}
      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4751:6: note: in expansion of macro 'Lex'
           {Lex->create_info.storage_media= HA_SM_DISK;}
      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4753:6: note: in expansion of macro 'Lex'
           {Lex->create_info.storage_media= HA_SM_MEMORY;}
      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4756:13: note: in expansion of macro 'Lex'
             Lex->create_info.connect_string.str= $3.str;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4762:13: note: in expansion of macro 'Lex'
             Lex->create_info.used_fields|= HA_CREATE_USED_KEY_BLOCK_SIZE;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4770:37: note: in expansion of macro 'Lex'
             HA_CREATE_INFO *cinfo= &Lex->create_info;
                                     ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4788:37: note: in expansion of macro 'Lex'
             HA_CREATE_INFO *cinfo= &Lex->create_info;
                                     ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:4805:51: note: in expansion of macro 'YYTHD'
             plugin_ref plugin= ha_resolve_by_name(YYTHD, &$1);
                                                   ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:4829:45: note: in expansion of macro 'YYTHD'
             if ((plugin= ha_resolve_by_name(YYTHD, &$1)))
                                             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4880:13: note: in expansion of macro 'Lex'
             Lex->col_list.empty(); /* Alloced by sql_alloc */
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4887:35: note: in expansion of macro 'Lex'
             if (add_create_index (Lex, $1, $2))
                                   ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4893:35: note: in expansion of macro 'Lex'
             if (add_create_index (Lex, $1, $3))
                                   ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4899:35: note: in expansion of macro 'Lex'
             if (add_create_index (Lex, $1, $3))
                                   ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4905:35: note: in expansion of macro 'Lex'
             if (add_create_index (Lex, $2, $3 ? $3 : $1))
                                   ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4910:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4930:13: note: in expansion of macro 'Lex'
             Lex->col_list.empty(); /* Alloced by sql_alloc */
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4934:13: note: in expansion of macro 'Lex'
             Lex->col_list.empty(); /* Alloced by sql_alloc */
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4959:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4968:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4985:13: note: in expansion of macro 'Lex'
             Lex->length= (char*) "1";
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4994:13: note: in expansion of macro 'Lex'
             Lex->length= (char*) "1";
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:4999:13: note: in expansion of macro 'Lex'
             Lex->length= (char*) "1";
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5008:13: note: in expansion of macro 'Lex'
             Lex->length= (char*) "1";
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5014:13: note: in expansion of macro 'Lex'
             Lex->charset=national_charset_info;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5018:13: note: in expansion of macro 'Lex'
             Lex->length= (char*) "1";
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5024:13: note: in expansion of macro 'Lex'
             Lex->charset=&my_charset_bin;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5029:13: note: in expansion of macro 'Lex'
             Lex->length= (char*) "1";
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5040:13: note: in expansion of macro 'Lex'
             Lex->charset=national_charset_info;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5044:13: note: in expansion of macro 'Lex'
             Lex->charset=&my_charset_bin;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5049:17: note: in expansion of macro 'Lex'
             if (Lex->length)
                 ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:5071:17: note: in expansion of macro 'YYTHD'
             if (YYTHD->variables.sql_mode & MODE_MAXDB)
                 ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5086:13: note: in expansion of macro 'Lex'
             Lex->charset=&my_charset_bin;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5091:13: note: in expansion of macro 'Lex'
             Lex->charset=&my_charset_bin;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5097:13: note: in expansion of macro 'Lex'
             Lex->charset=&my_charset_bin;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5108:13: note: in expansion of macro 'Lex'
             Lex->charset=&my_charset_bin;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5113:13: note: in expansion of macro 'Lex'
             Lex->charset=&my_charset_bin;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5118:13: note: in expansion of macro 'Lex'
             Lex->charset=&my_charset_bin;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5138:6: note: in expansion of macro 'Lex'
           {Lex->interval_list.empty();}
      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5142:7: note: in expansion of macro 'Lex'
           { Lex->interval_list.empty();}
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5150:13: note: in expansion of macro 'Lex'
             Lex->type|= (AUTO_INCREMENT_FLAG | NOT_NULL_FLAG | UNSIGNED_FLAG |
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5160:13: note: in expansion of macro 'Lex'
             Lex->length= (char*)"25";
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:5203:26: note: in expansion of macro 'YYTHD'
             $$= YYTHD->variables.sql_mode & MODE_REAL_AS_FLOAT ?
                          ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5214:7: note: in expansion of macro 'Lex'
           { Lex->dec=Lex->length= (char*)0; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5216:7: note: in expansion of macro 'Lex'
           { Lex->dec= (char*)0; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5224:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5242:7: note: in expansion of macro 'Lex'
         | UNSIGNED { Lex->type|= UNSIGNED_FLAG;}
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5243:7: note: in expansion of macro 'Lex'
         | ZEROFILL { Lex->type|= UNSIGNED_FLAG | ZEROFILL_FLAG; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5247:7: note: in expansion of macro 'Lex'
           '(' LONG_NUM ')'      { Lex->length= $2.str; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5248:7: note: in expansion of macro 'Lex'
         | '(' ULONGLONG_NUM ')' { Lex->length= $2.str; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5249:7: note: in expansion of macro 'Lex'
         | '(' DECIMAL_NUM ')'   { Lex->length= $2.str; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5250:7: note: in expansion of macro 'Lex'
         | '(' NUM ')'           { Lex->length= $2.str; };
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5253:7: note: in expansion of macro 'Lex'
           /* empty */  { Lex->length=(char*) 0; /* use default length */ }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5272:7: note: in expansion of macro 'Lex'
           NULL_SYM { Lex->type&= ~ NOT_NULL_FLAG; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5273:7: note: in expansion of macro 'Lex'
         | not NULL_SYM { Lex->type|= NOT_NULL_FLAG; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5274:7: note: in expansion of macro 'Lex'
         | DEFAULT now_or_signed_literal { Lex->default_value=$2; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:5277:30: note: in expansion of macro 'YYTHD'
             Item *item= new (YYTHD->mem_root) Item_func_now_local();
                              ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5282:7: note: in expansion of macro 'Lex'
         | AUTO_INC { Lex->type|= AUTO_INCREMENT_FLAG | NOT_NULL_FLAG; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5285:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5291:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5297:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5303:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5307:7: note: in expansion of macro 'Lex'
         | COMMENT_SYM TEXT_STRING_sys { Lex->comment= $2; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5310:17: note: in expansion of macro 'Lex'
             if (Lex->charset && !my_charset_same(Lex->charset,$2))
                 ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:5326:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_now_local();
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:5345:15: note: in expansion of macro 'MYSQL_YYABORT'
               MYSQL_YYABORT;
               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:5368:15: note: in expansion of macro 'MYSQL_YYABORT'
               MYSQL_YYABORT;
               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:5385:15: note: in expansion of macro 'MYSQL_YYABORT'
               MYSQL_YYABORT;
               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5406:7: note: in expansion of macro 'Lex'
           /* empty */ { Lex->charset=NULL; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5407:7: note: in expansion of macro 'Lex'
         | ASCII_SYM opt_bin_mod { Lex->charset=&my_charset_latin1; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5408:7: note: in expansion of macro 'Lex'
         | BYTE_SYM { Lex->charset=&my_charset_bin; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5411:19: note: in expansion of macro 'Lex'
             if (!(Lex->charset=get_charset_by_csname("ucs2",
                   ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5418:7: note: in expansion of macro 'Lex'
         | charset charset_name opt_bin_mod { Lex->charset=$2; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5419:7: note: in expansion of macro 'Lex'
         | BINARY opt_bin_charset { Lex->type|= BINCMP_FLAG; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5424:7: note: in expansion of macro 'Lex'
         | BINARY { Lex->type|= BINCMP_FLAG; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5428:7: note: in expansion of macro 'Lex'
           /* empty */ { Lex->charset= NULL; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5429:7: note: in expansion of macro 'Lex'
         | ASCII_SYM { Lex->charset=&my_charset_latin1; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5432:19: note: in expansion of macro 'Lex'
             if (!(Lex->charset=get_charset_by_csname("ucs2",
                   ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5439:7: note: in expansion of macro 'Lex'
         | charset charset_name { Lex->charset=$2; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5450:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:5470:15: note: in expansion of macro 'MYSQL_YYABORT'
               MYSQL_YYABORT;
               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5471:13: note: in expansion of macro 'Lex'
             Lex->ref_list.push_back(key);
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:5477:15: note: in expansion of macro 'MYSQL_YYABORT'
               MYSQL_YYABORT;
               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5478:13: note: in expansion of macro 'Lex'
             Lex->ref_list.push_back(key);
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5493:7: note: in expansion of macro 'Lex'
           ON DELETE_SYM delete_option { Lex->fk_delete_opt= $3; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5494:7: note: in expansion of macro 'Lex'
         | ON UPDATE_SYM delete_option { Lex->fk_update_opt= $3; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5495:7: note: in expansion of macro 'Lex'
         | MATCH FULL       { Lex->fk_match_option= Foreign_key::FK_MATCH_FULL; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5496:7: note: in expansion of macro 'Lex'
         | MATCH PARTIAL    { Lex->fk_match_option= Foreign_key::FK_MATCH_PARTIAL; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5497:7: note: in expansion of macro 'Lex'
         | MATCH SIMPLE_SYM { Lex->fk_match_option= Foreign_key::FK_MATCH_SIMPLE; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5557:13: note: in expansion of macro 'Lex'
             Lex->key_create_info= default_key_create_info;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5603:7: note: in expansion of macro 'Lex'
           USING btree_or_rtree     { Lex->key_create_info.algorithm= $2; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5604:7: note: in expansion of macro 'Lex'
         | TYPE_SYM btree_or_rtree  { Lex->key_create_info.algorithm= $2; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5609:7: note: in expansion of macro 'Lex'
           { Lex->key_create_info.block_size= $3; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5626:15: note: in expansion of macro 'Lex'
               Lex->key_create_info.parser_name= $3;
               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:5630:15: note: in expansion of macro 'MYSQL_YYABORT'
               MYSQL_YYABORT;
               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5642:7: note: in expansion of macro 'Lex'
           key_list ',' key_part order_dir { Lex->col_list.push_back($3); }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5643:7: note: in expansion of macro 'Lex'
         | key_part order_dir { Lex->col_list.push_back($1); }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:5651:15: note: in expansion of macro 'MYSQL_YYABORT'
               MYSQL_YYABORT;
               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:5662:15: note: in expansion of macro 'MYSQL_YYABORT'
               MYSQL_YYABORT;
               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5677:7: note: in expansion of macro 'Lex'
           text_string { Lex->interval_list.push_back($1); }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5678:7: note: in expansion of macro 'Lex'
         | string_list ',' text_string { Lex->interval_list.push_back($3); };
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:5687:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5712:13: note: in expansion of macro 'Lex'
             Lex->create_info.default_table_charset= NULL;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5717:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5726:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5737:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5748:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5755:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5766:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5773:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5791:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5813:19: note: in expansion of macro 'Lex'
             if (!(Lex->event_parse_data= Event_parse_data::new_instance(YYTHD)))
                   ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5815:13: note: in expansion of macro 'Lex'
             Lex->event_parse_data->identifier= $4;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:5828:15: note: in expansion of macro 'MYSQL_YYABORT'
               MYSQL_YYABORT;
               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5834:13: note: in expansion of macro 'Lex'
             Lex->sql_command= SQLCOM_ALTER_EVENT;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5838:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5843:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5848:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5853:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5858:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5880:13: note: in expansion of macro 'Lex'
             Lex->spname= $3; 
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5897:7: note: in expansion of macro 'Lex'
         | DISCARD TABLESPACE { Lex->alter_info.tablespace_op= DISCARD_TABLESPACE; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5898:7: note: in expansion of macro 'Lex'
         | IMPORT TABLESPACE { Lex->alter_info.tablespace_op= IMPORT_TABLESPACE; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5916:13: note: in expansion of macro 'Lex'
             Lex->alter_info.flags|= ALTER_DROP_PARTITION;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5921:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5928:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5938:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5946:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5955:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5964:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5975:13: note: in expansion of macro 'Lex'
             Lex->alter_info.flags|= ALTER_REMOVE_PARTITIONING;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5982:13: note: in expansion of macro 'Lex'
             Lex->alter_info.flags|= ALTER_ALL_PARTITION;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:5990:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6008:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6013:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6021:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6036:13: note: in expansion of macro 'Lex'
             Lex->alter_info.flags|= ALTER_TABLE_REORG;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6040:13: note: in expansion of macro 'Lex'
             Lex->alter_info.flags|= ALTER_REORGANIZE_PARTITION;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6044:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6057:17: note: in expansion of macro 'Lex'
             if (Lex->alter_info.partition_names.push_back($1.str))
                 ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6077:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6087:13: note: in expansion of macro 'Lex'
             Lex->alter_info.flags|= ALTER_ADD_INDEX;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6091:13: note: in expansion of macro 'Lex'
             Lex->alter_info.flags|= ALTER_ADD_COLUMN | ALTER_ADD_INDEX;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6095:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6102:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6111:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6124:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6133:13: note: in expansion of macro 'Lex'
             Lex->alter_info.flags|= ALTER_DROP_INDEX | ALTER_FOREIGN_KEY;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6137:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6146:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6155:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6161:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6167:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6176:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6185:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:6206:25: note: in expansion of macro 'YYTHD'
               THD *thd= YYTHD;
                         ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:6214:15: note: in expansion of macro 'MYSQL_YYABORT'
               MYSQL_YYABORT;
               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6216:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6225:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6230:13: note: in expansion of macro 'Lex'
             Lex->alter_info.flags|= ALTER_FORCE;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6234:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6245:7: note: in expansion of macro 'Lex'
           /* empty */ { Lex->ignore= 0;}
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6246:7: note: in expansion of macro 'Lex'
         | IGNORE_SYM { Lex->ignore= 1;}
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6250:7: note: in expansion of macro 'Lex'
           /* empty */ { Lex->drop_mode= DROP_DEFAULT; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6251:7: note: in expansion of macro 'Lex'
         | RESTRICT    { Lex->drop_mode= DROP_RESTRICT; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6252:7: note: in expansion of macro 'Lex'
         | CASCADE     { Lex->drop_mode= DROP_CASCADE; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6275:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6286:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6293:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6303:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6312:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6327:7: note: in expansion of macro 'Lex'
           { Lex->slave_thd_opt= 0; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6339:7: note: in expansion of macro 'Lex'
         | SQL_THREAD   { Lex->slave_thd_opt|=SLAVE_SQL; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6340:7: note: in expansion of macro 'Lex'
         | RELAY_THREAD { Lex->slave_thd_opt|=SLAVE_IO; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6347:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6368:13: note: in expansion of macro 'Lex'
             Lex->sql_command = SQLCOM_RESTORE_TABLE;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6372:13: note: in expansion of macro 'Lex'
             Lex->backup_dir = $6.str;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6379:13: note: in expansion of macro 'Lex'
             Lex->sql_command = SQLCOM_BACKUP_TABLE;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6383:13: note: in expansion of macro 'Lex'
             Lex->backup_dir = $6.str;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6390:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6398:7: note: in expansion of macro 'Lex'
           /* nothing */ { Lex->check_opt.flags= 0; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6399:7: note: in expansion of macro 'Lex'
         | QUICK         { Lex->check_opt.flags= T_QUICK; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6400:7: note: in expansion of macro 'Lex'
         | EXTENDED_SYM  { Lex->check_opt.flags= T_EXTEND; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6406:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6417:7: note: in expansion of macro 'Lex'
           /* empty */ { Lex->check_opt.flags = T_MEDIUM; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6427:7: note: in expansion of macro 'Lex'
           QUICK        { Lex->check_opt.flags|= T_QUICK; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6428:7: note: in expansion of macro 'Lex'
         | EXTENDED_SYM { Lex->check_opt.flags|= T_EXTEND; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6429:7: note: in expansion of macro 'Lex'
         | USE_FRM      { Lex->check_opt.sql_flags|= TT_USEFRM; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6435:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6448:13: note: in expansion of macro 'Lex'
             Lex->sql_command = SQLCOM_BINLOG_BASE64_EVENT;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6456:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6472:7: note: in expansion of macro 'Lex'
           /* empty */ { Lex->check_opt.flags = T_MEDIUM; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6482:7: note: in expansion of macro 'Lex'
           QUICK               { Lex->check_opt.flags|= T_QUICK; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6483:7: note: in expansion of macro 'Lex'
         | FAST_SYM            { Lex->check_opt.flags|= T_FAST; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6484:7: note: in expansion of macro 'Lex'
         | MEDIUM_SYM          { Lex->check_opt.flags|= T_MEDIUM; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6485:7: note: in expansion of macro 'Lex'
         | EXTENDED_SYM        { Lex->check_opt.flags|= T_EXTEND; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6486:7: note: in expansion of macro 'Lex'
         | CHANGED             { Lex->check_opt.flags|= T_CHECK_ONLY_CHANGED; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6487:7: note: in expansion of macro 'Lex'
         | FOR_SYM UPGRADE_SYM { Lex->check_opt.sql_flags|= TT_FOR_UPGRADE; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6493:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6512:13: note: in expansion of macro 'Lex'
             Lex->sql_command= SQLCOM_RENAME_TABLE;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6518:13: note: in expansion of macro 'Lex'
             Lex->sql_command = SQLCOM_RENAME_USER;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6525:17: note: in expansion of macro 'Lex'
             if (Lex->users_list.push_back($1) || Lex->users_list.push_back($3))
                 ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6530:17: note: in expansion of macro 'Lex'
             if (Lex->users_list.push_back($3) || Lex->users_list.push_back($5))
                 ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6543:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6556:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:6570:18: note: in expansion of macro 'Select'
             if (!Select->add_table_to_list(YYTHD, $1, NULL, 0, TL_READ, 
                  ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6584:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:6599:18: note: in expansion of macro 'Select'
             if (!Select->add_table_to_list(YYTHD, $1, NULL, $3, TL_READ,
                  ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6607:13: note: in expansion of macro 'Lex'
             Lex->select_lex.alloc_index_hints(YYTHD);
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6635:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6649:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6683:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6702:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:6710:13: note: in expansion of macro 'Select'
             Select->parsing_place= NO_MATTER;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:6727:13: note: in expansion of macro 'Select'
             Select->context.table_list=
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:6742:17: note: in expansion of macro 'Select'
             if (Select->options & SELECT_DISTINCT && Select->options & SELECT_ALL)
                 ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:6756:7: note: in expansion of macro 'Select'
           STRAIGHT_JOIN { Select->options|= SELECT_STRAIGHT_JOIN; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:6760:15: note: in expansion of macro 'MYSQL_YYABORT'
               MYSQL_YYABORT;
               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6761:13: note: in expansion of macro 'Lex'
             Lex->lock_option=  TL_READ_HIGH_PRIORITY;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:6764:7: note: in expansion of macro 'Select'
         | DISTINCT         { Select->options|= SELECT_DISTINCT; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:6765:7: note: in expansion of macro 'Select'
         | SQL_SMALL_RESULT { Select->options|= SELECT_SMALL_RESULT; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:6766:7: note: in expansion of macro 'Select'
         | SQL_BIG_RESULT   { Select->options|= SELECT_BIG_RESULT; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:6770:15: note: in expansion of macro 'MYSQL_YYABORT'
               MYSQL_YYABORT;
               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:6771:13: note: in expansion of macro 'Select'
             Select->options|= OPTION_BUFFER_RESULT;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:6776:15: note: in expansion of macro 'MYSQL_YYABORT'
               MYSQL_YYABORT;
               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:6777:13: note: in expansion of macro 'Select'
             Select->options|= OPTION_FOUND_ROWS;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6781:13: note: in expansion of macro 'Lex'
             Lex->safe_to_cache_query=0;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6787:6: note: in expansion of macro 'Lex'
      Lex->disable_flashcache= TRUE;
      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6795:17: note: in expansion of macro 'Lex'
             if (Lex->select_lex.sql_cache != SELECT_LEX::SQL_NO_CACHE &&
                 ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:6803:7: note: in expansion of macro 'Select'
         | ALL { Select->options|= SELECT_ALL; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6810:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:6818:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:6831:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:6846:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:33:18: note: in expansion of macro 'YYTHD'
 #define YYLIP (& YYTHD->m_parser_state->m_lip)
                  ^
sql_yacc.yy:6871:44: note: in expansion of macro 'YYLIP'
             $$= (char*) YYLIP->get_cpp_tok_start();
                                            ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:33:18: note: in expansion of macro 'YYTHD'
 #define YYLIP (& YYTHD->m_parser_state->m_lip)
                  ^
sql_yacc.yy:6877:44: note: in expansion of macro 'YYLIP'
             $$= (char*) YYLIP->get_cpp_tok_end();
                                            ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:6947:35: note: in expansion of macro 'YYTHD'
               $$ = new (YYTHD->mem_root) Item_cond_or($1, $3);
                                   ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:6955:33: note: in expansion of macro 'YYTHD'
             $$ = new (YYTHD->mem_root) Item_cond_xor($1, $3);
                                 ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:6997:35: note: in expansion of macro 'YYTHD'
               $$ = new (YYTHD->mem_root) Item_cond_and($1, $3);
                                   ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7004:45: note: in expansion of macro 'YYTHD'
             $$= negate_expression(YYTHD, $2);
                                             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7010:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_istrue($1);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7016:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_isnottrue($1);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7022:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_isfalse($1);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7028:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_isnotfalse($1);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7034:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_isnull($1);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7040:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_isnotnull($1);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7050:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_isnull($1);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7056:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_isnotnull($1);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7062:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_equal($1,$3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:7070:15: note: in expansion of macro 'MYSQL_YYABORT'
               MYSQL_YYABORT;
               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:7076:15: note: in expansion of macro 'MYSQL_YYABORT'
               MYSQL_YYABORT;
               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7084:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_in_subselect($1, $4);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7090:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7100:60: note: in expansion of macro 'YYTHD'
             $$= handle_sql2003_note184_exception(YYTHD, $1, true, $4);
                                                            ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7108:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_in(*$6);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7114:60: note: in expansion of macro 'YYTHD'
             $$= handle_sql2003_note184_exception(YYTHD, $1, false, $5);
                                                            ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7122:39: note: in expansion of macro 'YYTHD'
             Item_func_in *item = new (YYTHD->mem_root) Item_func_in(*$7);
                                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7130:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_between($1,$3,$5);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7137:24: note: in expansion of macro 'YYTHD'
             item= new (YYTHD->mem_root) Item_func_between($1,$4,$6);
                        ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7145:31: note: in expansion of macro 'YYTHD'
             Item *item1= new (YYTHD->mem_root) Item_func_soundex($1);
                               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7155:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_like($1,$3,$4,Lex->escape_used);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7161:30: note: in expansion of macro 'YYTHD'
             Item *item= new (YYTHD->mem_root) Item_func_like($1,$4,$5,
                              ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7171:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_regex($1,$3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7177:30: note: in expansion of macro 'YYTHD'
             Item *item= new (YYTHD->mem_root) Item_func_regex($1,$4);
                              ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7190:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_bit_or($1,$3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7196:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_bit_and($1,$3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7202:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_shift_left($1,$3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7208:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_shift_right($1,$3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7214:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_plus($1,$3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7220:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_minus($1,$3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7226:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_date_add_interval($1,$4,$5,0);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7232:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_date_add_interval($1,$4,$5,1);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7238:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_mul($1,$3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7244:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_div($1,$3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7250:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_mod($1,$3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7256:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_int_div($1,$3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7262:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_mod($1,$3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7268:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_bit_xor($1,$3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7317:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7333:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_concat($1, $3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7343:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_neg($2);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7349:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_bit_neg($2);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7355:45: note: in expansion of macro 'YYTHD'
             $$= negate_expression(YYTHD, $2);
                                             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7361:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_singlerow_subselect($2);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7370:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_row(*$4);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7377:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_row(*$5);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7383:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_exists_subselect($3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7392:39: note: in expansion of macro 'YYTHD'
             Item_func_match *i1= new (YYTHD->mem_root) Item_func_match(*$2, $6);
                                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7400:44: note: in expansion of macro 'YYTHD'
             $$= create_func_cast(YYTHD, $2, ITEM_CAST_CHAR, NULL, NULL,
                                            ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:7407:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7415:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_case(* $3, $2, $4 );
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7421:44: note: in expansion of macro 'YYTHD'
             $$= create_func_cast(YYTHD, $3, $5, Lex->length, Lex->dec,
                                            ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7428:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_conv_charset($3,$5);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:7439:15: note: in expansion of macro 'MYSQL_YYABORT'
               MYSQL_YYABORT;
               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7441:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_default_value(Lex->current_context(),
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7448:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_insert_value(Lex->current_context(),
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7456:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_date_add_interval($5,$2,$3,0);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7471:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_char(*$3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7477:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_char(*$3, $5);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7483:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_current_user(Lex->current_context());
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7491:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_date_typecast($3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7497:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_dayofmonth($3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7503:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_hour($3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7509:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_insert($3,$5,$7,$9);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7515:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7530:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7542:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_left($3,$5);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7548:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_minute($3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7554:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_month($3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7560:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_right($3,$5);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7566:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_second($3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7572:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_time_typecast($3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7578:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_datetime_typecast($3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7584:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_add_time($3, $5, 1, 0);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7590:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_trim($3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7596:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_ltrim($6,$4);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7602:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_rtrim($6,$4);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7608:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_trim($6,$4);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7614:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_ltrim($5);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7620:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_rtrim($5);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7626:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_trim($5);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7632:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_trim($5,$3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7638:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_user();
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7646:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_year($3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7667:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_date_add_interval($3, $5,
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7674:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_date_add_interval($3, $6, $7, 0);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7680:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_curdate_local();
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7687:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_curtime_local();
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7694:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_curtime_local($3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7702:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_date_add_interval($3,$6,$7,0);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7709:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_date_add_interval($3,$6,$7,1);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7715:31: note: in expansion of macro 'YYTHD'
             $$=new (YYTHD->mem_root) Item_extract( $3, $5);
                               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7721:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_get_format($3, $5);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7727:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_now_local();
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7734:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_now_local($3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7741:33: note: in expansion of macro 'YYTHD'
             $$ = new (YYTHD->mem_root) Item_func_locate($5,$3);
                                 ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7747:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_date_add_interval($3, $5,
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7754:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_date_add_interval($3, $6, $7, 1);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7760:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_substr($3,$5,$7);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7766:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_substr($3,$5);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7772:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_substr($3,$5,$7);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7778:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_substr($3,$5);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:7791:13: note: in expansion of macro 'Lex'
             Lex->set_stmt_unsafe();
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7803:34: note: in expansion of macro 'YYTHD'
               $$= new (YYTHD->mem_root) Item_func_sysdate_local($3);
                                  ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7805:34: note: in expansion of macro 'YYTHD'
               $$= new (YYTHD->mem_root) Item_func_now_local($3);
                                  ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:7807:15: note: in expansion of macro 'MYSQL_YYABORT'
               MYSQL_YYABORT;
               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:7808:13: note: in expansion of macro 'Lex'
             Lex->safe_to_cache_query=0;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7812:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_date_add_interval($7,$5,$3,0);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7818:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_timestamp_diff($5,$7,$3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7824:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_curdate_utc();
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7831:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_curtime_utc();
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7838:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_now_utc();
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7853:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_ascii($3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7859:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_charset($3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7865:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_coalesce(* $3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7871:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_collation($3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7877:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_database();
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7884:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_if($3,$5,$7);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7890:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_microsecond($3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7896:33: note: in expansion of macro 'YYTHD'
             $$ = new (YYTHD->mem_root) Item_func_mod($3, $5);
                                 ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7902:33: note: in expansion of macro 'YYTHD'
             $$=  new (YYTHD->mem_root) Item_func_old_password($3);
                                 ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7908:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7920:33: note: in expansion of macro 'YYTHD'
             $$ = new (YYTHD->mem_root) Item_func_quarter($3);
                                 ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7926:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_repeat($3,$5);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7932:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_replace($3,$5,$7);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7938:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_round($3,$5,1);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7944:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:7956:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_week($3,$5);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:7966:15: note: in expansion of macro 'MYSQL_YYABORT'
               MYSQL_YYABORT;
               ^
In file included from item.h:2547:0,
                 from mysql_priv.h:898,
                 from sql_yacc.yy:40:
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
item_geofunc.h:397:45: note: in definition of macro 'GEOM_NEW'
 #define GEOM_NEW(thd, obj_constructor) new (thd->mem_root) obj_constructor
                                             ^
sql_yacc.yy:7978:36: note: in expansion of macro 'YYTHD'
             $$= GEOM_NEW(YYTHD,
                                    ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
item_geofunc.h:397:45: note: in definition of macro 'GEOM_NEW'
 #define GEOM_NEW(thd, obj_constructor) new (thd->mem_root) obj_constructor
                                             ^
sql_yacc.yy:7984:36: note: in expansion of macro 'YYTHD'
             $$= GEOM_NEW(YYTHD,
                                    ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
item_geofunc.h:397:45: note: in definition of macro 'GEOM_NEW'
 #define GEOM_NEW(thd, obj_constructor) new (thd->mem_root) obj_constructor
                                             ^
sql_yacc.yy:7991:36: note: in expansion of macro 'YYTHD'
             $$= GEOM_NEW(YYTHD,
                                    ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
item_geofunc.h:397:45: note: in definition of macro 'GEOM_NEW'
 #define GEOM_NEW(thd, obj_constructor) new (thd->mem_root) obj_constructor
                                             ^
sql_yacc.yy:7998:36: note: in expansion of macro 'YYTHD'
             $$= GEOM_NEW(YYTHD,
                                    ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
item_geofunc.h:397:45: note: in definition of macro 'GEOM_NEW'
 #define GEOM_NEW(thd, obj_constructor) new (thd->mem_root) obj_constructor
                                             ^
sql_yacc.yy:8005:36: note: in expansion of macro 'YYTHD'
             $$= GEOM_NEW(YYTHD,
                                    ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
item_geofunc.h:397:45: note: in definition of macro 'GEOM_NEW'
 #define GEOM_NEW(thd, obj_constructor) new (thd->mem_root) obj_constructor
                                             ^
sql_yacc.yy:8012:36: note: in expansion of macro 'YYTHD'
             $$= GEOM_NEW(YYTHD,
                                    ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
item_geofunc.h:397:45: note: in definition of macro 'GEOM_NEW'
 #define GEOM_NEW(thd, obj_constructor) new (thd->mem_root) obj_constructor
                                             ^
sql_yacc.yy:8019:36: note: in expansion of macro 'YYTHD'
             $$= GEOM_NEW(YYTHD, Item_func_point($3,$5));
                                    ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
item_geofunc.h:397:45: note: in definition of macro 'GEOM_NEW'
 #define GEOM_NEW(thd, obj_constructor) new (thd->mem_root) obj_constructor
                                             ^
sql_yacc.yy:8023:36: note: in expansion of macro 'YYTHD'
             $$= GEOM_NEW(YYTHD,
                                    ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:8044:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:8061:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:8115:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:8179:37: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) List<Item>;
                                     ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:8212:133: note: in expansion of macro 'YYTHD'
               $2->set_name($1, (uint) ($3 - $1), YYTHD->charset());
                                                                                                                                     ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:8220:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_sum_avg($3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:8226:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_sum_avg_distinct($4);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:8232:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_sum_and($3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:8238:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_sum_or($3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:8244:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_sum_xor($3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:8250:30: note: in expansion of macro 'YYTHD'
             Item *item= new (YYTHD->mem_root) Item_int((int32) 0L,1);
                              ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:8259:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_sum_count($3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:8264:7: note: in expansion of macro 'Select'
           { Select->in_sum_expr++; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:8266:7: note: in expansion of macro 'Select'
           { Select->in_sum_expr--; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:8269:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_sum_count_distinct(* $5);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:8275:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_sum_min($3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:8286:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_sum_min($4);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:8292:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_sum_max($3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:8298:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_sum_max($4);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:8304:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_sum_std($3, 0);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:8310:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_sum_variance($3, 0);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:8316:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_sum_std($3, 1);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:8322:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_sum_variance($3, 1);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:8328:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_sum_sum($3);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:8334:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_sum_sum_distinct($4);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:8339:7: note: in expansion of macro 'Select'
           { Select->in_sum_expr++; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:8344:30: note: in expansion of macro 'Select'
             SELECT_LEX *sel= Select;
                              ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:8359:19: note: in expansion of macro 'Lex'
             if (! Lex->parsing_options.allows_variable)
                   ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:8375:38: note: in expansion of macro 'YYTHD'
             $$= item= new (YYTHD->mem_root) Item_func_set_user_var($1, $3);
                                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:8384:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_func_get_user_var($1);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:8396:15: note: in expansion of macro 'MYSQL_YYABORT'
               MYSQL_YYABORT;
               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:8398:48: note: in expansion of macro 'YYTHD'
             if (!($$= get_system_var(YYTHD, $2, $3, $4)))
                                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:8401:15: note: in expansion of macro 'Lex'
               Lex->set_stmt_unsafe();
               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:8413:34: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) String(",", 1, &my_charset_latin1);
                                  ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:8424:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:8440:30: note: in expansion of macro 'YYTHD'
           { if (add_gorder_to_list(YYTHD, $3,(bool) $4)) MYSQL_YYABORT; }
                              ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:8442:30: note: in expansion of macro 'YYTHD'
           { if (add_gorder_to_list(YYTHD, $1,(bool) $2)) MYSQL_YYABORT; }
                              ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:8448:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:8457:13: note: in expansion of macro 'Select'
             Select->in_sum_expr--;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:8464:41: note: in expansion of macro 'Lex'
           { $$=ITEM_CAST_CHAR; Lex->charset= &my_charset_bin; Lex->dec= 0; }
                                         ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:8466:41: note: in expansion of macro 'Lex'
           { $$=ITEM_CAST_CHAR; Lex->dec= 0; }
                                         ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:8468:41: note: in expansion of macro 'Lex'
           { $$=ITEM_CAST_CHAR; Lex->charset= national_charset_info; Lex->dec=0; }
                                         ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:8470:47: note: in expansion of macro 'Lex'
           { $$=ITEM_CAST_SIGNED_INT; Lex->charset= NULL; Lex->dec=Lex->length= (char*)0; }
                                               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:8472:47: note: in expansion of macro 'Lex'
           { $$=ITEM_CAST_SIGNED_INT; Lex->charset= NULL; Lex->dec=Lex->length= (char*)0; }
                                               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:8474:49: note: in expansion of macro 'Lex'
           { $$=ITEM_CAST_UNSIGNED_INT; Lex->charset= NULL; Lex->dec=Lex->length= (char*)0; }
                                                 ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:8476:49: note: in expansion of macro 'Lex'
           { $$=ITEM_CAST_UNSIGNED_INT; Lex->charset= NULL; Lex->dec=Lex->length= (char*)0; }
                                                 ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:8478:41: note: in expansion of macro 'Lex'
           { $$=ITEM_CAST_DATE; Lex->charset= NULL; Lex->dec=Lex->length= (char*)0; }
                                         ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:8480:41: note: in expansion of macro 'Lex'
           { $$=ITEM_CAST_TIME; Lex->charset= NULL; Lex->dec=Lex->length= (char*)0; }
                                         ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:8482:45: note: in expansion of macro 'Lex'
           { $$=ITEM_CAST_DATETIME; Lex->charset= NULL; Lex->dec=Lex->length= (char*)0; }
                                             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:8484:44: note: in expansion of macro 'Lex'
           { $$=ITEM_CAST_DECIMAL; Lex->charset= NULL; }
                                            ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:8495:37: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) List<Item>;
                                     ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:8515:37: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) List<Item>;
                                     ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:8542:15: note: in expansion of macro 'MYSQL_YYABORT'
               MYSQL_YYABORT;
               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:8559:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:87:5: note: in expansion of macro 'MYSQL_YYABORT'
     MYSQL_YYABORT;                      \
     ^
sql_yacc.yy:8566:7: note: in expansion of macro 'MYSQL_YYABORT_UNLESS'
           derived_table_list { MYSQL_YYABORT_UNLESS($$=$1); }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:87:5: note: in expansion of macro 'MYSQL_YYABORT'
     MYSQL_YYABORT;                      \
     ^
sql_yacc.yy:8586:13: note: in expansion of macro 'MYSQL_YYABORT_UNLESS'
             MYSQL_YYABORT_UNLESS($1 && ($$=$3));
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:87:5: note: in expansion of macro 'MYSQL_YYABORT'
     MYSQL_YYABORT;                      \
     ^
sql_yacc.yy:8605:7: note: in expansion of macro 'MYSQL_YYABORT_UNLESS'
           { MYSQL_YYABORT_UNLESS($1 && ($$=$3)); }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:87:5: note: in expansion of macro 'MYSQL_YYABORT'
     MYSQL_YYABORT;                      \
     ^
sql_yacc.yy:8607:7: note: in expansion of macro 'MYSQL_YYABORT_UNLESS'
           { MYSQL_YYABORT_UNLESS($1 && ($$=$3)); $3->straight=1; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:87:5: note: in expansion of macro 'MYSQL_YYABORT'
     MYSQL_YYABORT;                      \
     ^
sql_yacc.yy:8611:13: note: in expansion of macro 'MYSQL_YYABORT_UNLESS'
             MYSQL_YYABORT_UNLESS($1 && $3);
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:8613:50: note: in expansion of macro 'YYTHD'
             if (push_new_name_resolution_context(YYTHD, $1, $3))
                                                  ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:8615:13: note: in expansion of macro 'Select'
             Select->parsing_place= IN_ON;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:8620:13: note: in expansion of macro 'Lex'
             Lex->pop_context();
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:87:5: note: in expansion of macro 'MYSQL_YYABORT'
     MYSQL_YYABORT;                      \
     ^
sql_yacc.yy:8626:13: note: in expansion of macro 'MYSQL_YYABORT_UNLESS'
             MYSQL_YYABORT_UNLESS($1 && $3);
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:8628:50: note: in expansion of macro 'YYTHD'
             if (push_new_name_resolution_context(YYTHD, $1, $3))
                                                  ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:8630:13: note: in expansion of macro 'Select'
             Select->parsing_place= IN_ON;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:8636:13: note: in expansion of macro 'Lex'
             Lex->pop_context();
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:87:5: note: in expansion of macro 'MYSQL_YYABORT'
     MYSQL_YYABORT;                      \
     ^
sql_yacc.yy:8642:13: note: in expansion of macro 'MYSQL_YYABORT_UNLESS'
             MYSQL_YYABORT_UNLESS($1 && $3);
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:8645:94: note: in expansion of macro 'Select'
           { add_join_natural($1,$3,$7,Select); $$=$3; }
                                                                                              ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:87:5: note: in expansion of macro 'MYSQL_YYABORT'
     MYSQL_YYABORT;                      \
     ^
sql_yacc.yy:8648:13: note: in expansion of macro 'MYSQL_YYABORT_UNLESS'
             MYSQL_YYABORT_UNLESS($1 && ($$=$4));
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:8649:80: note: in expansion of macro 'Select'
             add_join_natural($1,$4,NULL,Select);
                                                                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:87:5: note: in expansion of macro 'MYSQL_YYABORT'
     MYSQL_YYABORT;                      \
     ^
sql_yacc.yy:8656:13: note: in expansion of macro 'MYSQL_YYABORT_UNLESS'
             MYSQL_YYABORT_UNLESS($1 && $5);
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:8658:50: note: in expansion of macro 'YYTHD'
             if (push_new_name_resolution_context(YYTHD, $1, $5))
                                                  ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:8660:13: note: in expansion of macro 'Select'
             Select->parsing_place= IN_ON;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:8665:13: note: in expansion of macro 'Lex'
             Lex->pop_context();
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:87:5: note: in expansion of macro 'MYSQL_YYABORT'
     MYSQL_YYABORT;                      \
     ^
sql_yacc.yy:8672:13: note: in expansion of macro 'MYSQL_YYABORT_UNLESS'
             MYSQL_YYABORT_UNLESS($1 && $5);
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:8676:100: note: in expansion of macro 'Select'
             add_join_natural($1,$5,$9,Select); 
                                                                                                    ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:87:5: note: in expansion of macro 'MYSQL_YYABORT'
     MYSQL_YYABORT;                      \
     ^
sql_yacc.yy:8682:13: note: in expansion of macro 'MYSQL_YYABORT_UNLESS'
             MYSQL_YYABORT_UNLESS($1 && $6);
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:8683:80: note: in expansion of macro 'Select'
             add_join_natural($1,$6,NULL,Select);
                                                                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:87:5: note: in expansion of macro 'MYSQL_YYABORT'
     MYSQL_YYABORT;                      \
     ^
sql_yacc.yy:8692:13: note: in expansion of macro 'MYSQL_YYABORT_UNLESS'
             MYSQL_YYABORT_UNLESS($1 && $5);
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:8694:50: note: in expansion of macro 'YYTHD'
             if (push_new_name_resolution_context(YYTHD, $1, $5))
                                                  ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:8696:13: note: in expansion of macro 'Select'
             Select->parsing_place= IN_ON;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:8700:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:87:5: note: in expansion of macro 'MYSQL_YYABORT'
     MYSQL_YYABORT;                      \
     ^
sql_yacc.yy:8709:13: note: in expansion of macro 'MYSQL_YYABORT_UNLESS'
             MYSQL_YYABORT_UNLESS($1 && $5);
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:8713:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:87:5: note: in expansion of macro 'MYSQL_YYABORT'
     MYSQL_YYABORT;                      \
     ^
sql_yacc.yy:8720:13: note: in expansion of macro 'MYSQL_YYABORT_UNLESS'
             MYSQL_YYABORT_UNLESS($1 && $6);
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:8721:80: note: in expansion of macro 'Select'
             add_join_natural($6,$1,NULL,Select);
                                                                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:8737:30: note: in expansion of macro 'Select'
             SELECT_LEX *sel= Select;
                              ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:8742:39: note: in expansion of macro 'Select'
             if (!($$= Select->add_table_to_list(YYTHD, $2, $3,
                                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:8747:13: note: in expansion of macro 'Select'
             Select->add_joined_table($$);
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:8751:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:8790:24: note: in expansion of macro 'Lex'
               LEX *lex=Lex;
                        ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:8810:15: note: in expansion of macro 'MYSQL_YYABORT'
               MYSQL_YYABORT;
               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:8825:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:8831:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:8847:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:8864:13: note: in expansion of macro 'Select'
             Select->parsing_place= NO_MATTER;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:8870:27: note: in expansion of macro 'Select'
           /* Empty */ { $$= Select; }
                           ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:8876:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:8923:13: note: in expansion of macro 'Select'
             Select->set_index_hint_type($1, $3);
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:8928:13: note: in expansion of macro 'Select'
             Select->set_index_hint_type(INDEX_HINT_USE, $3);
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:8940:7: note: in expansion of macro 'Select'
         | { Select->alloc_index_hints(YYTHD); } index_hints_list
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:8944:8: note: in expansion of macro 'Select'
           {  Select->clear_index_hints(); }
        ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:8949:7: note: in expansion of macro 'Select'
           /* empty */ { Select->add_index_hint(YYTHD, NULL, 0); }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:8955:7: note: in expansion of macro 'Select'
           { Select->add_index_hint(YYTHD, $1.str, $1.length); }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:8957:7: note: in expansion of macro 'Select'
           { Select->add_index_hint(YYTHD, (char *)"PRIMARY", 7); }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:8969:15: note: in expansion of macro 'MYSQL_YYABORT'
               MYSQL_YYABORT;
               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:8970:29: note: in expansion of macro 'YYTHD'
             String *s= new (YYTHD->mem_root) String((const char *) $1.str,
                             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:8979:29: note: in expansion of macro 'YYTHD'
             String *s= new (YYTHD->mem_root) String((const char *) $3.str,
                             ^
In file included from sql_yacc.yy:40:0:
sql_yacc.yy:9020:51: error: 'yythd' was not declared in this scope
                                   WARN_DEPRECATED(yythd, VER_CELOSIA, "FRAC_SECOND", "MICROSECOND");
                                                   ^
mysql_priv.h:127:18: note: in definition of macro 'WARN_DEPRECATED'
     if (((uchar*)Thd) != NULL)                                                       \
                  ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:9055:15: note: in expansion of macro 'MYSQL_YYABORT'
               MYSQL_YYABORT;
               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:9065:7: note: in expansion of macro 'Select'
           /* empty */  { Select->where= 0; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:9068:13: note: in expansion of macro 'Select'
             Select->parsing_place= IN_WHERE;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:9072:33: note: in expansion of macro 'Select'
             SELECT_LEX *select= Select;
                                 ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:9084:13: note: in expansion of macro 'Select'
             Select->parsing_place= IN_HAVING;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:9088:30: note: in expansion of macro 'Select'
             SELECT_LEX *sel= Select;
                              ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9099:13: note: in expansion of macro 'Lex'
             Lex->escape_used= TRUE;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:9104:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:9125:29: note: in expansion of macro 'YYTHD'
           { if (add_group_to_list(YYTHD, $3,(bool) $4)) MYSQL_YYABORT; }
                             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:9127:29: note: in expansion of macro 'YYTHD'
           { if (add_group_to_list(YYTHD, $1,(bool) $2)) MYSQL_YYABORT; }
                             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9134:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9147:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:9174:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9193:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:9227:29: note: in expansion of macro 'YYTHD'
           { if (add_order_to_list(YYTHD, $3,(bool) $4)) MYSQL_YYABORT; }
                             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:9229:29: note: in expansion of macro 'YYTHD'
           { if (add_order_to_list(YYTHD, $1,(bool) $2)) MYSQL_YYABORT; }
                             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9241:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:9261:30: note: in expansion of macro 'Select'
             SELECT_LEX *sel= Select;
                              ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:9268:30: note: in expansion of macro 'Select'
             SELECT_LEX *sel= Select;
                              ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:9275:30: note: in expansion of macro 'Select'
             SELECT_LEX *sel= Select;
                              ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:9289:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_uint($1.str, $1.length);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:9295:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_uint($1.str, $1.length);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:9301:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_uint($1.str, $1.length);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9310:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:9315:30: note: in expansion of macro 'Select'
             SELECT_LEX *sel= Select;
                              ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:9335:7: note: in expansion of macro 'MYSQL_YYABORT'
         | dec_num_error { MYSQL_YYABORT; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:9350:7: note: in expansion of macro 'MYSQL_YYABORT'
         | dec_num_error { MYSQL_YYABORT; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9367:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:9408:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9419:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9436:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9455:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9487:19: note: in expansion of macro 'Lex'
             if (! Lex->parsing_options.allows_select_into)
                   ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9499:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9506:7: note: in expansion of macro 'Lex'
           { Lex->exchange->cs= $4; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9510:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9522:13: note: in expansion of macro 'Lex'
             Lex->uncacheable(UNCACHEABLE_SIDEEFFECT);
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9533:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9539:13: note: in expansion of macro 'Lex'
             Lex->insert_list= $3;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9550:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9557:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9571:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:9578:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:9601:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9622:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9634:13: note: in expansion of macro 'Lex'
             Lex->sql_command = SQLCOM_DROP_USER;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9638:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9644:13: note: in expansion of macro 'Lex'
             Lex->drop_if_exists= $3;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9650:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9657:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9662:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9667:13: note: in expansion of macro 'Lex'
             Lex->sql_command = SQLCOM_DROP_SERVER;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:9682:18: note: in expansion of macro 'Select'
             if (!Select->add_table_to_list(YYTHD, $1, NULL, TL_OPTION_UPDATING))
                  ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:9695:18: note: in expansion of macro 'Select'
             if (!Select->add_table_to_list(YYTHD, $1, NULL,
                  ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9718:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:9728:13: note: in expansion of macro 'Select'
             Select->set_lock_for_tables($3);
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9738:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:9745:13: note: in expansion of macro 'Select'
             Select->set_lock_for_tables($3);
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9761:33: note: in expansion of macro 'Lex'
             $$= (Lex->sphead ? TL_WRITE_DEFAULT : TL_WRITE_CONCURRENT_INSERT);
                                 ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9784:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9796:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9805:7: note: in expansion of macro 'Lex'
           fields ',' insert_ident { Lex->field_list.push_back($3); }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9806:7: note: in expansion of macro 'Lex'
         | insert_ident { Lex->field_list.push_back($1); }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:9813:7: note: in expansion of macro 'Select'
           { Select->set_braces(0);}
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:9816:7: note: in expansion of macro 'Select'
           { Select->set_braces(1);}
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9833:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9853:21: note: in expansion of macro 'Lex'
               if (!(Lex->insert_list = new List_item))
                     ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9858:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9872:17: note: in expansion of macro 'Lex'
             if (Lex->insert_list->push_back($3))
                 ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9877:17: note: in expansion of macro 'Lex'
             if (Lex->insert_list->push_back($1))
                 ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:9886:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_default_value(Lex->current_context());
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9894:7: note: in expansion of macro 'Lex'
         | ON DUPLICATE_SYM { Lex->duplicates= DUP_UPDATE; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9903:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9912:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:9940:34: note: in expansion of macro 'YYTHD'
             if (add_item_to_list(YYTHD, $1) || add_value_to_list(YYTHD, $3))
                                  ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9953:21: note: in expansion of macro 'Lex'
           LEX *lex= Lex;
                     ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9970:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:9983:18: note: in expansion of macro 'Select'
             if (!Select->add_table_to_list(YYTHD, $2, NULL, TL_OPTION_UPDATING,
                  ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9990:31: note: in expansion of macro 'Lex'
           { mysql_init_multi_delete(Lex); }
                               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9993:60: note: in expansion of macro 'Lex'
             if (multi_delete_set_locks_and_link_aux_tables(Lex))
                                                            ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:9997:31: note: in expansion of macro 'Lex'
           { mysql_init_multi_delete(Lex); }
                               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10000:60: note: in expansion of macro 'Lex'
             if (multi_delete_set_locks_and_link_aux_tables(Lex))
                                                            ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:10015:15: note: in expansion of macro 'MYSQL_YYABORT'
               MYSQL_YYABORT;
               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:10016:18: note: in expansion of macro 'Select'
             if (!Select->add_table_to_list(YYTHD,
                  ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:10025:46: note: in expansion of macro 'YYTHD'
             Table_ident *ti= new Table_ident(YYTHD, $1, $3, 0);
                                              ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:10048:7: note: in expansion of macro 'Select'
           QUICK        { Select->options|= OPTION_QUICK; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10049:7: note: in expansion of macro 'Lex'
         | LOW_PRIORITY { Lex->lock_option= TL_WRITE_LOW_PRIORITY; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10050:7: note: in expansion of macro 'Lex'
         | IGNORE_SYM   { Lex->ignore= 1; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10056:23: note: in expansion of macro 'Lex'
             LEX* lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10080:7: note: in expansion of macro 'Lex'
       Lex->profile_options|= PROFILE_CPU;
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10084:7: note: in expansion of macro 'Lex'
       Lex->profile_options|= PROFILE_MEMORY;
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10088:7: note: in expansion of macro 'Lex'
       Lex->profile_options|= PROFILE_BLOCK_IO;
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10092:7: note: in expansion of macro 'Lex'
       Lex->profile_options|= PROFILE_CONTEXT;
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10096:7: note: in expansion of macro 'Lex'
       Lex->profile_options|= PROFILE_PAGE_FAULTS;
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10100:7: note: in expansion of macro 'Lex'
       Lex->profile_options|= PROFILE_IPC;
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10104:7: note: in expansion of macro 'Lex'
       Lex->profile_options|= PROFILE_SWAPS;
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10108:7: note: in expansion of macro 'Lex'
       Lex->profile_options|= PROFILE_SOURCE;
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10112:7: note: in expansion of macro 'Lex'
       Lex->profile_options|= PROFILE_ALL;
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10119:7: note: in expansion of macro 'Lex'
       Lex->profile_query_id= 0;
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10123:7: note: in expansion of macro 'Lex'
       Lex->profile_query_id= atoi($3.str);
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10132:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10146:24: note: in expansion of macro 'Lex'
              LEX *lex= Lex;
                        ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10153:24: note: in expansion of macro 'Lex'
              LEX *lex= Lex;
                        ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10161:24: note: in expansion of macro 'Lex'
              LEX *lex= Lex;
                        ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10170:24: note: in expansion of macro 'Lex'
              LEX *lex= Lex;
                        ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10178:24: note: in expansion of macro 'Lex'
              LEX *lex= Lex;
                        ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10186:24: note: in expansion of macro 'Lex'
              LEX *lex= Lex;
                        ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10194:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10202:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10210:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10216:7: note: in expansion of macro 'Lex'
           { Lex->create_info.db_type= $2; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10218:7: note: in expansion of macro 'Lex'
           { Lex->create_info.db_type= NULL; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10221:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10236:13: note: in expansion of macro 'Lex'
             Lex->sql_command = SQLCOM_SHOW_NEW_MASTER;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10243:13: note: in expansion of macro 'Lex'
             Lex->sql_command = SQLCOM_SHOW_BINLOGS;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10247:13: note: in expansion of macro 'Lex'
             Lex->sql_command = SQLCOM_SHOW_SLAVE_HOSTS;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10251:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10256:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10265:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10270:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10278:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10283:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10290:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10295:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10300:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10308:7: note: in expansion of macro 'Lex'
           { Lex->sql_command = SQLCOM_SHOW_WARNS;}
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10310:7: note: in expansion of macro 'Lex'
           { Lex->sql_command = SQLCOM_SHOW_ERRORS;}
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10312:7: note: in expansion of macro 'Lex'
           { Lex->sql_command = SQLCOM_SHOW_PROFILES; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10315:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10322:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10330:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10342:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10353:7: note: in expansion of macro 'Lex'
           { Lex->sql_command= SQLCOM_SHOW_PROCESSLIST;}
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10356:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10364:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10371:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10378:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10388:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10395:13: note: in expansion of macro 'Lex'
             Lex->sql_command=SQLCOM_SHOW_CREATE_DB;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10401:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10410:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10418:13: note: in expansion of macro 'Lex'
             Lex->sql_command = SQLCOM_SHOW_MASTER_STAT;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10422:13: note: in expansion of macro 'Lex'
             Lex->sql_command = SQLCOM_SHOW_SLAVE_STAT;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10427:6: note: in expansion of macro 'Lex'
      Lex->sql_command = SQLCOM_SHOW_SLAVE_NOLOCK_STAT; //SQLCOM_SHOW_SLAVE_NOLOCK_STAT;
      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10431:22: note: in expansion of macro 'Lex'
            LEX *lex= Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10438:22: note: in expansion of macro 'Lex'
            LEX *lex= Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10445:22: note: in expansion of macro 'Lex'
            LEX *lex= Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10452:22: note: in expansion of macro 'Lex'
            LEX *lex= Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10459:22: note: in expansion of macro 'Lex'
            LEX *lex= Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10467:22: note: in expansion of macro 'Lex'
            LEX *lex= Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10475:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10482:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10489:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10495:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10502:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:10511:13: note: in expansion of macro 'MYSQL_YYABORT'
             MYSQL_YYABORT;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:10521:13: note: in expansion of macro 'MYSQL_YYABORT'
             MYSQL_YYABORT;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10529:13: note: in expansion of macro 'Lex'
             Lex->spname= $3;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10536:7: note: in expansion of macro 'Lex'
           { Lex->sql_command= SQLCOM_SHOW_ENGINE_STATUS; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10538:7: note: in expansion of macro 'Lex'
           { Lex->sql_command= SQLCOM_SHOW_ENGINE_MUTEX; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10540:7: note: in expansion of macro 'Lex'
           { Lex->sql_command= SQLCOM_SHOW_ENGINE_LOGS; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10559:7: note: in expansion of macro 'Lex'
           /* empty */ { Lex->verbose=0; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10560:7: note: in expansion of macro 'Lex'
         | FULL        { Lex->verbose=1; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10569:7: note: in expansion of macro 'Lex'
           /* empty */            { Lex->mi.log_file_name = 0; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10570:7: note: in expansion of macro 'Lex'
         | IN_SYM TEXT_STRING_sys { Lex->mi.log_file_name = $2.str; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10574:7: note: in expansion of macro 'Lex'
           /* empty */        { Lex->mi.pos = 4; /* skip magic number */ }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10575:7: note: in expansion of macro 'Lex'
         | FROM ulonglong_num { Lex->mi.pos = $2; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10582:13: note: in expansion of macro 'Lex'
             Lex->wild= new (YYTHD->mem_root) String($2.str, $2.length,
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:10589:13: note: in expansion of macro 'Select'
             Select->where= $2;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10599:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10611:7: note: in expansion of macro 'Lex'
           { Lex->describe|= DESCRIBE_NORMAL; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10614:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10626:7: note: in expansion of macro 'Lex'
         | EXTENDED_SYM   { Lex->describe|= DESCRIBE_EXTENDED; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10627:7: note: in expansion of macro 'Lex'
         | PARTITIONS_SYM { Lex->describe|= DESCRIBE_PARTITIONS; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10632:7: note: in expansion of macro 'Lex'
         | text_string { Lex->wild= $1; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10635:13: note: in expansion of macro 'Lex'
             Lex->wild= new (YYTHD->mem_root) String((const char*) $1.str,
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10649:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10665:7: note: in expansion of macro 'Lex'
           { Lex->type|= REFRESH_TABLES; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10668:7: note: in expansion of macro 'Lex'
           { Lex->type|= REFRESH_TABLES | REFRESH_READ_LOCK; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10670:7: note: in expansion of macro 'Lex'
           { Lex->type|= REFRESH_QUERY_CACHE_FREE; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10672:7: note: in expansion of macro 'Lex'
           { Lex->type|= REFRESH_HOSTS; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10674:7: note: in expansion of macro 'Lex'
           { Lex->type|= REFRESH_GRANT; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10676:7: note: in expansion of macro 'Lex'
           { Lex->type|= REFRESH_LOG; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10678:7: note: in expansion of macro 'Lex'
           { Lex->type|= REFRESH_STATUS; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10680:7: note: in expansion of macro 'Lex'
           { Lex->type|= REFRESH_SLAVE; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10682:7: note: in expansion of macro 'Lex'
           { Lex->type |= REFRESH_SLOW_QUERY_LOG; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10684:7: note: in expansion of macro 'Lex'
           { Lex->type|= REFRESH_CLIENT_STATS; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10686:7: note: in expansion of macro 'Lex'
           { Lex->type|= REFRESH_USER_STATS; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10688:7: note: in expansion of macro 'Lex'
           { Lex->type|= REFRESH_THREAD_STATS; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10690:7: note: in expansion of macro 'Lex'
           { Lex->type|= REFRESH_TABLE_STATS; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10692:7: note: in expansion of macro 'Lex'
           { Lex->type|= REFRESH_INDEX_STATS; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10696:13: note: in expansion of macro 'Lex'
             Lex->type|= REFRESH_QUERY_RESPONSE_TIME; 
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10700:7: note: in expansion of macro 'Lex'
           { Lex->type|= REFRESH_MASTER; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10702:7: note: in expansion of macro 'Lex'
           { Lex->type|= REFRESH_DES_KEY_FILE; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10704:7: note: in expansion of macro 'Lex'
           { Lex->type|= REFRESH_USER_RESOURCES; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10706:7: note: in expansion of macro 'Lex'
           { Lex->type|= REFRESH_FLUSH_PAGE_BITMAPS; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10717:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10730:7: note: in expansion of macro 'Lex'
           SLAVE               { Lex->type|= REFRESH_SLAVE; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10731:7: note: in expansion of macro 'Lex'
         | MASTER_SYM          { Lex->type|= REFRESH_MASTER; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10732:7: note: in expansion of macro 'Lex'
         | QUERY_SYM CACHE_SYM { Lex->type|= REFRESH_QUERY_CACHE;}
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10734:7: note: in expansion of macro 'Lex'
           { Lex->type |= REFRESH_RESET_PAGE_BITMAPS; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10740:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10752:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10762:13: note: in expansion of macro 'Lex'
             Lex->to_log = $2.str;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10766:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10778:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10786:7: note: in expansion of macro 'Lex'
           /* empty */ { Lex->type= 0; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10787:7: note: in expansion of macro 'Lex'
         | CONNECTION_SYM { Lex->type= 0; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10788:7: note: in expansion of macro 'Lex'
         | QUERY_SYM      { Lex->type= ONLY_KILL_QUERY; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10796:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:10807:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10820:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10837:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10848:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10857:7: note: in expansion of macro 'Lex'
           { Lex->exchange->cs= $11; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10863:13: note: in expansion of macro 'Lex'
             Lex->sql_command = SQLCOM_LOAD_MASTER_DATA;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10883:17: note: in expansion of macro 'Lex'
             if (Lex->sphead != 0)
                 ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10893:7: note: in expansion of macro 'Lex'
           /* empty */ { Lex->duplicates=DUP_ERROR; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10894:7: note: in expansion of macro 'Lex'
         | REPLACE { Lex->duplicates=DUP_REPLACE; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10895:7: note: in expansion of macro 'Lex'
         | IGNORE_SYM { Lex->ignore= 1; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10912:13: note: in expansion of macro 'Lex'
             Lex->exchange->field_term= $3;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10916:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10924:13: note: in expansion of macro 'Lex'
             Lex->exchange->enclosed= $3;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10929:13: note: in expansion of macro 'Lex'
             Lex->exchange->escaped= $3;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10947:13: note: in expansion of macro 'Lex'
             Lex->exchange->line_term= $3;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10952:13: note: in expansion of macro 'Lex'
             Lex->exchange->line_start= $3;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10961:13: note: in expansion of macro 'Lex'
             Lex->exchange->skip_lines= atol($2.str);
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10973:7: note: in expansion of macro 'Lex'
           { Lex->field_list.push_back($3); }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:10975:7: note: in expansion of macro 'Lex'
           { Lex->field_list.push_back($1); }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:10982:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_user_var_as_out_param($2);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:10999:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:11022:30: note: in expansion of macro 'Lex'
             uint repertoire= Lex->text_string_is_7bit ?
                              ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:11034:36: note: in expansion of macro 'YYTHD'
             Item_string *str= new (YYTHD->mem_root) Item_string($2.str,
                                    ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:11053:33: note: in expansion of macro 'YYTHD'
               CHARSET_INFO *cs= YYTHD->variables.collation_connection;
                                 ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:11064:34: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) String($1.str,
                                  ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:11072:29: note: in expansion of macro 'YYTHD'
             Item *tmp= new (YYTHD->mem_root) Item_hex_string($1.str, $1.length);
                             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:11084:29: note: in expansion of macro 'YYTHD'
             Item *tmp= new (YYTHD->mem_root) Item_bin_string($1.str, $1.length);
                             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:11099:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:11132:33: note: in expansion of macro 'YYTHD'
             $$ = new (YYTHD->mem_root) Item_null();
                                 ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:11139:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_int((char*) "FALSE",0,1);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:11145:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_int((char*) "TRUE",1,1);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:11151:33: note: in expansion of macro 'YYTHD'
             $$ = new (YYTHD->mem_root) Item_hex_string($1.str, $1.length);
                                 ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:11157:32: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_bin_string($1.str, $1.length);
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:11163:29: note: in expansion of macro 'YYTHD'
             Item *tmp= new (YYTHD->mem_root) Item_hex_string($2.str, $2.length);
                             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:11192:29: note: in expansion of macro 'YYTHD'
             Item *tmp= new (YYTHD->mem_root) Item_bin_string($2.str, $2.length);
                             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:11227:36: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root)
                                    ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:11237:36: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root)
                                    ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:11246:36: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_uint($1.str, $1.length);
                                    ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:11252:36: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_decimal($1.str, $1.length,
                                    ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:11261:36: note: in expansion of macro 'YYTHD'
             $$= new (YYTHD->mem_root) Item_float($1.str, $1.length);
                                    ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:11281:30: note: in expansion of macro 'Select'
             SELECT_LEX *sel= Select;
                              ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:11290:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:11310:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:11361:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:11383:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:11462:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:11487:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:11519:32: note: in expansion of macro 'Select'
             TABLE_LIST *table= Select->table_list.first;
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:11535:32: note: in expansion of macro 'Select'
             TABLE_LIST *table= Select->table_list.first;
                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:11551:15: note: in expansion of macro 'MYSQL_YYABORT'
               MYSQL_YYABORT;
               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:11555:44: note: in expansion of macro 'YYTHD'
             $$= new Table_ident(YYTHD, $1,$3,0);
                                            ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:11564:15: note: in expansion of macro 'MYSQL_YYABORT'
               MYSQL_YYABORT;
               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:11573:15: note: in expansion of macro 'MYSQL_YYABORT'
               MYSQL_YYABORT;
               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:11577:44: note: in expansion of macro 'YYTHD'
             $$= new Table_ident(YYTHD, $1,$3,0);
                                            ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:11587:44: note: in expansion of macro 'YYTHD'
             $$= new Table_ident(YYTHD, db,$1,0);
                                            ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:11597:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:11626:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:11642:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:11658:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:11676:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:11688:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:11705:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:11719:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:11738:48: note: in expansion of macro 'YYTHD'
             if (!($$=(LEX_USER*) YYTHD->alloc(sizeof(st_lex_user))))
                                                ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12086:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:12110:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:12141:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12199:7: note: in expansion of macro 'Lex'
         | ONE_SHOT_SYM { Lex->one_shot_set= 1; $$= OPT_SESSION; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:12224:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:12266:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:12286:24: note: in expansion of macro 'YYTHD'
             item= new (YYTHD->mem_root) Item_func_set_user_var($2, $4);
                        ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:12296:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:12309:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12323:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12338:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:12357:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:12386:15: note: in expansion of macro 'MYSQL_YYABORT'
               MYSQL_YYABORT;
               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12387:13: note: in expansion of macro 'Lex'
             Lex->var_list.push_back(var);
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:12397:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12424:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:12467:39: note: in expansion of macro 'YYTHD'
             sys_var *tmp=find_sys_var(YYTHD, $3.str, $3.length);
                                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:12489:65: note: in expansion of macro 'YYTHD'
             $$= $3.length ? YYTHD->variables.old_passwords ?
                                                                 ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:12498:95: note: in expansion of macro 'YYTHD'
             $$= $3.length ? Item_func_old_password::alloc(YYTHD, $3.str,
                                                                                               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:12512:31: note: in expansion of macro 'YYTHD'
             $$=new (YYTHD->mem_root) Item_string("ON",  2, system_charset_info);
                               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:12518:31: note: in expansion of macro 'YYTHD'
             $$=new (YYTHD->mem_root) Item_string("ALL", 3, system_charset_info);
                               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:12524:31: note: in expansion of macro 'YYTHD'
             $$=new (YYTHD->mem_root) Item_string("binary", 6, system_charset_info);
                               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12535:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:39:16: note: in expansion of macro 'Lex'
 #define Select Lex->current_select
                ^
sql_yacc.yy:12562:18: note: in expansion of macro 'Select'
             if (!Select->add_table_to_list(YYTHD, $1, $2, 0, lock_type))
                  ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12566:15: note: in expansion of macro 'Lex'
               Lex->protect_against_global_read_lock= TRUE;
               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12580:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12600:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12612:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12624:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12643:13: note: in expansion of macro 'Lex'
             Lex->expr_allows_subselect= TRUE;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12648:7: note: in expansion of macro 'Lex'
           handler_scan_function       { Lex->ident= null_lex_str; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12649:7: note: in expansion of macro 'Lex'
         | ident handler_rkey_function { Lex->ident= $1; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12653:7: note: in expansion of macro 'Lex'
           FIRST_SYM { Lex->ha_read_mode = RFIRST; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12654:7: note: in expansion of macro 'Lex'
         | NEXT_SYM  { Lex->ha_read_mode = RNEXT;  }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12658:7: note: in expansion of macro 'Lex'
           FIRST_SYM { Lex->ha_read_mode = RFIRST; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12659:7: note: in expansion of macro 'Lex'
         | NEXT_SYM  { Lex->ha_read_mode = RNEXT;  }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12660:7: note: in expansion of macro 'Lex'
         | PREV_SYM  { Lex->ha_read_mode = RPREV;  }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12661:7: note: in expansion of macro 'Lex'
         | LAST_SYM  { Lex->ha_read_mode = RLAST;  }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12664:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12692:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12698:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12709:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12720:13: note: in expansion of macro 'Lex'
             Lex->sql_command = SQLCOM_REVOKE_ALL;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12733:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12740:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12752:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12772:13: note: in expansion of macro 'Lex'
             Lex->all_privileges= 1; 
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12789:7: note: in expansion of macro 'Lex'
           { Lex->which_columns = SELECT_ACL;}
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12792:7: note: in expansion of macro 'Lex'
           { Lex->which_columns = INSERT_ACL;}
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12795:7: note: in expansion of macro 'Lex'
           { Lex->which_columns = UPDATE_ACL; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12798:7: note: in expansion of macro 'Lex'
           { Lex->which_columns = REFERENCES_ACL;}
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12800:7: note: in expansion of macro 'Lex'
         | DELETE_SYM              { Lex->grant |= DELETE_ACL;}
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12802:7: note: in expansion of macro 'Lex'
         | INDEX_SYM               { Lex->grant |= INDEX_ACL;}
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12803:7: note: in expansion of macro 'Lex'
         | ALTER                   { Lex->grant |= ALTER_ACL;}
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12804:7: note: in expansion of macro 'Lex'
         | CREATE                  { Lex->grant |= CREATE_ACL;}
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12805:7: note: in expansion of macro 'Lex'
         | DROP                    { Lex->grant |= DROP_ACL;}
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12806:7: note: in expansion of macro 'Lex'
         | EXECUTE_SYM             { Lex->grant |= EXECUTE_ACL;}
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12807:7: note: in expansion of macro 'Lex'
         | RELOAD                  { Lex->grant |= RELOAD_ACL;}
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12808:7: note: in expansion of macro 'Lex'
         | SHUTDOWN                { Lex->grant |= SHUTDOWN_ACL;}
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12809:7: note: in expansion of macro 'Lex'
         | PROCESS                 { Lex->grant |= PROCESS_ACL;}
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12810:7: note: in expansion of macro 'Lex'
         | FILE_SYM                { Lex->grant |= FILE_ACL;}
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12811:7: note: in expansion of macro 'Lex'
         | GRANT OPTION            { Lex->grant |= GRANT_ACL;}
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12812:7: note: in expansion of macro 'Lex'
         | SHOW DATABASES          { Lex->grant |= SHOW_DB_ACL;}
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12813:7: note: in expansion of macro 'Lex'
         | SUPER_SYM               { Lex->grant |= SUPER_ACL;}
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12814:7: note: in expansion of macro 'Lex'
         | CREATE TEMPORARY TABLES { Lex->grant |= CREATE_TMP_ACL;}
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12815:7: note: in expansion of macro 'Lex'
         | LOCK_SYM TABLES         { Lex->grant |= LOCK_TABLES_ACL; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12816:7: note: in expansion of macro 'Lex'
         | REPLICATION SLAVE       { Lex->grant |= REPL_SLAVE_ACL; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12817:7: note: in expansion of macro 'Lex'
         | REPLICATION CLIENT_SYM  { Lex->grant |= REPL_CLIENT_ACL; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12818:7: note: in expansion of macro 'Lex'
         | CREATE VIEW_SYM         { Lex->grant |= CREATE_VIEW_ACL; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12819:7: note: in expansion of macro 'Lex'
         | SHOW VIEW_SYM           { Lex->grant |= SHOW_VIEW_ACL; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12820:7: note: in expansion of macro 'Lex'
         | CREATE ROUTINE_SYM      { Lex->grant |= CREATE_PROC_ACL; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12821:7: note: in expansion of macro 'Lex'
         | ALTER ROUTINE_SYM       { Lex->grant |= ALTER_PROC_ACL; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12822:7: note: in expansion of macro 'Lex'
         | CREATE USER             { Lex->grant |= CREATE_USER_ACL; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12823:7: note: in expansion of macro 'Lex'
         | EVENT_SYM               { Lex->grant |= EVENT_ACL;}
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12824:7: note: in expansion of macro 'Lex'
         | TRIGGER_SYM             { Lex->grant |= TRIGGER_ACL; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12840:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12850:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12860:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12873:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12888:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12901:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12914:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12926:17: note: in expansion of macro 'Lex'
             if (Lex->users_list.push_back($1))
                 ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12931:17: note: in expansion of macro 'Lex'
             if (Lex->users_list.push_back($3))
                 ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12939:17: note: in expansion of macro 'Lex'
             if (Lex->users_list.push_back($1))
                 ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12944:17: note: in expansion of macro 'Lex'
             if (Lex->users_list.push_back($3))
                 ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:12955:19: note: in expansion of macro 'YYTHD'
               if (YYTHD->variables.old_passwords)
                   ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:12986:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:13000:36: note: in expansion of macro 'YYTHD'
             String *new_str = new (YYTHD->mem_root) String((const char*) $1.str,$1.length,system_charset_info);
                                    ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13029:13: note: in expansion of macro 'Lex'
             Lex->ssl_type=SSL_TYPE_SPECIFIED;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13033:13: note: in expansion of macro 'Lex'
             Lex->ssl_type=SSL_TYPE_ANY;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13037:13: note: in expansion of macro 'Lex'
             Lex->ssl_type=SSL_TYPE_X509;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13041:13: note: in expansion of macro 'Lex'
             Lex->ssl_type=SSL_TYPE_NONE;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13056:7: note: in expansion of macro 'Lex'
           GRANT OPTION { Lex->grant |= GRANT_ACL;}
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13059:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13065:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13071:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13077:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13086:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:13100:21: note: in expansion of macro 'YYTHD'
           { $$= (YYTHD->variables.completion_type == 1); }
                     ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:13107:21: note: in expansion of macro 'YYTHD'
           { $$= (YYTHD->variables.completion_type == 2); }
                     ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13120:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13130:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13138:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13147:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13156:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13175:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13209:13: note: in expansion of macro 'Lex'
             Lex->pop_context();
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:13221:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:13237:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13256:31: note: in expansion of macro 'Lex'
           $$= Lex->current_select->master_unit()->first_select();
                               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13273:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13294:22: note: in expansion of macro 'Lex'
             LEX *lex=Lex;
                      ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:13374:13: note: in expansion of macro 'YYTHD'
             YYTHD->lex->definer= 0;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:13381:13: note: in expansion of macro 'YYTHD'
             YYTHD->lex->definer= get_current_user(YYTHD, $3);
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13402:7: note: in expansion of macro 'Lex'
           { Lex->create_view_mode= VIEW_CREATE_OR_REPLACE; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13407:7: note: in expansion of macro 'Lex'
           { Lex->create_view_algorithm= VIEW_ALGORITHM_UNDEFINED; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13409:7: note: in expansion of macro 'Lex'
           { Lex->create_view_algorithm= VIEW_ALGORITHM_MERGE; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13411:7: note: in expansion of macro 'Lex'
           { Lex->create_view_algorithm= VIEW_ALGORITHM_TMPTABLE; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13416:7: note: in expansion of macro 'Lex'
           { Lex->create_view_suid= VIEW_SUID_DEFAULT; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13418:7: note: in expansion of macro 'Lex'
           { Lex->create_view_suid= VIEW_SUID_DEFINER; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13420:7: note: in expansion of macro 'Lex'
           { Lex->create_view_suid= VIEW_SUID_INVOKER; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:13426:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13445:15: note: in expansion of macro 'Lex'
               Lex->view_list.push_back((LEX_STRING*)
               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13450:15: note: in expansion of macro 'Lex'
               Lex->view_list.push_back((LEX_STRING*)
               ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13457:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:13466:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13487:7: note: in expansion of macro 'Lex'
           { Lex->create_view_check= VIEW_CHECK_NONE; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13489:7: note: in expansion of macro 'Lex'
           { Lex->create_view_check= VIEW_CHECK_CASCADED; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13491:7: note: in expansion of macro 'Lex'
           { Lex->create_view_check= VIEW_CHECK_CASCADED; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13493:7: note: in expansion of macro 'Lex'
           { Lex->create_view_check= VIEW_CHECK_LOCAL; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13511:13: note: in expansion of macro 'Lex'
             Lex->raw_trg_on_table_name_begin= YYLIP->get_tok_start();
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13517:13: note: in expansion of macro 'Lex'
             Lex->raw_trg_on_table_name_end= YYLIP->get_tok_start();
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:13522:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13552:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:13585:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:13603:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:13626:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13658:13: note: in expansion of macro 'Lex'
             Lex->sphead->m_param_end= YYLIP->get_cpp_tok_start();
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13662:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13670:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:13693:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:13702:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13758:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:33:18: note: in expansion of macro 'YYTHD'
 #define YYLIP (& YYTHD->m_parser_state->m_lip)
                  ^
sql_yacc.yy:13784:30: note: in expansion of macro 'YYLIP'
             tmp_param_begin= YYLIP->get_cpp_tok_start();
                              ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:13791:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:13799:23: note: in expansion of macro 'YYTHD'
             THD *thd= YYTHD;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13807:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13821:13: note: in expansion of macro 'Lex'
             Lex->sql_command = SQLCOM_XA_START;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13825:13: note: in expansion of macro 'Lex'
             Lex->sql_command = SQLCOM_XA_END;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13829:13: note: in expansion of macro 'Lex'
             Lex->sql_command = SQLCOM_XA_PREPARE;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13833:13: note: in expansion of macro 'Lex'
             Lex->sql_command = SQLCOM_XA_COMMIT;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13837:13: note: in expansion of macro 'Lex'
             Lex->sql_command = SQLCOM_XA_ROLLBACK;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13841:13: note: in expansion of macro 'Lex'
             Lex->sql_command = SQLCOM_XA_RECOVER;
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:87:5: note: in expansion of macro 'MYSQL_YYABORT'
     MYSQL_YYABORT;                      \
     ^
sql_yacc.yy:13848:13: note: in expansion of macro 'MYSQL_YYABORT_UNLESS'
             MYSQL_YYABORT_UNLESS($1->length() <= MAXGTRIDSIZE);
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13849:19: note: in expansion of macro 'Lex'
             if (!(Lex->xid=(XID *)YYTHD->alloc(sizeof(XID))))
                   ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13851:13: note: in expansion of macro 'Lex'
             Lex->xid->set(1L, $1->ptr(), $1->length(), 0, 0);
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:87:5: note: in expansion of macro 'MYSQL_YYABORT'
     MYSQL_YYABORT;                      \
     ^
sql_yacc.yy:13855:13: note: in expansion of macro 'MYSQL_YYABORT_UNLESS'
             MYSQL_YYABORT_UNLESS($1->length() <= MAXGTRIDSIZE && $3->length() <= MAXBQUALSIZE);
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13856:19: note: in expansion of macro 'Lex'
             if (!(Lex->xid=(XID *)YYTHD->alloc(sizeof(XID))))
                   ^
mv -f .deps/sql_profile.Tpo .deps/sql_profile.Po
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13858:13: note: in expansion of macro 'Lex'
             Lex->xid->set(1L, $1->ptr(), $1->length(), $3->ptr(), $3->length());
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:79:40: note: in expansion of macro 'YYTHD'
     LEX::cleanup_lex_after_parse_error(YYTHD);\
                                        ^
sql_yacc.yy:87:5: note: in expansion of macro 'MYSQL_YYABORT'
     MYSQL_YYABORT;                      \
     ^
sql_yacc.yy:13862:13: note: in expansion of macro 'MYSQL_YYABORT_UNLESS'
             MYSQL_YYABORT_UNLESS($1->length() <= MAXGTRIDSIZE && $3->length() <= MAXBQUALSIZE);
             ^
i686-pld-linux-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DPLUGINDIR="\"/usr/lib/mysql/plugin\"" -DHAVE_EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I.     -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -DYACC_HEXT_HH -fno-implicit-templates -fno-exceptions -fno-rtti -MT sql_error.o -MD -MP -MF .deps/sql_error.Tpo -c -o sql_error.o sql_error.cc
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13863:19: note: in expansion of macro 'Lex'
             if (!(Lex->xid=(XID *)YYTHD->alloc(sizeof(XID))))
                   ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13865:13: note: in expansion of macro 'Lex'
             Lex->xid->set($5, $1->ptr(), $1->length(), $3->ptr(), $3->length());
             ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13875:7: note: in expansion of macro 'Lex'
           /* nothing */ { Lex->xa_opt=XA_NONE;        }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13876:7: note: in expansion of macro 'Lex'
         | JOIN_SYM      { Lex->xa_opt=XA_JOIN;        }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13877:7: note: in expansion of macro 'Lex'
         | RESUME_SYM    { Lex->xa_opt=XA_RESUME;      }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13881:7: note: in expansion of macro 'Lex'
           /* nothing */     { Lex->xa_opt=XA_NONE;        }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13882:7: note: in expansion of macro 'Lex'
         | ONE_SYM PHASE_SYM { Lex->xa_opt=XA_ONE_PHASE;   }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13887:7: note: in expansion of macro 'Lex'
           { Lex->xa_opt=XA_NONE;        }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13889:7: note: in expansion of macro 'Lex'
           { Lex->xa_opt=XA_SUSPEND;     }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13895:7: note: in expansion of macro 'Lex'
         | FOR_SYM MIGRATE_SYM { Lex->xa_opt=XA_FOR_MIGRATE; }
       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13901:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
sql_yacc.yy:32:23: error: 'yythd' was not declared in this scope
 #define YYTHD ((THD *)yythd)
                       ^
sql_yacc.yy:38:14: note: in expansion of macro 'YYTHD'
 #define Lex (YYTHD->lex)
              ^
sql_yacc.yy:13911:23: note: in expansion of macro 'Lex'
             LEX *lex= Lex;
                       ^
make[3]: *** [sql_yacc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/sql_prepare.Tpo .deps/sql_prepare.Po
mv -f .deps/table.Tpo .deps/table.Po
mv -f .deps/sql_insert.Tpo .deps/sql_insert.Po
mv -f .deps/sql_base.Tpo .deps/sql_base.Po
mv -f .deps/sql_parse.Tpo .deps/sql_parse.Po
mv -f .deps/sql_error.Tpo .deps/sql_error.Po
mv -f .deps/set_var.Tpo .deps/set_var.Po
mv -f .deps/sql_select.Tpo .deps/sql_select.Po
make[3]: Leaving directory `/tmp/B.5b700164-414a-47a4-a756-25b75f86d08d/BUILD/Percona-Server-5.1.70-rel14.8/sql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/B.5b700164-414a-47a4-a756-25b75f86d08d/BUILD/Percona-Server-5.1.70-rel14.8/sql'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/B.5b700164-414a-47a4-a756-25b75f86d08d/BUILD/Percona-Server-5.1.70-rel14.8/sql'
make: *** [all-recursive] Error 1
error: Bad exit status from /tmp/B.5b700164-414a-47a4-a756-25b75f86d08d/BUILD/tmp/rpm-tmp.21470 (%build)


RPM build errors:
    Bad exit status from /tmp/B.5b700164-414a-47a4-a756-25b75f86d08d/BUILD/tmp/rpm-tmp.21470 (%build)
ended at: Fri Aug  9 11:02:53 2013, done in 0:05:13.057317
error: No files produced.
+ chmod -R u+rwX /tmp/B.5b700164-414a-47a4-a756-25b75f86d08d/BUILD
+ rm -rf /tmp/B.5b700164-414a-47a4-a756-25b75f86d08d/tmp /tmp/B.5b700164-414a-47a4-a756-25b75f86d08d/BUILD
+ rm -rf /tmp/B.5b700164-414a-47a4-a756-25b75f86d08d
Begin-PLD-Builder-Info
Build-Time: user:495.22s sys:34.88s real:328.25s (faults io:107 non-io:15675910)

End-PLD-Builder-Info
[Back to list of logs] [View rpm -qa of builder]