diff options
author | avenjamin <avenjamin@gmail.com> | 2009-11-10 00:47:03 +0000 |
---|---|---|
committer | avenjamin <avenjamin@gmail.com> | 2009-11-10 00:47:03 +0000 |
commit | 80f45c3d427e4c5fb8fca8e8a88dde234766cd32 (patch) | |
tree | 84ca8040d4b9f1fc7a4594b93e893a705fabb137 /Source/TableDump.m | |
parent | 1f61c15c5b5cc6955533865c811775af3bd58e3e (diff) | |
download | sequelpro-80f45c3d427e4c5fb8fca8e8a88dde234766cd32.tar.gz sequelpro-80f45c3d427e4c5fb8fca8e8a88dde234766cd32.tar.bz2 sequelpro-80f45c3d427e4c5fb8fca8e8a88dde234766cd32.zip |
Fix syntax error in exported ER dot files. Issue #454
Diffstat (limited to 'Source/TableDump.m')
-rw-r--r-- | Source/TableDump.m | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/TableDump.m b/Source/TableDump.m index 99311518..f073f068 100644 --- a/Source/TableDump.m +++ b/Source/TableDump.m @@ -1596,6 +1596,8 @@ /* Dump the selected tables to a file handle in Graphviz dot format. + See here for language syntax: http://www.graphviz.org/doc/info/lang.html + (Not the easiest to decode) */ - (BOOL)dumpSchemaAsDotToFileHandle:(NSFileHandle *)fileHandle { @@ -1664,7 +1666,7 @@ } [metaString setString:[NSString stringWithFormat:@"\tsubgraph \"table_%@\" {\n", tableName]]; - [metaString appendString:@"\t\tnode = [ shape = \"plaintext\" ];\n"]; + [metaString appendString:@"\t\tnode [ shape = \"plaintext\" ];\n"]; [metaString appendString:[NSString stringWithFormat:@"\t\t\"%@\" [ label=<\n", tableName]]; [metaString appendString:@"\t\t\t<TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLBORDER=\"1\">\n"]; [metaString appendString:[NSString stringWithFormat:@"\t\t\t<TR><TD COLSPAN=\"3\" BGCOLOR=\"%@\">%@</TD></TR>\n", hdrColor, tableName]]; |