diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-12-22 12:34:04 +0100 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2014-01-30 15:09:16 +0000 |
commit | 2d01704330cbabb6d87609f3dbc3f2786bec41e4 (patch) | |
tree | 15312717b2c3a1155895e90dc40985a29d8a1d96 /connectivity | |
parent | 1af6cf096ade2276b364aff8d465f8782f77db53 (diff) |
We want to drop the user here not revoke some rights
Change-Id: Ia31345d9e3cf8dce147402bc6c6592fd57bc88b9
Reviewed-on: https://gerrit.libreoffice.org/7178
Reviewed-by: Andrzej Hunt <andrzej.hunt@collabora.com>
Tested-by: Andrzej Hunt <andrzej.hunt@collabora.com>
Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/mysql/YUsers.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/mysql/YUsers.cxx b/connectivity/source/drivers/mysql/YUsers.cxx index a84181909cbc..f71549ddcf0e 100644 --- a/connectivity/source/drivers/mysql/YUsers.cxx +++ b/connectivity/source/drivers/mysql/YUsers.cxx @@ -93,7 +93,7 @@ sdbcx::ObjectType OUsers::appendObject( const OUString& _rForName, const Referen // XDrop void OUsers::dropObject(sal_Int32 /*_nPos*/,const OUString _sElementName) { - OUString aSql( "REVOKE ALL ON * FROM " ); + OUString aSql( "DROP USER " ); OUString aQuote = m_xConnection->getMetaData()->getIdentifierQuoteString( ); aSql += ::dbtools::quoteName(aQuote,_sElementName); |