Portability fix.

sql/sql_lex.h:
  LEX::requires_prelocking():
    Portability fix. Seems that VC++ does not understand implicit pointer
    to bool conversion.
This commit is contained in:
unknown 2005-03-10 00:52:47 +03:00
parent c9f3e0f40c
commit fad705db81

View file

@ -860,7 +860,7 @@ typedef struct st_lex
inline bool requires_prelocking()
{
return query_tables_own_last;
return test(query_tables_own_last);
}
inline void mark_as_requiring_prelocking(TABLE_LIST **tables_own_last)
{