41 Commits

Author SHA1 Message Date
mkanat%bugzilla.org
c905c2d00b Bug 346410: Move enum-table population code into Bugzilla::DB
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=justdave


git-svn-id: svn://10.0.0.236/trunk@206049 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 11:50:02 +00:00
vladd%bugzilla.org
e78c444b13 Spelling in code comments patch: 'supprt' -> 'support'; patch by Vlad Dascalu <vladd@bugzilla.org>.
git-svn-id: svn://10.0.0.236/trunk@200296 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-19 15:00:46 +00:00
vladd%bugzilla.org
fb2b46207f Patch for bug 341374: fix checksetup failure when database exists with non-Bugzilla table; patch by Olav Vitters <bugzilla-mozilla@bkor.dhs.org>, r=mkanat, a=justdave.
git-svn-id: svn://10.0.0.236/trunk@200241 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-18 16:55:20 +00:00
uid623
b177d6e643 Patch for bug 329178: Remove old code specific to MySQL 3.x from DB::Mysql as we no longer support it; patch by Vlad Dascalu <vladd@bugzilla.org>, r=mkanat, a=myk.
git-svn-id: svn://10.0.0.236/trunk@199462 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-07 21:50:13 +00:00
mkanat%bugzilla.org
caa97304d7 Bug 302876: Database Version-Checking needs to be more modular and more generic
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=wicked, a=myk


git-svn-id: svn://10.0.0.236/trunk@198543 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-29 03:02:46 +00:00
mkanat%kerio.com
0793c6132b Bug 311047: populating enum tables fails without localconfig, when upgrading
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> and Nick Barnes <nb+bz@ravenbrook.com> r=mkanat, r=LpSolit, a=justdave


git-svn-id: svn://10.0.0.236/trunk@186723 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-29 22:28:52 +00:00
mkanat%kerio.com
8e385a7d61 Bug 307662: checksetup.pl fails at some line (Unknown column 'grant_type' or similar error) when upgrading from 2.18 or below to 2.20
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=justdave, a=justdave


git-svn-id: svn://10.0.0.236/trunk@186574 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-25 13:29:26 +00:00
lpsolit%gmail.com
bae71a6f1f Bug 316971: [PostgreSQL] ./collectstats.pl --regenerate fails - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=justdave
git-svn-id: svn://10.0.0.236/trunk@186507 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-23 02:01:54 +00:00
mkanat%kerio.com
68a0a4623b Back out bug 297187: see comment 20.
git-svn-id: svn://10.0.0.236/trunk@186230 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-18 20:01:13 +00:00
mkanat%kerio.com
cb9d454ae8 Bug 310325: Workaround MySQL bug incorrectly thinking a column contains NULL values
Patch By Olav Vitters <bugzilla-mozilla@bkor.dhs.org> r=mkanat, a=justdave


git-svn-id: svn://10.0.0.236/trunk@186224 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-18 18:55:02 +00:00
mkanat%kerio.com
ab1978b262 Bug 297187: checksetup.pl: primary key for groups exists. ( bit ) conflict with id as primary key
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=justdave


git-svn-id: svn://10.0.0.236/trunk@186222 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-18 18:51:12 +00:00
lpsolit%gmail.com
7c3f38ad5d Bug 301062: [PostgreSQL] whine.pl fails when using PostgreSQL 8.0.x - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat r=manu a=justdave
git-svn-id: svn://10.0.0.236/trunk@184543 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-13 17:36:21 +00:00
bugreport%peshkin.net
5a0dd650c2 Bug 307602: Smooth attach_data upgrade for sites with huge attachment tables
Patch by Joel Peshkin <bugreport@peshkin.net>
r=mkanat, a=justdave


git-svn-id: svn://10.0.0.236/trunk@181058 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-27 17:16:56 +00:00
mkanat%kerio.com
ba83c81354 Bug 305976: Allow Bugzilla::DB sql_regexp/sql_not_regexp methods to accept string and pattern as arguments
Patch By Lance Larsh <lance.larsh@oracle.com> r=joel, a=justdave


git-svn-id: svn://10.0.0.236/trunk@179385 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-31 08:00:25 +00:00
lpsolit%gmail.com
4fe5766722 Bug 301967: Some .pm files have invalid POD syntax - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wurblzap a=justdave
git-svn-id: svn://10.0.0.236/trunk@176610 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-26 14:09:48 +00:00
myk%mozilla.org
f22806935c Fix for bug 232612: enables boolean mode fulltext searches for better searching capabilities in the "Find a Specific Bug" page;
r=lpsolit


git-svn-id: svn://10.0.0.236/trunk@176119 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-15 02:05:10 +00:00
mkanat%kerio.com
32c9b1c6ec Bug 204217: require MySQL version 4.0+
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=joel, a=justdave


git-svn-id: svn://10.0.0.236/trunk@175929 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-11 22:07:24 +00:00
mkanat%kerio.com
595f9c7816 Bug 285695: [PostgreSQL] Username checks for login, etc. need to be case insensitive
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=justdave


git-svn-id: svn://10.0.0.236/trunk@175810 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-08 02:31:43 +00:00
lpsolit%gmail.com
a72649082b Bug 299212: "already locked" errors should be more informative - Patch by Frédéric Buclin <LpSolit@gmail.com> r=glob a=justdave
git-svn-id: svn://10.0.0.236/trunk@175785 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-07 21:15:20 +00:00
mkanat%kerio.com
5c30640687 Bug 293501: Add me to files where I belong and fix kerio.com emails
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=colin, a=myk


git-svn-id: svn://10.0.0.236/trunk@174620 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-15 03:55:00 +00:00
mkanat%kerio.com
d0eca55894 Bug 286672: Require correct DBD depending on the $db_driver in use
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=justdave


git-svn-id: svn://10.0.0.236/trunk@173795 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-26 20:09:22 +00:00
mkanat%kerio.com
debee7f620 Bug 290677: Index rename time estimate is too short on large sites
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=jouni, a=justdave


git-svn-id: svn://10.0.0.236/trunk@173493 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-16 23:45:27 +00:00
bugzilla%glob.com.au
fcf0fa1b8d Bug 292821: "Attempt to free unreferenced scalar" running checksetup
Patch By Byron Jones <bugzilla@glob.com.au> r=mkanat,r=vladd,a=justdave


git-svn-id: svn://10.0.0.236/trunk@173110 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-06 14:16:54 +00:00
mkanat%kerio.com
998c3fefb3 Bug 287986: Bugzilla::DB::Mysql needs a way to read in a Schema object from the disk
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=Tomas.Kopal, a=justdave


git-svn-id: svn://10.0.0.236/trunk@172639 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-23 02:11:51 +00:00
mkanat%kerio.com
ea25873583 Bug 285722: Updates From 2.18- to 2.20+ will not work
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=Tomas.Kopal, a=justdave


git-svn-id: svn://10.0.0.236/trunk@172638 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-23 02:09:23 +00:00
mkanat%kerio.com
dea0b13aee Bug 290277: Index renaming may fail if misnamed PRIMARY indexes exist
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=mkanat, a=justdave


git-svn-id: svn://10.0.0.236/trunk@172636 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-23 02:07:46 +00:00
mkanat%kerio.com
e9b40d0b91 Bug 290403: Slight cleanup of Bugzilla::DB index code
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=Tomas.Kopal, a=justdave


git-svn-id: svn://10.0.0.236/trunk@172364 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-17 07:24:13 +00:00
mkanat%kerio.com
e094d09bc7 Bug 290402: Functions to support reading-in a Schema object from the database
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=Tomas.Kopal, a=justdave


git-svn-id: svn://10.0.0.236/trunk@172363 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-17 07:22:42 +00:00
mkanat%kerio.com
e042ea782d Bug 78276: change name of "when" index on bugs_activity.bug_when column
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=myk, a=myk


git-svn-id: svn://10.0.0.236/trunk@172246 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-14 22:49:25 +00:00
mkanat%kerio.com
d327be85c6 Bug 289999: $bad_names hash in index-renaming code throws an "odd number of elements" warning
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=glob, a=myk


git-svn-id: svn://10.0.0.236/trunk@172245 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-14 22:42:22 +00:00
mkanat%kerio.com
ec51ed927a Bug 290089: Move timestamp updates to happen before any other Schema updates
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=Tomas.Kopal, a=justdave


git-svn-id: svn://10.0.0.236/trunk@172241 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-14 22:20:54 +00:00
mkanat%kerio.com
51579fcb4e Back out bug bug 290089, which causes checksetup to fail on a newly-created DB.
git-svn-id: svn://10.0.0.236/trunk@172115 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-14 08:35:45 +00:00
mkanat%kerio.com
e2145d3e16 Bug 290089: Move timestamp updates to happen before any other Schema updates
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=Tomas.Kopal, a=justdave


git-svn-id: svn://10.0.0.236/trunk@172114 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-14 07:11:27 +00:00
mkanat%kerio.com
41f5cf1db5 Bug 284850: checksetup should rename indexes to conform to the new standard
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=jouni, a=myk


git-svn-id: svn://10.0.0.236/trunk@171751 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 00:18:04 +00:00
mkanat%kerio.com
fda3b0dd8f Bug 174295: ANSI SQL requires all columns in SELECT to be in GROUP BY, unless they are in "aggregate" functions
Patch By Tomas Kopal <Tomas.Kopal@altap.cz> r=joel, a=myk


git-svn-id: svn://10.0.0.236/trunk@170751 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-16 00:27:15 +00:00
mkanat%kerio.com
c508074d16 Bug 285397: Untested parts of Bugzilla::DB are broken (when running on PostgreSQL)
Patch By Max Kanat-Alexander <mkanat@kerio.com> r=Tomas.Kopal, a=justdave


git-svn-id: svn://10.0.0.236/trunk@170505 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-10 07:59:50 +00:00
mkanat%kerio.com
546829f3ca Bug 284348: Move initial table creation into the Bugzilla::DB modules
Patch By Max Kanat-Alexander <mkanat@kerio.com> r=glob, r=Tomas.Kopal, a=justdave


git-svn-id: svn://10.0.0.236/trunk@170431 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-09 05:45:35 +00:00
mkanat%kerio.com
e0d71a3fe8 Bug 281582: Replace CONCAT and MATCH with Bugzilla::DB function call (Note: This patch also creates a database-agnostic fulltext search method.)
Patch By Tomas Kopal <Tomas.Kopal@altap.cz> r=mkanat, a=myk


git-svn-id: svn://10.0.0.236/trunk@170407 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-08 23:23:30 +00:00
mkanat%kerio.com
174b0b2d34 Bug 284598: INSTR function is not supported by postgres
Patch By Tomas Kopal <Tomas.Kopal@altap.cz> r=mkanat, a=justdave


git-svn-id: svn://10.0.0.236/trunk@170201 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-05 07:36:08 +00:00
mkanat%kerio.com
2943ee11e1 Bug 284172: checksetup cannot run CREATE DATABASE on PostgreSQL
Patch By Max Kanat-Alexander <mkanat@kerio.com> r=glob, a=justdave


git-svn-id: svn://10.0.0.236/trunk@170127 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-03 07:15:03 +00:00
mkanat%kerio.com
fb7b628754 Bug 237862: New database layer for cross-database compatibility
Patch By Tomas Kopal <Tomas.Kopal@altap.cz> r=mkanat, a=myk


git-svn-id: svn://10.0.0.236/trunk@169270 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-16 18:11:07 +00:00