MCPcopy Create free account
hub / github.com/MariaDB/server / shift

Method shift

sql/opt_hints_parser.h:227–233  ·  view source on GitHub ↗

Return the current look ahead token and scan the next one */

Source from the content-addressed store, hash-verified

225 Return the current look ahead token and scan the next one
226 */
227 Token shift()
228 {
229 DBUG_ASSERT(!is_error());
230 const Token res= m_look_ahead_token;
231 m_look_ahead_token= get_token(m_cs);
232 return res;
233 }
234
235public:
236 /*

Callers

nothing calls this directly

Calls 1

get_tokenFunction · 0.85

Tested by

no test coverage detected