1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Fix for BUG#13037: undefined variable in IF cause erroneous error-message.

This commit is contained in:
anozdrin@mysql.com
2005-10-25 13:02:48 +04:00
parent d24027fa79
commit 831de41ca6
5 changed files with 103 additions and 4 deletions

View File

@ -1109,6 +1109,14 @@ class THD :public Statement,
public Open_tables_state
{
public:
/*
Constant for THD::where initialization in the beginning of every query.
It's needed because we do not save/restore THD::where normally during
primary (non subselect) query execution.
*/
static const char * const DEFAULT_WHERE;
#ifdef EMBEDDED_LIBRARY
struct st_mysql *mysql;
struct st_mysql_data *data;