summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BitKeeper/etc/logging_ok1
-rw-r--r--scripts/mysql_fix_privilege_tables.sql17
2 files changed, 18 insertions, 0 deletions
diff --git a/BitKeeper/etc/logging_ok b/BitKeeper/etc/logging_ok
index 2249dad7149..df738f87479 100644
--- a/BitKeeper/etc/logging_ok
+++ b/BitKeeper/etc/logging_ok
@@ -73,6 +73,7 @@ monty@donna.mysql.fi
monty@hundin.mysql.fi
monty@mashka.(none)
monty@mashka.mysql.fi
+monty@mishka.mysql.fi
monty@narttu.
monty@narttu.mysql.fi
monty@rescue.
diff --git a/scripts/mysql_fix_privilege_tables.sql b/scripts/mysql_fix_privilege_tables.sql
index 220bf4036db..4adc0655434 100644
--- a/scripts/mysql_fix_privilege_tables.sql
+++ b/scripts/mysql_fix_privilege_tables.sql
@@ -99,3 +99,20 @@ ADD Lock_tables_priv enum('N','Y') DEFAULT 'N' NOT NULL;
ALTER TABLE host
ADD Create_tmp_table_priv enum('N','Y') DEFAULT 'N' NOT NULL,
ADD Lock_tables_priv enum('N','Y') DEFAULT 'N' NOT NULL;
+
+#
+# Create proc table if it doesn't exists
+#
+
+CREATE TABLE IF NOT EXISTS proc (
+ name char(64) binary DEFAULT '' NOT NULL,
+ type enum('function','procedure') NOT NULL,
+ body blob DEFAULT '' NOT NULL,
+ creator char(77) binary DEFAULT '' NOT NULL,
+ modified timestamp,
+ created timestamp,
+ suid enum ('N', 'Y') DEFAULT 'Y' NOT NULL,
+ comment char(64) binary DEFAULT '' NOT NULL,
+ PRIMARY KEY (name,type)
+) comment='Stored Procedures';
+