Commit fad705db authored by unknown's avatar unknown

Portability fix.


sql/sql_lex.h:
  LEX::requires_prelocking():
    Portability fix. Seems that VC++ does not understand implicit pointer
    to bool conversion.
parent c9f3e0f4
......@@ -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)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment