diff options
author | unknown <thek@adventure.(none)> | 2008-02-01 14:10:46 +0100 |
---|---|---|
committer | unknown <thek@adventure.(none)> | 2008-02-01 14:10:46 +0100 |
commit | caf488fef5c83f23c57079bb705cf54fab0e7c71 (patch) | |
tree | be4662964632101146be7c8762f70e9afe54e8db /os2 | |
parent | 508cc5573e50701e2ce56284e3484aa651abfa3c (diff) | |
download | mariadb-git-caf488fef5c83f23c57079bb705cf54fab0e7c71.tar.gz |
Bug#33201 Crash occurs when granting update privilege on one column of a view
When issuing a column level grant on a table which require pre-locking the
server crashed.
The reason behind the crash was that data structures used by the lock api
wasn't properly reinitialized in the case of a column level grant.
mysql-test/r/grant.result:
* Added test case
mysql-test/t/grant.test:
* Added test case
sql/sql_acl.cc:
* The lock api is dending on the thd->lex object and this variable needs to
be re-initialized when opened with a new set of tables than specified in the
original statement.
Diffstat (limited to 'os2')
0 files changed, 0 insertions, 0 deletions