summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-12-12 22:08:35 +0000
committerDries Buytaert <dries@buytaert.net>2005-12-12 22:08:35 +0000
commitccb3fa0219643d98d08fdd26dddecfa2dbb5e3b5 (patch)
tree554de0eb1e6ab23f4901a8bea2dcc698beafa47d /scripts
parentde723ba8b5bdf292e757047b341f0759eae6f939 (diff)
downloadbrdo-ccb3fa0219643d98d08fdd26dddecfa2dbb5e3b5.tar.gz
brdo-ccb3fa0219643d98d08fdd26dddecfa2dbb5e3b5.tar.bz2
- Patch #39462 by Cvgbe:
1. fixed problem with long URLs being truncated (and causing errors) 2. added CREATE UNIQUE INDEX to prefix.sh 3. changed totalcount from int to bigint to prevent overflow 4. unifies index names, syncs with database.mysql Updated changelog.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/prefix.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/prefix.sh b/scripts/prefix.sh
index f33ff7b07..5c5bb1f71 100644
--- a/scripts/prefix.sh
+++ b/scripts/prefix.sh
@@ -22,5 +22,6 @@ sed "s/^CREATE TABLE /CREATE TABLE $PREFIX/;
s/^CREATE SEQUENCE /CREATE SEQUENCE $PREFIX/;
s/^ALTER SEQUENCE /ALTER SEQUENCE $PREFIX/;
s/^CREATE INDEX \(.*\) ON /CREATE INDEX $PREFIX\\1 ON $PREFIX/;
+ s/^CREATE UNIQUE INDEX \(.*\) ON /CREATE UNIQUE INDEX $PREFIX\\1 ON $PREFIX/;
" $2