Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4137032
MWMySQLPlatform.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
410 B
Referenced Files
None
Subscribers
None
MWMySQLPlatform.php
View Options
<?php
namespace
Wikimedia\Rdbms
;
use
Doctrine\DBAL\Platforms\MySQLPlatform
;
class
MWMySQLPlatform
extends
MySQLPlatform
{
/**
* @inheritDoc
*/
public
function
getFloatDeclarationSQL
(
array
$column
)
{
$double
=
$column
[
'doublePrecision'
]
??
false
;
$unsigned
=
$column
[
'unsigned'
]
??
false
;
$sql
=
$double
?
'DOUBLE PRECISION'
:
'FLOAT'
;
return
$sql
.
(
$unsigned
?
' UNSIGNED'
:
''
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, Aug 19, 13:58 (3 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
c6/35/3efead45570c1116fc0269d2efa3
Default Alt Text
MWMySQLPlatform.php (410 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment