removed MySQL < 5 code
This commit is contained in:
@@ -17,11 +17,6 @@ if (isset($plugin_list)) {
|
|||||||
if ($GLOBALS['cfg']['Import']['ldi_local_option'] == 'auto') {
|
if ($GLOBALS['cfg']['Import']['ldi_local_option'] == 'auto') {
|
||||||
$GLOBALS['cfg']['Import']['ldi_local_option'] = FALSE;
|
$GLOBALS['cfg']['Import']['ldi_local_option'] = FALSE;
|
||||||
|
|
||||||
if (PMA_MYSQL_INT_VERSION < 32349) {
|
|
||||||
$GLOBALS['cfg']['Import']['ldi_local_option'] = TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (PMA_MYSQL_INT_VERSION > 40003) {
|
|
||||||
$result = PMA_DBI_try_query('SHOW VARIABLES LIKE \'local\\_infile\';');
|
$result = PMA_DBI_try_query('SHOW VARIABLES LIKE \'local\\_infile\';');
|
||||||
if ($result != FALSE && PMA_DBI_num_rows($result) > 0) {
|
if ($result != FALSE && PMA_DBI_num_rows($result) > 0) {
|
||||||
$tmp = PMA_DBI_fetch_row($result);
|
$tmp = PMA_DBI_fetch_row($result);
|
||||||
@@ -32,7 +27,6 @@ if (isset($plugin_list)) {
|
|||||||
PMA_DBI_free_result($result);
|
PMA_DBI_free_result($result);
|
||||||
unset($result);
|
unset($result);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
$plugin_list['ldi'] = array(
|
$plugin_list['ldi'] = array(
|
||||||
'text' => 'strLDI',
|
'text' => 'strLDI',
|
||||||
'extension' => 'ldi', // This is nonsense, however we want to default to our parser for csv
|
'extension' => 'ldi', // This is nonsense, however we want to default to our parser for csv
|
||||||
|
Reference in New Issue
Block a user