mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
sql_prepare.cc:
VC6 can't handle initializing const in declaration
This commit is contained in:
@ -118,9 +118,18 @@ public:
|
|||||||
bool deallocate();
|
bool deallocate();
|
||||||
|
|
||||||
/* Possible values of flags */
|
/* 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;
|
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
|
Implementation
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
Reference in New Issue
Block a user