diff options
author | Sergei Golubchik <serg@mariadb.org> | 2019-05-11 16:56:41 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2019-05-18 20:34:03 +0200 |
commit | 8feb78ef53d254539caa0ede374acf2d4db13d2b (patch) | |
tree | 9009f201959c35f60e420b44eb6a408227b68502 /sql/table_cache.cc | |
parent | d199591cf2aad9b056a13fe03d63031971155adb (diff) | |
download | mariadb-git-8feb78ef53d254539caa0ede374acf2d4db13d2b.tar.gz |
cleanup: replace a magic constant with a define
Diffstat (limited to 'sql/table_cache.cc')
-rw-r--r-- | sql/table_cache.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/table_cache.cc b/sql/table_cache.cc index 7a555d53558..5631232e066 100644 --- a/sql/table_cache.cc +++ b/sql/table_cache.cc @@ -945,7 +945,7 @@ end: table existed? Let's return an invalid pointer here to catch dereferencing attempts. */ - share= (TABLE_SHARE*) 1; + share= UNUSABLE_TABLE_SHARE; } DBUG_RETURN(share); |