system/Database/MySQLi/Connection.php
protected function _listTables(bool $prefixLimit = false): string
	{
		$sql = 'SHOW TABLES FROM ' . $this->escapeIdentifiers($this->database);

		if ($prefixLimit !== false && $this->DBPrefix !== '')
		{
			return $sql . " LIKE '" . $this->escapeLikeString($this->DBPrefix) . "%'";
		}

		return $sql;
	}
protected function _listTables(bool $prefixLimit = false): string
	{
		$sql = 'SHOW TABLES FROM ' . $this->escapeIdentifiers($this->database);

		if ($prefixLimit !== false && $this->DBPrefix !== '')
		{
			return $sql . " LIKE '" . $this->escapeLikeString($this->DBPrefix) . "%'";
		}

		return $sql;
	}
Generates the SQL for listing tables in a platform-dependent manner.

@param boolean $prefixLimit

@return string