Skip to content
Permalink
Browse files

fixed #973 empty select list at SphinxQL query log

  • Loading branch information...
tomatolog committed Jul 25, 2019
1 parent 771b101 commit 553ca73ca111f28e0888d59cd48b0d6df181ecd6
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/searchd.cpp
@@ -4382,7 +4382,7 @@ void FormatSphinxql ( const CSphQuery & q, int iCompactIN, QuotationEscapedBuild
if ( q.m_bHasOuter )
tBuf += "SELECT * FROM (";

UnBackquote_fn tUnquoted ( q.m_sSelect.cstr() );
UnBackquote_fn tUnquoted ( q.m_sSelect.IsEmpty() ? "*" : q.m_sSelect.cstr() );
tBuf.Appendf ( "SELECT %s FROM %s", tUnquoted.cstr(), q.m_sIndexes.cstr() );

// WHERE clause

0 comments on commit 553ca73

Please sign in to comment.
You can’t perform that action at this time.