QCharts/CoreBundle/Repository/DynamicRepository.php
public function isMaxExecutionSet()
    {
        $results =  $this->execute(DatabaseQueries::SHOW_SESSION_EXECUTION);

        if (!is_null($results) && count($results) <= 0)
        {
            return false;
        }

        foreach ($results as $row)
        {
            if ($row["Value"] == 0)
            {
                // return the name of the variable evaluated
                return $row["Variable_name"];
            }

            $millisecondsLimit = $row["Value"];
            return $millisecondsLimit / 1000; // return only seconds
        }

        return false;
    }
public function isMaxExecutionSet()
    {
        $results =  $this->execute(DatabaseQueries::SHOW_SESSION_EXECUTION);

        if (!is_null($results) && count($results) <= 0)
        {
            return false;
        }

        foreach ($results as $row)
        {
            if ($row["Value"] == 0)
            {
                // return the name of the variable evaluated
                return $row["Variable_name"];
            }

            $millisecondsLimit = $row["Value"];
            return $millisecondsLimit / 1000; // return only seconds
        }

        return false;
    }
Returns FALSE if the Connection returned no variable regarding to the time limit
Returns NUMBER if the Connection encountered a variable regarding to the time limit
in seconds
Returns STRING if the Connection encountered a variable regarding to the time limit but
the value is 0 (hence not set)

http://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_max_execution_time

@return bool|number|string