summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordane dane@31f1291d-b8d6-0310-a050-a5561fc1590b <dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-01-13 20:59:47 +0000
committerdane dane@31f1291d-b8d6-0310-a050-a5561fc1590b <dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-01-13 20:59:47 +0000
commitdbcb6f050e687c13e436d200cd7100a1d548e947 (patch)
treeff0f7dc4da89df743e570298c7d84727121c2987 /src
parent30c7604d7f4ecb74259d8339ea8ec539fb9ab25e (diff)
BUILD : 1.7.7 (536) BUGS : none NOTES : Added mysql schema change to mydbgen and created Changes.mysql
git-svn-id: svn://svn.anope.org/anope/trunk@536 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@390 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rwxr-xr-xsrc/bin/mydbgen9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/bin/mydbgen b/src/bin/mydbgen
index dcff99407..25957a388 100755
--- a/src/bin/mydbgen
+++ b/src/bin/mydbgen
@@ -165,9 +165,18 @@ else
fi
fi
+ # Introduced on Anope 1.7.7 -> status smallint to inst unsigned.
+ echo -n "Blindly altering status for bigger capacity... "
+ echo "ALTER TABLE anope_ns_alias CHANGE status status int(11) unsigned NOT NULL default 0" > $TFILE
+ mysql -h$SQLHOST -u$SQLUSER -p$SQLPASS $SQLDB < $TFILE >/dev/null 2>&1
+ echo "done!"
+
+
fi
+echo ""
+
# Insert initial version number. This will have to be redesigned for 1.7
if [ $LVER -ne $SVER ]; then
echo -n "Inserting initial version number... "