aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableDump.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-09-11 08:14:52 +0000
committerBibiko <bibiko@eva.mpg.de>2009-09-11 08:14:52 +0000
commit9c4e9b6f6e06f0631183b313351403b133fb4188 (patch)
tree2db57ed7ef6abeb77ba1ab02ca694943bc05e2bf /Source/TableDump.m
parent82ad4c2dde2847b9450e6c50773a34b9d7e7bb2d (diff)
downloadsequelpro-9c4e9b6f6e06f0631183b313351403b133fb4188.tar.gz
sequelpro-9c4e9b6f6e06f0631183b313351403b133fb4188.tar.bz2
sequelpro-9c4e9b6f6e06f0631183b313351403b133fb4188.zip
• fixed bug for exporting tables as XML: now the very last row will be written to file [ this fixes issue 404 ]
• FieldEditorSheet: if string cell content is "NULL" select the entire string for convenience
Diffstat (limited to 'Source/TableDump.m')
-rw-r--r--Source/TableDump.m4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/TableDump.m b/Source/TableDump.m
index a9b1be37..eaa86510 100644
--- a/Source/TableDump.m
+++ b/Source/TableDump.m
@@ -1985,7 +1985,9 @@
}
// Walk through the array, contructing the XML string.
- for ( i = 1 ; i < totalRows ; i++ ) {
+ // Note: the XML array starts at index 1 thus we have to iterate
+ // to i < totalRows + 1 in order to output the very last row.
+ for ( i = 1 ; i < totalRows + 1 ; i++ ) {
// Update the progress bar
if (totalRows) [singleProgressBar setDoubleValue:((i+1)*100/totalRows)];