summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Black <daniel@mariadb.org>2022-09-21 11:10:05 +1000
committerSergei Golubchik <serg@mariadb.org>2023-02-10 10:45:25 +0100
commitb30b040b733ff2045ffcd7bdd44f608c7f4912b5 (patch)
treed23e6e1aaa027fe26068e9a87994316d806c2b23 /include
parentce4a289f1c367987977f1a02bbb8d8b8e8e6bb53 (diff)
downloadmariadb-git-b30b040b733ff2045ffcd7bdd44f608c7f4912b5.tar.gz
MDEV-29582 deprecate mysql* names
Eventually mysql symlinks will go away, as MariaDB and MySQL keep diverging and we do not want to make it impossible to install MariaDB and MySQL side-by-side when users want it. It also useful if people start using MariaDB tools with MariaDB. If the exe doesn't begine with "mariadb" or is a symlink, print a warning to use the resolved name. In my_readlink, add check on my_thread_var as its used by comp_err and other build utils that also use my_init.
Diffstat (limited to 'include')
-rw-r--r--include/mysys_err.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/mysys_err.h b/include/mysys_err.h
index e0e97d0284a..d115b5ddb70 100644
--- a/include/mysys_err.h
+++ b/include/mysys_err.h
@@ -73,7 +73,8 @@ extern const char *globerrs[]; /* my_error_messages is here */
#define EE_PERM_LOCK_MEMORY 37
#define EE_MEMCNTL 38
#define EE_DUPLICATE_CHARSET 39
-#define EE_ERROR_LAST 39 /* Copy last error nr */
+#define EE_NAME_DEPRECATED 40
+#define EE_ERROR_LAST 40 /* Copy last error nr */
/* Add error numbers before EE_ERROR_LAST and change it accordingly. */