summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorunknown <pem@mysql.com>2003-01-09 17:56:57 +0100
committerunknown <pem@mysql.com>2003-01-09 17:56:57 +0100
commitb09fe58c63a0ee2e68c82f18be452d844cdc642f (patch)
treed30f557e6920ffb8c9034d2cb484daff205a41ff /scripts
parentac2aea8c4a36175e844bbc884dfd5d38167cf181 (diff)
parenta3fe4223e89ea4e5857005181367faccf2c7bed6 (diff)
downloadmariadb-git-b09fe58c63a0ee2e68c82f18be452d844cdc642f.tar.gz
Merge
BitKeeper/etc/logging_ok: auto-union configure.in: Auto merged sql/Makefile.am: Auto merged sql/sql_class.cc: Auto merged sql/sql_class.h: Auto merged sql/sql_parse.cc: Auto merged sql/sql_yacc.yy: Auto merged sql/item.cc: SCCS merged sql/item.h: SCCS merged sql/lex.h: SCCS merged sql/sql_lex.cc: SCCS merged sql/sql_lex.h: SCCS merged
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mysql_install_db.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/mysql_install_db.sh b/scripts/mysql_install_db.sh
index 5e139dc652b..6029ac2518a 100644
--- a/scripts/mysql_install_db.sh
+++ b/scripts/mysql_install_db.sh
@@ -306,6 +306,18 @@ then
c_c="$c_c comment='Column privileges';"
fi
+if test ! -f $mdata/proc.frm
+then
+ echo "Preparing proc table"
+
+ c_p="$c_p CREATE TABLE proc ("
+ c_p="$c_p name char(64) binary DEFAULT '' NOT NULL,"
+ c_p="$c_p body blob DEFAULT '' NOT NULL,"
+ c_p="$c_p PRIMARY KEY (name)"
+ c_p="$c_p )"
+ c_p="$c_p comment='Stored Procedures';"
+fi
+
echo "Installing all prepared tables"
if (
cat << END_OF_DATA
@@ -324,6 +336,7 @@ $i_f
$c_t
$c_c
+$c_p
END_OF_DATA
cat fill_func_tables.sql
) | eval "$execdir/mysqld $defaults --bootstrap --skip-grant-tables \