summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes.mysql3
-rwxr-xr-xsrc/bin/mydbgen9
-rw-r--r--version.log6
3 files changed, 17 insertions, 1 deletions
diff --git a/Changes.mysql b/Changes.mysql
new file mode 100644
index 000000000..3e39cdcb4
--- /dev/null
+++ b/Changes.mysql
@@ -0,0 +1,3 @@
+Anope Version 1.7.7
+-------------------
+- ALTER TABLE anope_ns_alias CHANGE status status int(11) unsigned NOT NULL default '0'
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... "
diff --git a/version.log b/version.log
index 6a5866a1f..28a3a3b8c 100644
--- a/version.log
+++ b/version.log
@@ -8,10 +8,14 @@
VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="7"
-VERSION_BUILD="535"
+VERSION_BUILD="536"
# $Log$
#
+# BUILD : 1.7.7 (536)
+# BUGS : none
+# NOTES : Added mysql schema change to mydbgen and created Changes.mysql
+#
# BUILD : 1.7.7 (535)
# BUGS : N/A
# NOTES : Added +h halfop support for plexus - plexus is now fully supported according to ThaPrince (plexus coder) :)