Homec4science

Open database connection with 'w' instead of 'r' for writing

Authored by jungejason <jun.ge.jason@fb.com> on May 2 2011, 22:00.

Description

Open database connection with 'w' instead of 'r' for writing

Summary:
there are several places we open an 'r' connection but use it
for writing. Fix them.

Test Plan:
ran parse_one_commit.php against one revision which executes
the code with problem. It used to throw exception. Now it works fine.

Reviewed By: Girish
Reviewers: tuomaspelkonen, Girish
Commenters: aran
CC: aran, Girish
Differential Revision: 213

Details

Committed
jungejason <jun.ge.jason@fb.com>May 2 2011, 22:31
Pushed
aubortJan 31 2017, 17:16
Parents
rPH6bec3d2e4fc2: Simplify and demuddle MetaMTA send pathways
Branches
Unknown
Tags
Unknown

Event Timeline

jungejason <jun.ge.jason@fb.com> committed rPHc728e4f7dabf: Open database connection with 'w' instead of 'r' for writing (authored by jungejason <jun.ge.jason@fb.com>).May 2 2011, 22:31