This is a major oversight, i'm pretty sure we had this before, but i don't know how it got reverted / missed.

This patch is against D5, but will apply against DRUPAL-6--1 branch too.

CommentFileSizeAuthor
provision.missing.flush_.diff1.39 KBadrian

Comments

adrian’s picture

Committed and fixed in drupal-5 / drupal-6--1 branches.

found this while creating HEAD, so it's already updated.

adrian’s picture

Status: Needs review » Closed (won't fix)

This is not actually necessary, i reverted the patches

anarcat’s picture

A few references confirming that fact:

* http://drupal.org/node/137213
* http://dev.mysql.com/doc/refman/5.1/en/adding-users.html

The reason for using FLUSH PRIVILEGES when you create accounts with INSERT is to tell the server to re-read the grant tables. Otherwise, the changes go unnoticed until you restart the server. With GRANT, FLUSH PRIVILEGES is unnecessary.