Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
5.5.38, 10.0.11
-
None
Description
Compiling MariaDB with ASAN gives:
cmake -DWITH_ASAN=ON -DCMAKE_BUILD_TYPE=Debug -DMYSQL_MAINTAINER_MODE=ON
[ 88%] Building CXX object storage/tokudb/CMakeFiles/tokudb.dir/ha_tokudb.cc.o
|
In file included from /home/svoj/devel/maria/10.0/storage/tokudb/ha_tokudb.cc:8287:0:
|
/home/svoj/devel/maria/10.0/storage/tokudb/hatoku_hton.cc: In function ‘int tokudb_discover3(handlerton*, THD*, const char*, const char*, char*, uchar**, size_t*)’:
|
/home/svoj/devel/maria/10.0/storage/tokudb/hatoku_hton.cc:1021:5: warning: ‘do_commit’ may be used uninitialized in this function [-Wmaybe-uninitialized]
|
if (do_commit && txn) {
|
^
|