summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2002-01-26 01:19:47 +0200
committermonty@hundin.mysql.fi <>2002-01-26 01:19:47 +0200
commitb9d3a55238c02baf8f4b088530e924934ecbf74c (patch)
tree5ccc31c365805428193f80c2e7fe45e9c87a8173 /scripts
parenta880ec9423313c5397135883fb0b4b17fc7022db (diff)
downloadmariadb-git-b9d3a55238c02baf8f4b088530e924934ecbf74c.tar.gz
Update needed for SuSE 7.3
Update for autoconf 2.52
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.am2
-rw-r--r--scripts/mysql_new_fix_privilege_tables.sh7
2 files changed, 5 insertions, 4 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 7ac554cda1d..1c3b8083347 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -76,7 +76,7 @@ CLEANFILES = @server_scripts@ \
SUPERCLEANFILES = mysqlbug
# We want the right version and configure comand line in mysqlbug
-mysqlbug: ${top_builddir}/config.status ${top_builddir}/config.cache mysqlbug.sh
+mysqlbug: ${top_builddir}/config.status mysqlbug.sh
SUFFIXES = .sh
diff --git a/scripts/mysql_new_fix_privilege_tables.sh b/scripts/mysql_new_fix_privilege_tables.sh
index 71c6de4ffd1..ce10ed0b412 100644
--- a/scripts/mysql_new_fix_privilege_tables.sh
+++ b/scripts/mysql_new_fix_privilege_tables.sh
@@ -17,8 +17,9 @@ echo ""
echo "If your tables are already up to date or partially up to date you will"
echo "get some warnings about 'Duplicated column name'. You can safely ignore these!"
+# Add fields that can be used to limit number of questions and connections
+# for some users.
+
@bindir@/mysql -f --user=root --password="$root_password" --host="$host" mysql <<END_OF_DATA
-alter table user add max_questions int(11) unsigned DEFAULT 0 NOT NULL;
-alter table user add max_updates int(11) unsigned DEFAULT 0 NOT NULL;
-alter table user add max_connections int(11) unsigned DEFAULT 0 NOT NULL;
+alter table user add max_questions int(11) NOT NULL, add max_updates int(11) unsigned NOT NULL, add max_connections int(11) unsigned NOT NULL;
END_OF_DATA