[Libreoffice-commits] core.git: connectivity/source

Julien Nabet serval2412 at yahoo.fr
Thu Jan 30 07:09:36 PST 2014


 connectivity/source/drivers/mysql/YUsers.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2d01704330cbabb6d87609f3dbc3f2786bec41e4
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Dec 22 12:34:04 2013 +0100

    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 at collabora.com>
    Tested-by: Andrzej Hunt <andrzej.hunt at collabora.com>
    Tested-by: Lionel Elie Mamane <lionel at mamane.lu>
    Reviewed-by: Lionel Elie Mamane <lionel at mamane.lu>

diff --git a/connectivity/source/drivers/mysql/YUsers.cxx b/connectivity/source/drivers/mysql/YUsers.cxx
index a841819..f71549d 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);
 


More information about the Libreoffice-commits mailing list