From f880dea7369cb6ce57c552cd359f871bf7e2e414 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Fri, 5 Feb 2010 01:51:17 +0000 Subject: - Rework SPSQLParser, extending DELIMITER support into all the original functions (off by default). Remove the forked "...Sql..." functions, as they're now duplicates, and switch CustomQuery to using the original methods. - TableDump imports can now process DELIMITERs correctly as a result. - Alter the TableDump display of tables etc to use TablesList as the source of information, and used cached lists where appropriate for a small speedup. Also means we gain consistent sorting. - Display procedures and functions in the toggleable list when exporting as SQL - Tweak the procedure and function export to only export selected items, and also to respect the "export drop syntax" and "export create syntax" checkboxes - Fix a crash when removing items from the TablesList resulted in an errorneous selection by deselecting all rows before deleting (and preemptively applying the same fix to TableContent) --- Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Frameworks') diff --git a/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m b/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m index d112189f..1911e1e1 100644 --- a/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m +++ b/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m @@ -303,7 +303,7 @@ static BOOL sTruncateLongFieldInLogs = YES; my_bool trueBool = TRUE; mysql_options(mConnection, MYSQL_OPT_RECONNECT, &trueBool); } - + // Set the host as appropriate if (!connectionHost || ![connectionHost length]) { theHost = NULL; -- cgit v1.2.3