Closed Bug 526256 Opened 15 years ago Closed 15 years ago

Prod Socorro DB execute SQL

Categories

(mozilla.org Graveyard :: Server Operations, task)

All
Other
task
Not set
critical

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ozten, Assigned: aravind)

Details

In order to fix Bug#526250 Can you execute the following query:
SELECT * FROM productdims pd
LEFT OUTER JOIN product_visibility ON product_visibility.productdims_id = pd.id
WHERE pd.product = 'Firefox' AND pd.version = '3.5.4';
Based on the output, I'll have a follow up query too. Thanks.
Assignee: server-ops → shyam
breakpad=> SELECT * FROM productdims pd
LEFT OUTER JOIN product_visibility ON product_visibility.productdims_id = pd.id
WHERE pd.product = 'Firefox' AND pd.version = '3.5.4';
 id  | product | version | branch | release | productdims_id | start_date | end_date | ignore 
-----+---------+---------+--------+---------+----------------+------------+----------+--------
 143 | Firefox | 3.5.4   | 1.9.1  | major   |                |            |          | 
(1 row)

Time: 2.966 ms
breakpad=>
Please execute

INSERT INTO product_visibility (productdims_id, start_date, end_date, ignore) VALUES
(143, '2009-10-27 00:00:00', '2009-12-27 00:00:00', false);
breakpad=# INSERT INTO product_visibility (productdims_id, start_date, end_date, ignore)
breakpad-# VALUES
breakpad-# (143, '2009-10-27 00:00:00', '2009-12-27 00:00:00', false);
INSERT 0 1

Done.
In the future, please do not update prod db without morgamics explicit approval.  This should have been run through staging first anyway.
Assignee: shyam → aravind
Please open a diff bug if there is more to be done.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
(In reply to comment #5)
My bad. Sorry.
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.