mirror of
https://github.com/MariaDB/server.git
synced 2026-10-23 18:49:29 +03:00
valgrind reported use of an un-initialized value, when trying to write analyzed plan to json. Instead of fetching c_str() from the string object and passing it to the writer object's add_string() method, one could use an overridden add_string() that accepts a different string object. This would avoid the valgrind warnings.
79 KiB
79 KiB