aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableDump.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-04-23 14:38:47 +0000
committerBibiko <bibiko@eva.mpg.de>2009-04-23 14:38:47 +0000
commita16c4f07fb362c3dac9af24f8df8765ca1e61900 (patch)
treea25ae3ee0f0e832557c926bc6878614930ed3fac /Source/TableDump.m
parent985d03cb9980bc92078af8c6a6815efdeefd1377 (diff)
downloadsequelpro-a16c4f07fb362c3dac9af24f8df8765ca1e61900.tar.gz
sequelpro-a16c4f07fb362c3dac9af24f8df8765ca1e61900.tar.bz2
sequelpro-a16c4f07fb362c3dac9af24f8df8765ca1e61900.zip
• ADDED createViewSyntaxPrettifier method to a NSString to make the syntax a bit more readable
- used for show/copy create view syntax as well as for a MySQL dump
Diffstat (limited to 'Source/TableDump.m')
-rw-r--r--Source/TableDump.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/TableDump.m b/Source/TableDump.m
index 03e98bd6..e44e01ae 100644
--- a/Source/TableDump.m
+++ b/Source/TableDump.m
@@ -882,7 +882,7 @@
if ( [queryResult numOfRows] ) {
tableDetails = [[NSDictionary alloc] initWithDictionary:[queryResult fetchRowAsDictionary]];
if ([tableDetails objectForKey:@"Create View"]) {
- createTableSyntax = [[[tableDetails objectForKey:@"Create View"] copy] autorelease];
+ createTableSyntax = [[[[tableDetails objectForKey:@"Create View"] copy] autorelease] createViewSyntaxPrettifier];
tableType = SP_TABLETYPE_VIEW;
} else {
createTableSyntax = [[[tableDetails objectForKey:@"Create Table"] copy] autorelease];