mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
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:
parent
c9f3e0f40c
commit
fad705db81
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue