diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-01-23 16:19:37 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-01-23 16:19:37 +0100 |
commit | 52051882002c1b88a427d50fb343a9ed3614ffe0 (patch) | |
tree | 6da97d315d36c2a8a557a3227612c3aaf9aabee1 /sql/sql_error.h | |
parent | e3f08e7e0bbc56cd401bb1031827571498c15904 (diff) | |
download | mariadb-git-52051882002c1b88a427d50fb343a9ed3614ffe0.tar.gz |
cleanup:
* remove unused mysql_option
* don't allocate 5GB of memory in the mtr tests
* restore the behavior in dynamic_column_offset_byte(), put the ifdef correctly
* prefer __attribute__((unused)) to #ifdef
* prefer UNINIT_VAR to LINT_INIT
* make most Warning_info users blissfully unaware of the postponed initialization
* use my_offsetof instead of offsetof where the compiler thinks the latter is incorrect
Diffstat (limited to 'sql/sql_error.h')
-rw-r--r-- | sql/sql_error.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_error.h b/sql/sql_error.h index 17ec3aa7b56..f018387eb3b 100644 --- a/sql/sql_error.h +++ b/sql/sql_error.h @@ -363,7 +363,7 @@ private: public: Warning_info(ulonglong warn_id_arg, bool allow_unlimited_warnings, - bool initialize); + bool initialize=true); ~Warning_info(); /* Allocate memory for structures */ |