From 3045f727f246147a1733c5377a6c49007aea9a1f Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Sun, 25 Mar 2012 19:46:10 +0000 Subject: Add support for renaming users on MySQL versions less than 5.0.2 by directly updating the mysql.user table. Fixes issue #1285. --- Source/SPServerSupport.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Source/SPServerSupport.h') 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; @@ -152,6 +153,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 */ -- cgit v1.2.3