summaryrefslogtreecommitdiff
path: root/storage/innobase/fts/fts0blex.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/fts/fts0blex.cc')
-rw-r--r--storage/innobase/fts/fts0blex.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/fts/fts0blex.cc b/storage/innobase/fts/fts0blex.cc
index 2f66e9740aa..6a2b42025a0 100644
--- a/storage/innobase/fts/fts0blex.cc
+++ b/storage/innobase/fts/fts0blex.cc
@@ -478,7 +478,7 @@ struct yy_buffer_state
*/
#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
- : NULL)
+ : 0)
/* Same as previous macro, but useful when we know that the buffer stack is not
* NULL or when we need an lvalue. For internal use only.
*/