removed MySQL < 5 code

This commit is contained in:
Sebastian Mendel
2007-10-02 08:49:19 +00:00
parent 8a3d582aaa
commit cb94302703

View File

@@ -17,11 +17,6 @@ if (isset($plugin_list)) {
if ($GLOBALS['cfg']['Import']['ldi_local_option'] == 'auto') {
$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\';');
if ($result != FALSE && PMA_DBI_num_rows($result) > 0) {
$tmp = PMA_DBI_fetch_row($result);
@@ -32,7 +27,6 @@ if (isset($plugin_list)) {
PMA_DBI_free_result($result);
unset($result);
}
}
$plugin_list['ldi'] = array(
'text' => 'strLDI',
'extension' => 'ldi', // This is nonsense, however we want to default to our parser for csv