summaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB/Mysql.pm
AgeCommit message (Collapse)AuthorFilesLines
2010-04-27Bug 561322: Make Bugzilla::DB::_connect and related functions take theirMax Kanat-Alexander1-2/+5
parameters as a hashref, to improve the API and to avoid exposing the database password on error. r=mkanat, a=mkanat (module owner)
2010-04-20Bug 560284: Make all errors that checksetup.pl throws be redMax Kanat-Alexander1-2/+1
r=mkanat, a=mkanat (module owner)
2010-02-01Bug 538705: Assure that Bugzilla->dbh doesn't become invalid under MySQL ↵Max Kanat-Alexander1-2/+6
during long jobqueue.pl runs. Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat
2009-09-21Bug 516157: MySQL 6.x/5.2/5.4 uses "ENGINE", not "TYPE", for altering tables ↵mkanat%bugzilla.org1-1/+1
to InnoDB Patch by Gerard J. Cerchio <gjpc@circlesoft.com> r=mkanat, a=mkanat
2009-09-03Bug 513585: Don't trigger utf8 conversion just because there are VIEWs ↵justdave%bugzilla.org1-3/+4
present in the database. r=mkanat, a=mkanat
2009-08-18Bug 507969: Speed up checksetup for cases when it's doing nothingmkanat%bugzilla.org1-13/+12
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat
2009-08-07The original patch for bug 508186 actually broke utf-8 conversion--the ↵mkanat%bugzilla.org1-3/+7
tables were converted, but the columns were not. This fixes it.
2009-08-06Bug 508186: Speed up UTF-8 table conversion in checksetupmkanat%bugzilla.org1-32/+28
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat
2009-08-06Bug 508181: UTF-8 table conversion was failing when there were FKs on the ↵mkanat%bugzilla.org1-1/+9
column or on related columns Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat
2009-08-03Bug 508018: Speed up _fix_defaults for MySQL checksetup upgradesmkanat%bugzilla.org1-4/+22
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat
2009-03-02Bug 480001: MySQL 5.1.31 throws an error when you try to SET SESSION ↵mkanat%bugzilla.org1-14/+22
max_allowed_packet (and previous versions of MySQL were just ignoring the SET SESSION), so just warn people if their max_allowed_packet is too small Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
2008-12-24Bug 284184: Allow Bugzilla to use an asynchronous job queue for sending mail.mkanat%bugzilla.org1-1/+4
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> and Mark Smith <mark@plogs.net> r=glob, a=mkanat
2008-12-16Bug 469793: [MySQL] In MySQL 5, columns sometimes had defaults that have no ↵mkanat%bugzilla.org1-1/+47
defaults in the Schema Patch By Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat
2008-12-03Bug 463688: editusers.cgi no longer lets you search for users using regular ↵lpsolit%gmail.com1-4/+6
expressions - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat r=xiaoou a=LpSolit
2008-11-07Bug 463380: [Mysql] "Use of uninitialized value" when running checksetup.pl ↵lpsolit%gmail.com1-1/+3
for the very first time - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
2008-10-28Bug 141951: Set the max_packet_size for attachments (and bugs_fulltext) when ↵mkanat%bugzilla.org1-0/+18
connecting to MySQL Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat
2008-08-20A fix for bug 446645--make hyphens at the beginning of words still count as ↵mkanat%bugzilla.org1-3/+3
negation for fulltext searching in MySQL. Patch By Jesse Clark <jjclark1982@gmail.com> r=mkanat, a=mkanat
2008-08-13Bug 442882: Populating bugs_fulltext can be very slow on large installationsmkanat%bugzilla.org1-0/+9
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=mkanat
2008-08-07Bug 446645: Properly escape and understand hyphenated words in fulltext ↵mkanat%bugzilla.org1-2/+16
searches when using MySQL Patch By Jesse Clark <jjclark1982@gmail.com> r=mkanat, a=mkanat
2008-08-01Bug 440188: buglist.cgi should display EXPLAIN output when &debug=1mkanat%bugzilla.org1-0/+26
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat
2008-06-30Bug 327344: Create sql_iposition and use it in Search.pm to fix the fact ↵mkanat%bugzilla.org1-4/+5
that searching for Turkish characters didn't do case-insensitivity properly. Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat
2008-06-20Bug 157092 – Implement a checking mechanism for invalid regexpdkl%redhat.com1-2/+6
Patch by David Lawrence <dkl@redhat.com> - r/a=mkanat
2008-03-26Upgrades from 2.08 were failing because we tried to do bz_index_info_real on ↵mkanat%bugzilla.org1-1/+3
the longdescs table, which didn't exist.
2008-03-25Fix for Bug 399370: bugs_fulltext couldn't be converted to utf8, because it ↵mkanat%bugzilla.org1-2/+16
had fulltext indexes on it. Patch By Max Kanat-Alexander <mkanat@bugzilla.org> (module owner)
2008-03-25Bug 399370: Fulltext search with a LIKE on bugs.short_desc is too slow (make ↵mkanat%bugzilla.org1-4/+16
Bugzilla use a separate fulltext table) Patch By Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat
2008-02-14Bug 374951: Handle different strange situations in installations and ↵mkanat%bugzilla.org1-14/+50
upgrades that can leave you with a half-latin half-utf8 DB. Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat
2008-01-28Bug 121069: Remove $dbh->bz_(un)lock_tables from process_bug.cgi and ↵lpsolit%gmail.com1-38/+0
Error.pm in favor of DB transactions. These methods are no longer used and are completely removed now - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
2007-11-23Bug 363153: Turn on the utf8 bit on all strings in Bugzilla that containmkanat%bugzilla.org1-1/+3
non-ASCII data, if the utf8 parameter is on. This means that string functions like substr() work properly on multi-byte languages, now. Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=wurblzap, a=mkanat
2007-07-24Bug 383595 "allows to" isn't correcttimeless%mozdev.org1-4/+4
r=mkanat a=mkanat
2007-03-15Bug 374004: Enable transaction code and use it in some installation placesmkanat%bugzilla.org1-19/+10
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat
2007-03-11Bug 373511: InnoDB conversion can fail silentlymkanat%bugzilla.org1-0/+18
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat
2007-03-09Bug 373286: Versions from 2.17.4 - 2.23.2 can no longer upgrademkanat%bugzilla.org1-1/+19
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat
2007-03-09Bug 347475: [MySQL] Use InnoDB for most tablesmkanat%bugzilla.org1-4/+26
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat
2007-02-05Bug 364697: dataloss warning from UTF8 conversion is not precise/scary enoughmkanat%bugzilla.org1-1/+2
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat
2006-12-09Bug 361252: checksetup.pl should get confirmation from the user before ↵lpsolit%gmail.com1-3/+18
causing dataloss in UTF8 conversion - Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit a=myk
2006-11-20Bug 361140: Upgrades from versions with enums fail UTF-8 conversionmkanat%bugzilla.org1-1/+6
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=bkor, a=justdave
2006-11-20Bug 361158: UTF-8 conversion fails on MySQL 5 (attach_data.id; CHARACTER SET ↵mkanat%bugzilla.org1-1/+2
binary NOT NULL) Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=bkor, a=justdave
2006-11-19Bug 304550: Bugzilla should always store data in MySQL as UTF-8mkanat%bugzilla.org1-0/+86
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=justdave
2006-11-17Bug 321645: [MySQL 5] MySql Error on insert... "DBD::mysql::st execute ↵olav%bkor.dhs.org1-2/+4
failed: Field 'status_whiteboard' ".... Patch by Olav Vitters <olav@bkor.dhs.org> r=gavins a=justdave
2006-11-15Do commit-time fix: Add comment explaining the sql modes that are removedolav%bkor.dhs.org1-0/+3
2006-11-15Bug 321645: [MySQL 5] MySql Error on insert... "DBD::mysql::st execute ↵olav%bkor.dhs.org1-0/+12
failed: Field 'status_whiteboard' ".... Patch by Olav Vitters <olav@bkor.dhs.org> r=mkanat a=justdave
2006-07-29Bug 346410: Move enum-table population code into Bugzilla::DBmkanat%bugzilla.org1-2/+2
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=justdave
2006-06-20Spelling in code comments patch: 'supprt' -> 'support'; patch by Vlad ↵vladd%bugzilla.org1-1/+1
Dascalu <vladd@bugzilla.org>.
2006-06-19Patch for bug 341374: fix checksetup failure when database exists with ↵vladd%bugzilla.org1-4/+4
non-Bugzilla table; patch by Olav Vitters <bugzilla-mozilla@bkor.dhs.org>, r=mkanat, a=justdave.
2006-06-08Patch for bug 329178: Remove old code specific to MySQL 3.x from DB::Mysql ↵uid6231-14/+3
as we no longer support it; patch by Vlad Dascalu <vladd@bugzilla.org>, r=mkanat, a=myk.
2006-05-29Bug 302876: Database Version-Checking needs to be more modular and more genericmkanat%bugzilla.org1-5/+0
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=wicked, a=myk
2005-12-30Bug 311047: populating enum tables fails without localconfig, when upgradingmkanat%kerio.com1-0/+32
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> and Nick Barnes <nb+bz@ravenbrook.com> r=mkanat, r=LpSolit, a=justdave
2005-12-25Bug 307662: checksetup.pl fails at some line (Unknown column 'grant_type' or ↵mkanat%kerio.com1-0/+21
similar error) when upgrading from 2.18 or below to 2.20 Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=justdave, a=justdave
2005-12-23Bug 316971: [PostgreSQL] ./collectstats.pl --regenerate fails - Patch by ↵lpsolit%gmail.com1-0/+6
Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=justdave
2005-12-19Back out bug 297187: see comment 20.mkanat%kerio.com1-1/+0