Commit ffc213a1 authored by kent@mysql.com's avatar kent@mysql.com

sql_prepare.cc:

  VC6 can't handle initializing const in declaration
parent 8369e7de
......@@ -118,9 +118,18 @@ class Prepared_statement: public Statement
bool deallocate();
/* Possible values of flags */
#if defined(_MSC_VER) && _MSC_VER < 1300
static const int IS_IN_USE;
#else
static const int IS_IN_USE= 1;
#endif
};
/* VC6 can't handle initializing in declaration */
#if defined(_MSC_VER) && _MSC_VER < 1300
const int Prepared_statement::IS_IN_USE= 1;
#endif
/******************************************************************************
Implementation
******************************************************************************/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment