diff options
author | Sergey Glukhov <Sergey.Glukhov@sun.com> | 2008-10-27 14:22:38 +0400 |
---|---|---|
committer | Sergey Glukhov <Sergey.Glukhov@sun.com> | 2008-10-27 14:22:38 +0400 |
commit | 380f1a84403a88b4b45f3d14fe98882a04c4773d (patch) | |
tree | 5921b8414b255d11ccfc72f51b3431b7587460ab /mysql-test/t/innodb_data_file_path_basic.test | |
parent | eafe728fc53cac1fb5e80f0f54e040e395010d7e (diff) | |
download | mariadb-git-380f1a84403a88b4b45f3d14fe98882a04c4773d.tar.gz |
Bug#39040 valgrind errors/crash when creating views with binlog logging enabled
A string buffers which were included in the 'view' data structure
were allocated on the stack, causing an invalid pointer when used
after the function returned.
The fix: use copy of values for view->md5 & view->queries
mysql-test/r/view.result:
test result
mysql-test/t/view.test:
test case
sql/sql_view.cc:
A string buffers which were included in the 'view' data structure
were allocated on the stack, causing an invalid pointer when used
after the function returned.
The fix: use copy of values for view->md5 & view->queries
Diffstat (limited to 'mysql-test/t/innodb_data_file_path_basic.test')
0 files changed, 0 insertions, 0 deletions