mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
Push history-limiting code until after the code that adds new
history entries. Lazy deletion isn't smart or useful here. Backport from 5.1 .
This commit is contained in:
@@ -162,6 +162,7 @@ extern char *my_strdup_with_length(const char *from, uint length,
|
||||
#define ORIG_CALLER_INFO /* nothing */
|
||||
#define TRASH(A,B) /* nothing */
|
||||
#endif
|
||||
#define my_strndup(A,B,C) my_strdup_with_length((A), (B), (C))
|
||||
|
||||
#ifdef HAVE_LARGE_PAGES
|
||||
extern uint my_get_large_page_size(void);
|
||||
|
Reference in New Issue
Block a user