diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-10-16 12:30:38 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-10-16 12:30:38 +0000 |
commit | 507d0089c6bb73a01129f1e356d1e88ca53afb55 (patch) | |
tree | 9b892fb51823de5e7381d70e2330392a418e0f06 /Source/CMCopyTable.m | |
parent | a57daba74182b3123c47b44996680efd399a471d (diff) | |
download | sequelpro-507d0089c6bb73a01129f1e356d1e88ca53afb55.tar.gz sequelpro-507d0089c6bb73a01129f1e356d1e88ca53afb55.tar.bz2 sequelpro-507d0089c6bb73a01129f1e356d1e88ca53afb55.zip |
• fixed three further typos for: objectForKey:@"NullValue"
• allow to enter the NULL value string even if the cell/field's maximal length is set to less then the actual NULL value string length (eg varchar(3) and NULL value string is @"NULL")
Diffstat (limited to 'Source/CMCopyTable.m')
-rw-r--r-- | Source/CMCopyTable.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CMCopyTable.m b/Source/CMCopyTable.m index 23bf7804..c0197c0e 100644 --- a/Source/CMCopyTable.m +++ b/Source/CMCopyTable.m @@ -133,7 +133,7 @@ int MENU_EDIT_COPY_AS_SQL = 2002; if ( nil != rowData ) { if ([rowData isNSNull]) - [result appendString:[NSString stringWithFormat:@"%@\t", [prefs objectForKey:@"nullValue"]]]; + [result appendString:[NSString stringWithFormat:@"%@\t", [prefs objectForKey:@"NullValue"]]]; else if ([rowData isSPNotLoaded]) [result appendString:[NSString stringWithFormat:@"%@\t", NSLocalizedString(@"(not loaded)", @"value shown for hidden blob and text fields")]]; else @@ -371,7 +371,7 @@ int MENU_EDIT_COPY_AS_SQL = 2002; if ( nil != rowData ) { if ([rowData isNSNull]) - [result appendString:[NSString stringWithFormat:@"%@\t", [prefs objectForKey:@"nullValue"]]]; + [result appendString:[NSString stringWithFormat:@"%@\t", [prefs objectForKey:@"NullValue"]]]; else if ([rowData isSPNotLoaded]) [result appendString:[NSString stringWithFormat:@"%@\t", NSLocalizedString(@"(not loaded)", @"value shown for hidden blob and text fields")]]; else |