diff options
author | stuconnolly <stuart02@gmail.com> | 2009-03-01 13:39:43 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2009-03-01 13:39:43 +0000 |
commit | 33bf02039fc6902fa1951fef690fc0ee3b8d5cf9 (patch) | |
tree | 56c48ddb687b1c3c9a43c9719f0dedcb69dc6b73 /Source/MainController.m | |
parent | 8441dab08d995615add28fecb06e07719edbe6a6 (diff) | |
download | sequelpro-33bf02039fc6902fa1951fef690fc0ee3b8d5cf9.tar.gz sequelpro-33bf02039fc6902fa1951fef690fc0ee3b8d5cf9.tar.bz2 sequelpro-33bf02039fc6902fa1951fef690fc0ee3b8d5cf9.zip |
Fix an issue where by selecting to view the content of a table without the option of fetching the accurate row count and limiting the result, results in the displayed row count being zero. Caused by fetching the count as the number of items in the fullResult array which hadn't been populated yet. If we are displaying the entire contents of the table set the count to the count of the fullResult array rather than relying on the numRows variable as the array is now populated.
Diffstat (limited to 'Source/MainController.m')
0 files changed, 0 insertions, 0 deletions