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.


}
void ClientBase::onProfileInfo(const ProfileInfo & profile_info)
{
    if (profile_info.hasAppliedLimit() && output_format)
        output_format->setRowsBeforeLimit(profile_info.getRowsBeforeLimit()
}
void ClientBase::initBlockOutputStream(const Block & block, ASTPtr parsed_query)
try
{
    if (!output_format)
    {
        /// Ignore all results when fuzzing as they can be huge.
        if (query_fuzzer_runs)
        {
            output_format = std::make_shared<NullOutputFormat>(block
            return;
        }
        WriteBuffer * out_buf = nullptr;
        String pager = config().getString("pager", ""
        if (!pager.empty())
        {
            signal(SIGPIPE, SIG_IGN
            ShellCommand::Config config(pager
            config.pipe_stdin_only = true;
            pager_cmd = ShellCommand::execute(config
            out_buf = &pager_cmd->in;
        }
        else
        {
            out_buf = &std_out;