Currently executing queries like: 

```
SELECT * FROM system.tables LIMIT 10;\G 
SELECT * FROM system.tables LIMIT 10\G;
```

Ends up with a syntax error.

From the documentation, it should not be an error:

> You can specify \G instead of or after the semicolon.


logs_out_stream->writeProfileEvents(block
                logs_out_stream->flush(
                profile_events.last_block = {};
            }
            else
            {
                incrementProfileEventsBlock(profile_events.last_block, block
            }
        }
        profile_events.watch.restart(
    }
}
/// Flush all buffers.
void ClientBase::resetOutput()
{
    output_format.reset(
    logs_out_stream.reset(
    if (pager_cmd)
    {
        pager_cmd->in.close(
        pager_cmd->wait(
    }
    pager_cmd = nullptr;
    if (out_file_buf)
    {
        out_file_buf->next(
        out_file_buf.reset(
    }
    if (out_logs_buf)
    {