diff options
author | Luis Soares <luis.soares@sun.com> | 2009-09-30 12:48:22 +0100 |
---|---|---|
committer | Luis Soares <luis.soares@sun.com> | 2009-09-30 12:48:22 +0100 |
commit | 2f51f7582599d20e1bab25d5dd4bd453ad009568 (patch) | |
tree | dd521c6232dfcb48f1f99b68bfd43f351469ad62 /sql/log.h | |
parent | 3ab71376ceb2d5da81d3b6fb092630d0b0929d76 (diff) | |
parent | ba98c882728a6ea3f03566f3548c7c40a21567b3 (diff) | |
download | mariadb-git-2f51f7582599d20e1bab25d5dd4bd453ad009568.tar.gz |
Automerge: mysql-5.1-rep+2 (local backports) --> mysql-5.1-rep+2 (local latest)
Diffstat (limited to 'sql/log.h')
-rw-r--r-- | sql/log.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sql/log.h b/sql/log.h index 53943b649ee..2811ad593d9 100644 --- a/sql/log.h +++ b/sql/log.h @@ -121,6 +121,19 @@ extern TC_LOG_DUMMY tc_log_dummy; #define LOG_CLOSE_TO_BE_OPENED 2 #define LOG_CLOSE_STOP_EVENT 4 +/* + Maximum unique log filename extension. + Note: setting to 0x7FFFFFFF due to atol windows + overflow/truncate. + */ +#define MAX_LOG_UNIQUE_FN_EXT 0x7FFFFFFF + +/* + Number of warnings that will be printed to error log + before extension number is exhausted. +*/ +#define LOG_WARN_UNIQUE_FN_EXT_LEFT 1000 + class Relay_log_info; typedef struct st_log_info |