/[packages]/updates/1/mysql/current/SOURCES/mariadb-5.5-check-dbname.patch
ViewVC logotype

Diff of /updates/1/mysql/current/SOURCES/mariadb-5.5-check-dbname.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 393847 by alien, Thu Nov 29 21:46:40 2012 UTC revision 393848 by alien, Thu Jan 31 22:13:59 2013 UTC
# Line 66  https://mariadb.atlassian.net/browse/MDE Line 66  https://mariadb.atlassian.net/browse/MDE
66   bool check_grant_db(THD *thd,const char *db)   bool check_grant_db(THD *thd,const char *db)
67   {   {
68     Security_context *sctx= thd->security_ctx;     Security_context *sctx= thd->security_ctx;
69  -  char helping [SAFE_NAME_LEN + USERNAME_LENGTH+2];  -  char helping [NAME_LEN+USERNAME_LENGTH+2];
70  +  char helping [SAFE_NAME_LEN + USERNAME_LENGTH+2], *end;  +  char helping [NAME_LEN+USERNAME_LENGTH+2], *end;
71     uint len;     uint len;
72     bool error= TRUE;     bool error= TRUE;
73    

Legend:
Removed from v.393847  
changed lines
  Added in v.393848

  ViewVC Help
Powered by ViewVC 1.1.30