Closed
Bug 257419
Opened 20 years ago
Closed 20 years ago
checksetup.pl should quote database name in "show table status" command
Categories
(Bugzilla :: Installation & Upgrading, defect)
Bugzilla
Installation & Upgrading
Tracking
()
RESOLVED
FIXED
Bugzilla 2.18
People
(Reporter: Wurblzap, Assigned: Wurblzap)
Details
Attachments
(1 file)
623 bytes,
patch
|
kiko
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.7) Gecko/20040707 Firefox/0.9.2 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.7) Gecko/20040707 Firefox/0.9.2 Database names with e.g. dashes will crash checksetup.pl otherwise. Reproducible: Always Steps to Reproduce:
Assignee | ||
Comment 1•20 years ago
|
||
Assignee | ||
Updated•20 years ago
|
Attachment #157402 -
Flags: review?
Comment 2•20 years ago
|
||
Comment on attachment 157402 [details] [diff] [review] Patch r=kiko if this works fine on any version of Perl and MySQL.
Attachment #157402 -
Flags: review? → review+
Assignee | ||
Comment 3•20 years ago
|
||
> r=kiko if this works fine on any version of Perl and MySQL.
Perl doesn't care, interpolation inside `"' is done on variables, but not on quotes.
MySQL introduced quoting on backticks in version 3.23.6, so we're fine here as
well with Bugzilla requiring 3.23.41.
Note, though, that `"' will also work to quote identifiers if you run in ANSI
mode (from MySQL docs).
Flags: approval?
Flags: approval2.18?
Updated•20 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: approval?
Flags: approval2.18?
Flags: approval2.18+
Flags: approval+
Updated•20 years ago
|
Assignee: zach → wurblzap
Target Milestone: --- → Bugzilla 2.18
Comment 4•20 years ago
|
||
Checking in checksetup.pl; /cvsroot/mozilla/webtools/bugzilla/checksetup.pl,v <-- checksetup.pl new revision: 1.301; previous revision: 1.300 done Checking in checksetup.pl; /cvsroot/mozilla/webtools/bugzilla/checksetup.pl,v <-- checksetup.pl new revision: 1.289.2.4; previous revision: 1.289.2.3 done
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Comment 5•20 years ago
|
||
Is 2.16.x affected by this also?
Comment 6•20 years ago
|
||
Does anyone know if we need this for 2.16 as well? (see comment #5)
Comment 7•20 years ago
|
||
I think that check was added post 2.16, wasn't it?
Updated•12 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•