Please answer the questions below, it helps us to keep track of the issue. Please do not ignore it or your issue will be closed.
Which driver are you using and version of it (Ex: PostgreSQL 10.0):
MariaDB 10.5.22
Which TablePlus build number are you using (the number on the welcome screen, Ex: build 81):
550
The steps to reproduce this issue:
Create a Database which has a FUNCTION
Hit CMD&A to select all tables AND functions
File -> Export -> SQL (with table structure and content)
re-import the generated sql-file into a new database with File -> Import -> From SQL Dump
The following Error is shown:
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,N...' at line 1
This is caused because a line at the very end of the file:
Please answer the questions below, it helps us to keep track of the issue. Please do not ignore it or your issue will be closed.
Which driver are you using and version of it (Ex: PostgreSQL 10.0): MariaDB 10.5.22
Which TablePlus build number are you using (the number on the welcome screen, Ex: build 81): 550
The steps to reproduce this issue:
This is caused because a line at the very end of the file: