diff options
author | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-05-25 15:42:43 +0000 |
---|---|---|
committer | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-05-25 15:42:43 +0000 |
commit | 9f88e2d9fe06f567d60caf950c2206781a676b41 (patch) | |
tree | a03fafcdc460894327be80280dc1e477fb1b6053 | |
parent | 11e50c810040208e2466ae9987d48e24008398b7 (diff) |
BUILD : 1.7.10 (814) BUGS : 381 NOTES : Removed a double extern definition of rdb_tag_table; Fixed mydbgen so it sends the pass and installs in the data dir
git-svn-id: svn://svn.anope.org/anope/trunk@814 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@567 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r-- | Changes | 2 | ||||
-rw-r--r-- | include/extern.h | 1 | ||||
-rw-r--r-- | src/Makefile | 2 | ||||
-rwxr-xr-x | src/bin/mydbgen | 18 | ||||
-rw-r--r-- | version.log | 6 |
5 files changed, 17 insertions, 12 deletions
@@ -1,6 +1,8 @@ Anope Version S V N -------------------- Provided by Anope Dev. <dev@anope.org> - 2005 +05/25 F Removed a double extern definition of rdb_tag_table. [#381] +05/25 F Fixed mydbgen so it sends the pass and installs in the data dir. [ #00] 05/25 F Not all nick options were displayed in listnicks. [#380] Anope Version 1.7.10 diff --git a/include/extern.h b/include/extern.h index a3929c85d..63ad4cb9b 100644 --- a/include/extern.h +++ b/include/extern.h @@ -498,7 +498,6 @@ E int rdb_init(); E int rdb_open(); E int rdb_close(); E int rdb_tag_table(char *table); -E int rdb_tag_table(char *table); E int rdb_clear_table(char *table); E int rdb_scrub_table(char *table, char *clause); E int rdb_direct_query(char *query); diff --git a/src/Makefile b/src/Makefile index 4627127c0..a467256fd 100644 --- a/src/Makefile +++ b/src/Makefile @@ -107,12 +107,12 @@ install: services test -d ${BINDEST} || mkdir ${BINDEST} $(INSTALL) services $(BINDEST)/services $(INSTALL) bin/anoperc $(BINDEST)/anoperc - $(INSTALL) bin/mydbgen $(BINDEST)/mydbgen rm -f $(BINDEST)/listnicks $(BINDEST)/listchans ln $(BINDEST)/services $(BINDEST)/listnicks ln $(BINDEST)/services $(BINDEST)/listchans (cd ../lang ; $(MAKE) install) $(CP) ../data/* $(DATDEST) + $(INSTALL) bin/mydbgen $(DATDEST)/mydbgen test -d $(DATDEST)/backups || mkdir $(DATDEST)/backups test -d $(DATDEST)/logs || mkdir $(DATDEST)/logs @if [ "$(MODULE_PATH)" ] ; then \ diff --git a/src/bin/mydbgen b/src/bin/mydbgen index d19042f56..e513a4917 100755 --- a/src/bin/mydbgen +++ b/src/bin/mydbgen @@ -88,16 +88,16 @@ while [ -z "$SQLDB" ] ; do fi done -MYSQLDUMP="mysqldump -h$SQLHOST -u$SQLUSER $SQLDB" -MYSQLSHOW="mysqlshow -h$SQLHOST -u$SQLUSER $SQLDB" -MYSQL="mysql -h$SQLHOST -u$SQLUSER $SQLDB" +MYSQLDUMP="mysqldump -h$SQLHOST -u$SQLUSER $SQLPASS_PREFIX$SQLPASS $SQLDB" +MYSQLSHOW="mysqlshow -h$SQLHOST -u$SQLUSER $SQLPASS_PREFIX$SQLPASS $SQLDB" +MYSQL="mysql -h$SQLHOST -u$SQLUSER $SQLPASS_PREFIX$SQLPASS $SQLDB" echo "" $MYSQLSHOW | grep -q $SQLDB if test "$?" = "1" ; then echo -n "Unable to find databse, creating... " - mysql -h$SQLHOST -u$SQLUSER -Bs -e "create database $SQLDB" >/dev/null 2>&1 + mysql -h$SQLHOST -u$SQLUSER $SQLPASS_PREFIX$SQLPASS -Bs -e "create database $SQLDB" >/dev/null 2>&1 if test "$?" = "0" ; then echo "done!" else @@ -122,7 +122,7 @@ else if test "$?" = "1" ; then echo -n "Unable to find Anope info table, creating... " echo "CREATE TABLE anope_info (version int, date datetime) TYPE=MyISAM" > $TFILE - mysql -h$SQLHOST -u$SQLUSER $SQLDB < $TFILE >/dev/null 2>&1 + mysql -h$SQLHOST -u$SQLUSER $SQLPASS_PREFIX$SQLPASS $SQLDB < $TFILE >/dev/null 2>&1 if test "$?" = "0" ; then echo "done!" @@ -142,7 +142,7 @@ else if test "$?" = "1" ; then echo -n "Unable to find anope_cs_info.memomax, altering... " echo "ALTER TABLE anope_cs_info ADD memomax smallint unsigned NOT NULL default 0" > $TFILE - mysql -h$SQLHOST -u$SQLUSER $SQLDB < $TFILE >/dev/null 2>&1 + mysql -h$SQLHOST -u$SQLUSER $SQLPASS_PREFIX$SQLPASS $SQLDB < $TFILE >/dev/null 2>&1 if test "$?" = "0" ; then echo "done!" @@ -157,7 +157,7 @@ else if test "$?" = "1" ; then echo -n "Unable to find anope_cs_info.ttb, altering... " echo "ALTER TABLE anope_cs_info ADD ttb smallint NOT NULL default 0" > $TFILE - mysql -h$SQLHOST -u$SQLUSER $SQLDB < $TFILE >/dev/null 2>&1 + mysql -h$SQLHOST -u$SQLUSER $SQLPASS_PREFIX$SQLPASS $SQLDB < $TFILE >/dev/null 2>&1 if test "$?" = "0" ; then echo "done!" @@ -170,12 +170,12 @@ else # Introduced on Anope 1.7.7 -> status smallint to inst unsigned. echo "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 $SQLDB < $TFILE >/dev/null 2>&1 + mysql -h$SQLHOST -u$SQLUSER $SQLPASS_PREFIX$SQLPASS $SQLDB < $TFILE >/dev/null 2>&1 # Introduced on Anope 1.7.8 (620) proxy scanner removed. echo "Removing proxy scanner cache... " echo "DROP TABLE IF EXISTS anope_os_cache" > $TFILE - mysql -h$SQLHOST -u$SQLUSER $SQLDB < $TFILE >/dev/null 2>&1 + mysql -h$SQLHOST -u$SQLUSER $SQLPASS_PREFIX$SQLPASS $SQLDB < $TFILE >/dev/null 2>&1 echo "done!" diff --git a/version.log b/version.log index fe875308b..1b90e830c 100644 --- a/version.log +++ b/version.log @@ -8,10 +8,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="10" -VERSION_BUILD="813" +VERSION_BUILD="814" # $Log$ # +# BUILD : 1.7.10 (814) +# BUGS : 381 +# NOTES : Removed a double extern definition of rdb_tag_table; Fixed mydbgen so it sends the pass and installs in the data dir +# # BUILD : 1.7.10 (813) # BUGS : 380 # NOTES : Fixed a bug with listnicks option displaying |