diff options
author | stuconnolly <stuart02@gmail.com> | 2012-03-25 19:46:10 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2012-03-25 19:46:10 +0000 |
commit | 3045f727f246147a1733c5377a6c49007aea9a1f (patch) | |
tree | b8027d58ea1169a9d744038064af8262ccf2ae92 /Source/SPServerSupport.h | |
parent | e516badf6b875c27ce095c9987aaa4004b98844e (diff) | |
download | sequelpro-3045f727f246147a1733c5377a6c49007aea9a1f.tar.gz sequelpro-3045f727f246147a1733c5377a6c49007aea9a1f.tar.bz2 sequelpro-3045f727f246147a1733c5377a6c49007aea9a1f.zip |
Add support for renaming users on MySQL versions less than 5.0.2 by directly updating the mysql.user table. Fixes issue #1285.
Diffstat (limited to 'Source/SPServerSupport.h')
-rw-r--r-- | Source/SPServerSupport.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/SPServerSupport.h b/Source/SPServerSupport.h index fd4535a2..ee75af31 100644 --- a/Source/SPServerSupport.h +++ b/Source/SPServerSupport.h @@ -59,6 +59,7 @@ // User account related BOOL supportsCreateUser; + BOOL supportsRenameUser; BOOL supportsDropUser; BOOL supportsFullDropUser; BOOL supportsUserMaxVars; @@ -153,6 +154,11 @@ @property (readonly) BOOL supportsCreateUser; /** + * @property supportsRenameUser Indicates if the server supports the RENAME USER statement + */ +@property (readonly) BOOL supportsRenameUser; + +/** * @property supportsDropUser Indicates if the server supports the DROP USER statement */ @property (readonly) BOOL supportsDropUser; |