Fix TransformationsTest::testGetMime on Windows
Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
parent
6bf1309d12
commit
0c209702fa
@ -278,20 +278,20 @@ class Transformations
|
|||||||
} else {
|
} else {
|
||||||
$com_qry = "SELECT `column_name`, ";
|
$com_qry = "SELECT `column_name`, ";
|
||||||
}
|
}
|
||||||
$com_qry .= '`mimetype`,
|
$com_qry .= '`mimetype`, '
|
||||||
`transformation`,
|
. '`transformation`, '
|
||||||
`transformation_options`,
|
. '`transformation_options`, '
|
||||||
`input_transformation`,
|
. '`input_transformation`, '
|
||||||
`input_transformation_options`
|
. '`input_transformation_options`'
|
||||||
FROM ' . Util::backquote($cfgRelation['db']) . '.'
|
. ' FROM ' . Util::backquote($cfgRelation['db']) . '.'
|
||||||
. Util::backquote($cfgRelation['column_info']) . '
|
. Util::backquote($cfgRelation['column_info'])
|
||||||
WHERE `db_name` = \'' . $GLOBALS['dbi']->escapeString($db) . '\'
|
. ' WHERE `db_name` = \'' . $GLOBALS['dbi']->escapeString($db) . '\''
|
||||||
AND `table_name` = \'' . $GLOBALS['dbi']->escapeString($table) . '\'
|
. ' AND `table_name` = \'' . $GLOBALS['dbi']->escapeString($table) . '\''
|
||||||
AND ( `mimetype` != \'\'' . (! $strict ? '
|
. ' AND ( `mimetype` != \'\'' . (! $strict ?
|
||||||
OR `transformation` != \'\'
|
' OR `transformation` != \'\''
|
||||||
OR `transformation_options` != \'\'
|
. ' OR `transformation_options` != \'\''
|
||||||
OR `input_transformation` != \'\'
|
. ' OR `input_transformation` != \'\''
|
||||||
OR `input_transformation_options` != \'\'' : '') . ')';
|
. ' OR `input_transformation_options` != \'\'' : '') . ')';
|
||||||
$result = $GLOBALS['dbi']->fetchResult(
|
$result = $GLOBALS['dbi']->fetchResult(
|
||||||
$com_qry,
|
$com_qry,
|
||||||
'column_name',
|
'column_name',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user