• Max Kellermann's avatar
    sql/handler: referenced_by_foreign_key() returns bool · 45298b73
    Max Kellermann authored
    The method was declared to return an unsigned integer, but it is
    really a boolean (and used as such by all callers).
    
    A secondary change is the addition of "const" and "noexcept" to this
    method.
    
    In ha_mroonga.cpp, I also added "inline" to the two helper methods of
    referenced_by_foreign_key().  This allows the compiler to flatten the
    method.
    45298b73
ha_mroonga.hpp 54.6 KB