1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

10.0-base merge

This commit is contained in:
Sergei Golubchik
2013-01-31 09:48:19 +01:00
531 changed files with 47557 additions and 6579 deletions

View File

@ -367,15 +367,21 @@ class Warning_info
/** Indicates if push_warning() allows unlimited number of warnings. */
bool m_allow_unlimited_warnings;
bool initialized; /* Set to 1 if init() has been called */
private:
Warning_info(const Warning_info &rhs); /* Not implemented */
Warning_info& operator=(const Warning_info &rhs); /* Not implemented */
public:
Warning_info(ulonglong warn_id_arg, bool allow_unlimited_warnings);
Warning_info(ulonglong warn_id_arg, bool allow_unlimited_warnings,
bool initialize=true);
~Warning_info();
/* Allocate memory for structures */
void init();
void free_memory();
/**
Reset the warning information. Clear all warnings,
the number of warnings, reset current row counter