• thek@adventure.(none)'s avatar
    Bug #27440 read_only allows create and drop database · 392cc185
    thek@adventure.(none) authored
    When read_only option was enabled, a user without SUPER privilege could
    perform CREATE DATABASE and DROP DATABASE operations.
    
    This patch adds a check to make sure this isn't possible. It also attempts to 
    simplify the logic used to determine if relevant tables are updated,
    making it more human readable.
    392cc185
sql_parse.cc 232 KB