aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableCopy.h
diff options
context:
space:
mode:
authorStuart Connolly <stuart02@gmail.com>2017-03-23 18:26:02 +0000
committerStuart Connolly <stuart02@gmail.com>2017-03-23 18:26:02 +0000
commitd37a2f490a271b6170a5c2978f505fb403d1ad64 (patch)
tree4b817ac830d64aeeab9cb4c2d80afea671b7a426 /Source/SPTableCopy.h
parentbab93f8ce74a6644c9a3d8a50fa26230f127c550 (diff)
downloadsequelpro-d37a2f490a271b6170a5c2978f505fb403d1ad64.tar.gz
sequelpro-d37a2f490a271b6170a5c2978f505fb403d1ad64.tar.bz2
sequelpro-d37a2f490a271b6170a5c2978f505fb403d1ad64.zip
- #1235: Prevent renaming a database which contains any non-table objects as it's currently not supported.
- #1235: Inform the user when duplicating a database than any non-table objects won't be copied. - Add missing high resolution images to project. - Fix a potential memory leak inside SPCreateDatabaseInfo
Diffstat (limited to 'Source/SPTableCopy.h')
-rw-r--r--Source/SPTableCopy.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/SPTableCopy.h b/Source/SPTableCopy.h
index c0d87929..eba968c6 100644
--- a/Source/SPTableCopy.h
+++ b/Source/SPTableCopy.h
@@ -41,6 +41,7 @@
* @param name name of the table in the source database
* @param sourceDB name of the source database
* @param targetDB name of the target database
+ *
* @return YES on success, NO on any kind of error (unspecified)
*/
- (BOOL)copyTable:(NSString *)name from:(NSString *)sourceDB to:(NSString *)targetDB;
@@ -61,6 +62,7 @@
* @param sourceDB name of the source database
* @param targetDB name of the target database
* @param copyWithContent whether to copy the content too, otherwise only structure
+ *
* @return YES on success, NO on any kind of error (unspecified)
*/
- (BOOL)copyTable:(NSString *)tableName from:(NSString *)sourceDB to: (NSString *)targetDB withContent:(BOOL)copyWithContent;
@@ -72,6 +74,7 @@
* @param sourceDB name of the source database
* @param targetDB name of the target database
* @param copyWithContent whether to copy the content too, otherwise only structure
+ *
* @return YES on success, NO on any kind of error (unspecified)
*
* This method is able to copy InnoDB tables with foreign key constraints.