From: Jason Woofenden Date: Tue, 3 Jul 2018 00:46:24 +0000 (-0400) Subject: don't be stingy with mutex.name field length X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl.git;a=commitdiff_plain;h=90448b433585ec63832845ae50deb01b4124adc0 don't be stingy with mutex.name field length --- diff --git a/db.php b/db.php index fcf5328..2dccfbc 100644 --- a/db.php +++ b/db.php @@ -591,7 +591,7 @@ function db_upgrade() { } if ($version === -1) { - db_send_query('create table if not exists wfpl_mutexes (id int unique auto_increment, name varchar(30) binary, expires int(11)) CHARSET=utf8;'); + db_send_query('create table if not exists wfpl_mutexes (id int unique auto_increment, name varchar(255) binary, expires int(11)) CHARSET=utf8;'); $version = 0; # don't save version now in case another thread is doing this too }