r81657 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r81656
|
r81657
|
r81658
>
Date:
23:21, 7 February 2011
Author:
reedy
Status:
ok
Tags:
Comment:
Per fixme on
r77597
, change to $this->addQuotes() instead of hardcoded quote type
Modified paths:
/trunk/phase3/includes/db/Database.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/db/Database.php
—
—
@@ -1625,7 +1625,7 @@
1626
1626
if ( !$alias || $alias == $name ) {
1627
1627
return $this->tableName( $name );
1628
1628
} else {
1629
- return $this->tableName( $name ) . ' `' . $alias . '`';
1629
+ return $this->tableName( $name ) . $this->addQuotes( $alias );
1630
1630
}
1631
1631
}
1632
1632
Follow-up revisions
Revision
Commit summary
Author
Date
r81698
1.17wmf1: MFT
r80837
,
r81612
,
r81615
,
r81657
,
r81674
,
r81689
catrope
08:21, 8 February 2011
r81755
Followup to
r81657
, you do need a space between the table name and the alias
overlordq
15:34, 8 February 2011
r81833
Fixup fixme on
r81030
, which should actually have been a fixme on
r81657
reedy
18:57, 9 February 2011
r81834
MFT
r81657
, and fixing revision
r81833
reedy
19:02, 9 February 2011
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r77597
Per Roans request, Merge in
r65475
(Database.php only) from querypage-work2 b...
reedy
19:39, 2 December 2010
Status & tagging log
08:41, 8 February 2011
Catrope
(
talk
|
contribs
)
changed the
tags
for r81657
[
removed:
1.17]
00:37, 8 February 2011
MarkAHershberger
(
talk
|
contribs
)
changed the
status
of r81657
[
removed:
new
added:
ok]
23:22, 7 February 2011
Reedy
(
talk
|
contribs
)
changed the
tags
for r81657
[
added:
1.17]