aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CustomQuery.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-01-30 21:41:18 +0000
committerrowanbeentje <rowan@beent.je>2010-01-30 21:41:18 +0000
commita776a6437e40837cc2e20a9231e3eb8ef1a73ddf (patch)
treec82215d051a4529a2608a2880526696ba041c263 /Source/CustomQuery.m
parent12b199d998018affa4e358b0d4e26f7cd878f8cd (diff)
downloadsequelpro-a776a6437e40837cc2e20a9231e3eb8ef1a73ddf.tar.gz
sequelpro-a776a6437e40837cc2e20a9231e3eb8ef1a73ddf.tar.bz2
sequelpro-a776a6437e40837cc2e20a9231e3eb8ef1a73ddf.zip
Rework CMCopyTable copy functionality and related code:
- Reverse the effects of the r1664/r1690 combination, restoring the original link from CMCopyTable to the underlying data source - Adapt the code to retrieve information from the new SPDataStorage; update SPDataStorage as necessary if underlying data changes - Refactor and speed up various checks and loops for speed and logic improvements - Ensure the binary-encoded TEXT data is hex encoded rather than retrieved as "<123ABC 123ABC...>" NSData representations - Fix some memory leaks This resolves Issue #533 and the original "Copy as SQL" issue
Diffstat (limited to 'Source/CustomQuery.m')
-rw-r--r--Source/CustomQuery.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CustomQuery.m b/Source/CustomQuery.m
index 2a93f425..1bc06e48 100644
--- a/Source/CustomQuery.m
+++ b/Source/CustomQuery.m
@@ -854,7 +854,7 @@
}
// Init copyTable with necessary information for copying selected rows as SQL INSERT
- [customQueryView setTableInstance:self withColumns:cqColumnDefinition withTableName:resultTableName withConnection:mySQLConnection];
+ [customQueryView setTableInstance:self withTableData:resultData withColumns:cqColumnDefinition withTableName:resultTableName withConnection:mySQLConnection];
//query finished
[[NSNotificationCenter defaultCenter] postNotificationName:@"SMySQLQueryHasBeenPerformed" object:tableDocumentInstance];