The query gives the following error:

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'performance_schema.session_variables' doesn't exist: SHOW VARIABLES WHERE variable_name = :name; Array ( [:name] => max_allowed_packet ) in views_data_export_requirements() (regel 188 van [...]/views_data_export/views_data_export.install).

Comments

Sneakyvv created an issue. See original summary.

Sneakyvv’s picture

Status: Active » Needs review
StatusFileSize
new909 bytes

Patch attached which catches the error, since the only purpose of the query is to warn the user about the max_allowed_packet.

krisahil’s picture

Status: Needs review » Reviewed & tested by the community

I verified this fixed the issue (I saw it on MySQL 5.7.13).

steven jones’s picture

Status: Reviewed & tested by the community » Fixed

Thanks very much for the patch and the review!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.