diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-04-10 18:50:23 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-04-10 18:50:23 +0000 |
commit | 752fc266bb011ec18406311f2e6dc64b9612d333 (patch) | |
tree | afa570b61b4100490db1fc00ba56aaed3a2db122 /Source/TableDump.m | |
parent | 1bf7220ca576a3c09b9d9e53e24e0c6f30f15850 (diff) | |
download | sequelpro-752fc266bb011ec18406311f2e6dc64b9612d333.tar.gz sequelpro-752fc266bb011ec18406311f2e6dc64b9612d333.tar.bz2 sequelpro-752fc266bb011ec18406311f2e6dc64b9612d333.zip |
• Import from Clipboard
- forgotten to remove the temp file after importSQL successfully
Diffstat (limited to 'Source/TableDump.m')
-rw-r--r-- | Source/TableDump.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/TableDump.m b/Source/TableDump.m index 3021f3c4..983d7b6d 100644 --- a/Source/TableDump.m +++ b/Source/TableDump.m @@ -791,6 +791,8 @@ [sqlDataBuffer release]; [importPool drain]; [tableDocumentInstance setQueryMode:SPInterfaceQueryMode]; + if([filename hasPrefix:SPImportClipboardTempFileNamePrefix]) + [[NSFileManager defaultManager] removeItemAtPath:filename error:nil]; // Close progress sheet [self closeAndStopProgressSheet]; |