diff options
author | Max <post@wickenrode.com> | 2015-03-12 02:21:19 +0100 |
---|---|---|
committer | Max <post@wickenrode.com> | 2015-03-12 02:21:19 +0100 |
commit | 6af24620e1126fe08e573ebf4dce93444ac140cb (patch) | |
tree | 4901c10c0b1e5bab63246a92090065cf5ce09e5c /Source/SPDatabaseAction.m | |
parent | 8cc66aa348870e6cdf086500515848b07ea5aa06 (diff) | |
download | sequelpro-6af24620e1126fe08e573ebf4dce93444ac140cb.tar.gz sequelpro-6af24620e1126fe08e573ebf4dce93444ac140cb.tar.bz2 sequelpro-6af24620e1126fe08e573ebf4dce93444ac140cb.zip |
Missed a special case in the previous commit
Diffstat (limited to 'Source/SPDatabaseAction.m')
-rw-r--r-- | Source/SPDatabaseAction.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/SPDatabaseAction.m b/Source/SPDatabaseAction.m index f5ed8b60..c7f5dbf9 100644 --- a/Source/SPDatabaseAction.m +++ b/Source/SPDatabaseAction.m @@ -71,9 +71,9 @@ if([encoding length]) { // [nil length] == 0 [query appendFormat:@" DEFAULT CHARACTER SET = %@",[encoding backtickQuotedString]]; - if([collation length]) { - [query appendFormat:@" DEFAULT COLLATE = %@",[collation backtickQuotedString]]; - } + } + if([collation length]) { + [query appendFormat:@" DEFAULT COLLATE = %@",[collation backtickQuotedString]]; } [connection queryString:query]; |