summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
authorunknown <dlenev@brandersnatch.localdomain>2005-03-10 00:52:47 +0300
committerunknown <dlenev@brandersnatch.localdomain>2005-03-10 00:52:47 +0300
commitfad705db81aa929346a9b84a4111477397ee10ec (patch)
treedec6afe04641f22758205bea3d8f34cc131284f6 /sql/sql_lex.h
parentc9f3e0f40cfe978bdb4ac2c637f22c62a759c444 (diff)
downloadmariadb-git-fad705db81aa929346a9b84a4111477397ee10ec.tar.gz
Portability fix.
sql/sql_lex.h: LEX::requires_prelocking(): Portability fix. Seems that VC++ does not understand implicit pointer to bool conversion.
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r--sql/sql_lex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index 3588f376d2f..4cbf9f802d0 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -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)
{